Re: Dual NICs, Routing Problem



On 27 Dec 2005, in the Usenet newsgroup alt.os.linux.suse, in article
<1135720510.901593.264060@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, Tom Kersten wrote:

>eth0 Link encap:Ethernet HWaddr 00:14:22:17:AB:C9
> inet addr:192.1.36.11 Bcast:192.1.36.255 Mask:255.255.255.0

Do you have permission from BBN Communications to be using these
addresses?

>eth1 Link encap:Ethernet HWaddr 00:14:22:17:AB:CA
> inet addr:192.1.34.205 Bcast:192.1.34.255 Mask:255.255.255.0

Same

># routing table
># route -n
>Kernel IP routing table
>Destination Gateway Genmask Flags Metric Ref Use Iface
>192.1.36.0 192.1.36.1 255.255.255.0 UG 0 0 0 eth0

Wrong. 192.1.36.0 is directly attached to eth0 - no gateway needed.

192.1.36.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

Note that there can not be TWO gateways to the world, unless you are using
>192.1.34.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
>169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0

Windoze compatibility "LinkLocal" aslo called "ZeroConf". Not needed, but
shouldn't be hurting anything.

>127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
>0.0.0.0 192.1.34.254 0.0.0.0 UG 0 0 0 eth1

You are saying that the way to the _world_ is via 192.1.34.254. If that's
not the case, you shouldn't have this entry, replacing it with specific
network routes that you can reach via that gateway.

>Let me know if there are any others you'd be interested in.

Do all the hosts on 192.1.36.0 know that if they want to talk to any host on
192.1.34.0, they have to send the packets to the gateway at 192.1.36.11?
Do all the hosts on 192.1.34.0 know that if they want to talk to any host on
192.1.36.0, they have to send the packets to the gateway at 192.1.34.205?

If so, run 'tcpdump' on this host, and see what traffic is going where.

Old guy
.



Relevant Pages

  • 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)
  • Re: AIX 1.3 Failures and Fables
    ... I don't know if 1.3 has SMIT or its equivalent but there should be some way to add a default gateway which is your router. ... is: route add 1.2.3.4 gateway ... Manually manipulates the routing tables. ... Is the destination host or network. ...
    (comp.sys.ibm.ps2.hardware)
  • Re: AIX 1.3 Failures and Fables
    ... I don't know if 1.3 has SMIT or its equivalent but there should be some way to add a default gateway which is your router. ... 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)
  • Re: Getting "ICMP Host redirect from gateway" response
    ... I tried and succeeded in getting a REDIRECT response, ... I added a route with 192.168.0.10 as a gateway to a local host ...
    (comp.os.linux.networking)
  • Re: Add route batch file
    ... indivudual host instead of a router) indicates a possible design issue. ... Routing should be done only at the LAN's router,...individual hosts should ... > My office needs a persistant route added to the routing table on all the> workstations. ...
    (microsoft.public.win2000.networking)