라우팅 테이블을 확인 

 


> netstat -rn 


Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface
-------------------- -------------------- ----- ----- ---------- ---------
default              192.168.111.2        UG        1          0
127.0.0.1            127.0.0.1            UH        2         90 lo0
192.168.111.0        192.168.111.201      U         3        523 net0

Routing Table: IPv6
  Destination/Mask            Gateway                   Flags Ref   Use    If
--------------------------- --------------------------- ----- --- ------- -----
::1                         ::1                         UH      2      28 lo0
fe80::/10                   fe80::20c:29ff:fe42:e21e    U       2       0 net0

 


Flags

U : UP 

G : gateway 





라우팅 테이블 삭제 

 


> route delete 목적지네트워크 목적지게이트웨이 

 


> route delete default 192.168.111.2




라우팅 테이블 추가 

 


> route add 목적지네트워크 목적지게이트웨이 

 


> route add default 192.168.111.2




네트워크 카드 확인

> grep e1000 /etc/path_to_inst 

"/pci@0,0/pci15ad,790@11/pci15ad,750@0" 0 "e1000g"

블로그 이미지

나무뚱이

,