Re: eth0

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

 



On Wed, 2005-05-04 at 16:33, 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.
> 
> True, but the problem is that the ones in ifcfg-ethx are specific to
> the subnet that the interface is on...they don't become the _default_
> gateway, which is why his stuff wasn't working.

They should be a default gateway as long as that interface is up.

-- 
  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