[CentOS] Simple routing question

James B. Byrne byrnejb at harte-lyne.ca
Tue Sep 4 20:55:14 UTC 2012


per: Nicolas Thierry-Mieg Nicolas.Thierry-Mieg at imag.fr
Tue Sep 4 16:42:57 EDT 2012

> could you show the result of the route command on host C?

[root at gway01 ~]# ip route
216.185.64.52/30 dev eth0  proto kernel  scope link  src 216.185.64.54
10.0.0.0/24 dev eth1  proto kernel  scope link  src 10.0.0.1
172.16.0.0/24 dev eth1  proto kernel  scope link  src 172.16.0.1
169.254.0.0/24 dev eth1  proto kernel  scope link  src 169.254.0.1
192.168.0.0/24 dev eth1  proto kernel  scope link  src 192.168.0.1
192.0.0.0/24 dev eth1  proto kernel  scope link  src 192.0.0.1
216.185.71.0/24 dev eth1  proto kernel  scope link  src 216.185.71.1
169.254.0.0/16 dev eth0  scope link  metric 1002
169.254.0.0/16 dev eth1  scope link  metric 1003
default via 216.185.64.53 dev eth0


192.168.0.0/24 dev eth1  proto kernel  scope link  src 192.168.0.1 is
wrong I think, but I cannot figure out what in the configuration file
is causing it.

# cat /etc/sysconfig/networking/devices/ifcfg-eth1:192
BOOTPROTO=none
NAME=""
MACADDR=""
IPV6INIT=no
DEVICE=eth1:192
MTU=""
NETMASK=255.255.0.0
ONPARENT=yes
BROADCAST=192.168.255.255
IPADDR=192.168.0.1
NETWORK=192.168.0.0
ONBOOT=yes

-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3




More information about the CentOS mailing list