DEVICE=eth0
NM_CONTROLLED=yes
ONBOOT=yes
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes (디폴트 라우트 옵션을 yes로 수정)
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
IPADDR=14.**.**.**
PREFIX=27
GATEWAY=14.**.**.**
DNS1=168.126.63.1
NETMASK=255.255.255.224
USERCTL=no
HWADDR=E4:11:5B:0D:C4:E0
==========================================================================
DEFROUTE=yes
[root@www ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
14.**.**.** * 255.255.255.224 U 0 0 0 eth0
link-local * 255.255.0.0 U 1002 0 0 eth0
default 14.**.**.** 0.0.0.0 UG 0 0 0 eth0
===========================================================================
DEFROUTE=no
[root@www ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
14.**.**.** * 255.255.255.224 U 0 0 0 eth0
link-local * 255.255.0.0 U 1002 0 0 eth0
============================================================================
DEFROUTE 옵션이 no일 경우 GW까지는 ping이 나가지만 외부로는 ping이 나가지 않
'2012/03'에 해당되는 글 1건
- 2012/03/13 LetMeLove Centos6 에서 외부로 라우팅이 안될경우



댓글을 달아 주세요
댓글 RSS 주소 : http://letmelove.net/blog/rss/comment/109