[CentOS] adding static route via network setup fails

Kai Schaetzl maillists at conactive.com
Tue Apr 28 20:52:41 UTC 2009


Robert Moskowitz wrote on Tue, 28 Apr 2009 15:25:00 -0400:

> Assume 192.168.2.3 is reachable via eth0 (eg eth0's IP is 192.168.2.2).  
> Make the file /etc/sysconfig/network-scripts/route-eth0:
> 
> NETMASK0=255.255.255.224
> ADDRESS0=192.168.2.0
> GATEWAY0=192.168.2.3

eth0 does not have an IP no., it is a bridge. xenbr1 has the IP.
Now look back in my mail :-) I used your exact syntax, but for route-xenbr.

Just to make sure I used route-eth0 and it's not even carried out. Which 
makes sense, it's not an inet device.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com





More information about the CentOS mailing list