Re: default gateway is not showing up even though it is configured



zhe@xxxxxxxxxxxxxx writes:


Hi,

I just installed a linux box with two embeded intel 1000/CT nic cards,

No. You installed some specific version of Linux. Which was it.

I first enabled DHCP and everything looks fine. then I moved it into
If you are going to assign static IPs why in the world do you enable dhcp?

lab and I have to change to static IP configuration. I assigned static
IP and default gateway on one of the nic and staic IP only on another

Yes, a computer can have only one default route.


nic card. Then I can ping through hosts in these two subnets. but if I
want to cross these two subnets, it will fail. after I further

No idea what you mean? If your computer is supposed to be the gateway, you
need to set it up as such. Tell us what you want to do in more detail.

troubleshooting, I found the default gateway config is not taking
effect even though it is in the config file located at
/etc/sysconfiguration/networking/devices/ifcfg_eth0. Also, if I ust

What is the output of
route -n

route add default gateway x.x.x.x dev eth0, it will say it is already
in the config file. anyone knows what is going on here?

No idea what this is talking about. That error message is NOT an error
message from route. Please quote error messages EXACTLY, via cut and paste
prefereably.




.



Relevant Pages

  • Re: default gateway is not showing up even though it is configured
    ... have to use static IP because of our lab gateway does not enable dhcp. ... You installed some specific version of Linux. ... a computer can have only one default route. ... That error message is NOT an error ...
    (comp.os.linux.networking)
  • Re: default gateway is not showing up even though it is configured
    ... There is nothing about a nic driver that demands the use of DHCP. ... IP and default gateway on one of the nic and staic IP only on another ... a computer can have only one default route. ... That error message is NOT an error ...
    (comp.os.linux.networking)
  • Re: VPN and remote gateway
    ... > It seems you use the wrong route add command. ... > when the VPN connection is established. ... > | using the remote network as my gateway. ...
    (microsoft.public.windows.server.sbs)
  • Re: Persistent Route ignored on W2K when destination network is unavailable
    ... a global setting like the gateway to a particular subnet should be set ... this network access the internet via a NAT firewall (connected to ... via a WAN link. ... route on the Cisco firewall so that any traffic to the internet gets ...
    (microsoft.public.win2000.networking)
  • Re: AIX 1.3 Failures and Fables
    ... DESTINATION GATEWAY FLGS REFCNT USE INTERFACE ... Is my interpretation of the AIX 1.3 #man route correct? ... Manually manipulates the routing tables. ... Is the destination host or network. ...
    (comp.sys.ibm.ps2.hardware)