Re: eth0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2005-05-04 at 14:08, Rick Stevens wrote:
> > 
> > [root@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@xxxxxxxxxxxxxxxx



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux