Re: Network Setup

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

 



On Mon, 2004-02-09 at 08:32, Alexander Dalloz wrote:
> Am Mo, den 09.02.2004 schrieb Bill Spears um 16:39:
> > On a new install, on a laptop, when trying to use the red hat network 
> > configuration tool, I get the error, "Static routes file eth0 is
> > invalid."  It turned out that IP addr. was ok, but netmask, broadcast
> > and gateway were wrong.  I munged around in network and network-scripts
> > (/etc/sysconfig) and got it to the point where if I restart network
> > services, everything except gateway is ok. It comes up with 0.0.0.0,
> > which is not very useful. I can fix it with "route", but I'd like it to
> > work correctly.
> > 
> > I don't know if this matters or is even unusual, but when the system is
> > booting, it fails to bring up eth0 and states that it will bring it up
> > later.  eth0 is being brought up.
> > 
> > Is there some particular file known as "the static routes file"?
> > Ideas?
> 
> What is the content of following files:
> 
> a) /etc/sysconfig/network
> b) /etc/sysconfig/network-scripts/ifcfg-eth0
> c) /etc/sysconfig/network-scripts/route-eth0 (if you have such a file)
> 
> Alexander
> 
> 
> -- 
> Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
> Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2149.nptl
> Sirendipity 17:29:58 up 20:12, 7 users, 1.22, 1.28, 1.20 
>                    [ ÎÎÏÎÎ Ï'ÎÏÏÎÎ - gnothi seauton ]

Alexander, here is the information you requested:


/etc/sysconfig/network:

NETWORKING=4=yes
HOSTNAME=mercury.spears.org
GATEWAY="10.0.1.4"
GATEWAYDEV=eth0
FORWARD_IPV=yes


/etc/sysconfig/network-scripts/ifcfg-eth0:

DEVICE=eth0
BOOTPROTO=none
BROADCAST=10.0.1.255
IPADDR=10.0.1.16
NETMASK=255.255.255.0
NETWORK=10.0.1.1
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=yes
GATEWAY=10.0.1.4
HWADDR=00:80:c7:99:be:8c


/etc/sysconfig/nework-scripts/route-eth0:
GATEWAY0=10.0.1.4
NETMASK0=255.255.255.0






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

  Powered by Linux