Re: FC9 and default GW
- From: General Schvantzkoph <schvantzkoph@xxxxxxxxx>
- Date: 27 Nov 2008 14:25:59 GMT
On Thu, 27 Nov 2008 15:01:33 +0100, Jørn Dahl-Stamnes wrote:
Hi,
just finnished installing Fedora Core 9. The machine is connected to a
LAN with IP 192.168.2.30 and GW 192.168.2.1. But after boot the machine
has no default GW.
a 'route -n' say:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
I have to do a 'route add default gw 192.168.2.1' after boot.
I have some other machines with FC4 and I have never had any problems
with default gateway.
How can I tell this machine which default gw to use at boot without
having to add a script with the route add command?
/etc/sysconfig/network:
NETWORKING=yes
HOSTNAME=obi-wan.mydomain.net
GATEWAY=192.168.2.1
IPV6_DEFAULTGW=
and /etc/sysconfig/network-scripts/ifcfg-eth0: DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.2.255
HWADDR=00:1f:c6:be:4b:c3
IPADDR=192.168.2.30
IPV6INIT=yes
IPV6_AUTOCONF=yes
NETMASK=255.255.255.0
NETWORK=192.168.2.0
ONBOOT=yes
DNS1=192.168.2.22
SEARCH="mydomain.net"
NM_CONTROLLED=
Try disabling NetworkManager. Early on in F9 NetworkManger was screwing
up when you used static IPs, I would have thought that it would be fixed
by now but maybe it hasn't been. I disabled it on all of my systems so I
don't know if the bug has been fixed or not.
.
- Follow-Ups:
- Re: FC9 and default GW
- From: Jørn Dahl-Stamnes
- Re: FC9 and default GW
- From: Jørn Dahl-Stamnes
- Re: FC9 and default GW
- References:
- FC9 and default GW
- From: Jørn Dahl-Stamnes
- FC9 and default GW
- Prev by Date: FC9 and default GW
- Next by Date: Re: FC9 and default GW
- Previous by thread: FC9 and default GW
- Next by thread: Re: FC9 and default GW
- Index(es):
Relevant Pages
|