랜카드 두개 장착시 default route 셋팅 > LINUX 게시판

본문 바로가기

사이트 내 전체검색

LINUX 게시판

랜카드 두개 장착시 default route 셋팅

작성일 19-03-29 14:52

페이지 정보

작성자 최고관리자 조회 11,117회 댓글 0건

본문

랜카드 두개 장착시 default route 셋팅
@hiya:/home# route  로 상태확인
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 eth2
111.111.111.0    *               255.255.255.0   U     0      0        0 eth0
default         111.111.111.111  0.0.0.0         UG    100    0        0 eth0
default         192.168.0.1  0.0.0.0         UG    100    0        0 eth2

고정아이피로만 외부 패킷 사용하게 셋팅
@hiya:/home# route del default gw 192.168.0.1 eth2

댓글목록

등록된 댓글이 없습니다.

Copyright © https://www.hiya.co.kr. All rights reserved.
PC 버전으로 보기