FC9 and default GW
- From: Jørn Dahl-Stamnes <newsmanDELETE@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 27 Nov 2008 15:01:33 +0100
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=
--
Jørn Dahl-Stamnes
http://www.dahl-stamnes.net/dahls/
.
- Follow-Ups:
- Re: FC9 and default GW
- From: Gang Greene
- Re: FC9 and default GW
- From: General Schvantzkoph
- Re: FC9 and default GW
- Prev by Date: Re: FIN_WAIT2 not working
- Next by Date: Re: FC9 and default GW
- Previous by thread: difference between Repeater,hub,bridge, switch,router and gateway
- Next by thread: Re: FC9 and default GW
- Index(es):
Relevant Pages
|