Vreme: 12/17/2011 05:43 AM, Mike Burger pie:
Hi, Matt.
Sorry for the top post, but my iPad mail client seems averse to allowing me to bottom post.
Just wanted to take a moment to note that I believe you've got things a little bit reversed.
The use Of the route-ethX files and the "ip" command are the "newer" method. Setting the NETMASK and ADDRESS in the ifcfg-ethX files has always been and continues to be the norm. Having the GATEWAY field in either the ifcfg-ethX files or in /etc/sysconofig/network is the older way of setting the default route.
You're right, though...it was certainly less flexible. ;-)
On Dec 15, 2011, at 12:54 PM, Matt Garmanmatthew.garman@gmail.com wrote:
No, you got it wrong,
he was talking about that route-ethX, not ifcfg-ethX, supports NETMASK, ADDRESS, GATEWAY (in separate lines) format. I used it from 2006. You can add as much routes that way as you please:
NETMASK0= ADDRESS0= GATEWAY0=
NETMASK1= ADDRESS1= GATEWAY1=
NETMASK2= ADDRESS2= GATEWAY2=
Aaahhh...yes, you're right...I did miss that point. Thanks for setting me straight. :-)