Re: eth0

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

 



Les Mikesell wrote:
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.

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. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens@xxxxxxxxxxxxxxx - - VitalStream, Inc. http://www.vitalstream.com - - - - Consciousness: that annoying time between naps. - ----------------------------------------------------------------------


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

  Powered by Linux