eth0

Les Mikesell lesmikesell at gmail.com
Wed May 4 21:23:52 UTC 2005


On Wed, 2005-05-04 at 14:08, Rick Stevens wrote:
> > 
> > [root at advanced root]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
> > DEVICE=eth0
> > ONBOOT=yes
> > BOOTPROTO=static
> > IPADDR=203.208.228.*
> > NETMASK=255.255.255.0
> > GATEWAY=203.208.228.129
> 
> You shouldn't have that line in
> /etc/sysconfig/network-scripts/ifcfg-eth0.  It should be in
> /etc/sysconfig/network...right after the "HOSTNAME=" line.
> > 

That depends...  If you only have one possible gateway you should
have it in /etc/sysconfig/network.  If you have different interfaces
that could use different gateways you would want them in the
ifcfg-xxx files so that they become active/disabled along with the
matching interface.

-- 
  Les Mikesell
   les at futuresource.com





More information about the fedora-list mailing list