Re: Routing and ARP Problem - HELP

From: Tauno Voipio (tauno.voipio_at_iki.fi.NOSPAM.invalid)
Date: 03/07/05


Date: Mon, 07 Mar 2005 19:34:53 GMT

Adem Sen wrote:

--- clip clip ---

> Thanks, here is "route -n":
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 10.72.0.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0
> 10.72.0.0 0.0.0.0 255.255.248.0 U 0 0 0 eth1
> 10.72.0.0 0.0.0.0 255.255.248.0 U 0 0 0 eth2
> 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
> 0.0.0.0 10.72.0.254 0.0.0.0 UG 0 0 0 eth0

You have conflicting instructions for routing the network 10.72.0.0/21
(10.72.0.0 to 10.72.7.255): you require it to go via eth0, eth1 and
eth2. The poor router cannot decide.

> And here is "ifconfig -a":
>
> eth0 Link encap:Ethernet HWaddr 00:11:85:C4:06:0B
> inet addr:10.72.0.135 Bcast:10.72.0.255 Mask:255.255.248.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:5769901 errors:0 dropped:0 overruns:0 frame:0
> TX packets:5329748 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:923114800 (880.3 Mb) TX bytes:604379903 (576.3 Mb)
> Interrupt:5
>
> eth1 Link encap:Ethernet HWaddr 00:11:85:C4:06:0A
> inet addr:10.72.0.136 Bcast:10.72.0.255 Mask:255.255.248.0
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Interrupt:5
>
> eth2 Link encap:Ethernet HWaddr 00:04:23:B1:89:C8
> inet addr:10.72.0.137 Bcast:10.72.0.255 Mask:255.255.248.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:354741 errors:0 dropped:0 overruns:0 frame:0
> TX packets:1017 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:23276340 (22.1 Mb) TX bytes:65088 (63.5 Kb)
> Base address:0x5000 Memory:fdee0000-fdf00000
>
> eth3 Link encap:Ethernet HWaddr 00:04:23:B1:89:C9
> inet addr:10.72.0.138 Bcast:10.72.0.255 Mask:255.255.255.255
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Base address:0x5040 Memory:fdec0000-fdee0000
>
> eth4 Link encap:Ethernet HWaddr 00:04:23:B1:89:CA
> inet addr:10.72.0.139 Bcast:10.72.0.255 Mask:255.255.255.255
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Base address:0x5080 Memory:fdea0000-fdec0000
>
> eth5 Link encap:Ethernet HWaddr 00:04:23:B1:89:CB
> inet addr:10.72.0.140 Bcast:10.72.0.255 Mask:255.255.255.255
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Base address:0x50c0 Memory:fde80000-fdea0000
>
> eth6 Link encap:Ethernet HWaddr 00:04:23:B1:8A:24
> inet addr:10.72.0.141 Bcast:10.72.0.255 Mask:255.255.255.255
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Base address:0x6000 Memory:fdfe0000-fe000000
>
> eth7 Link encap:Ethernet HWaddr 00:04:23:B1:8A:25
> inet addr:10.72.0.142 Bcast:10.72.0.255 Mask:255.255.255.255
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Base address:0x6040 Memory:fdfc0000-fdfe0000
>
> eth8 Link encap:Ethernet HWaddr 00:04:23:B1:8A:26
> inet addr:10.72.0.143 Bcast:10.72.0.255 Mask:255.255.255.255
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Base address:0x6080 Memory:fdfa0000-fdfc0000
>
> eth9 Link encap:Ethernet HWaddr 00:04:23:B1:8A:27
> inet addr:10.72.0.144 Bcast:10.72.0.255 Mask:255.255.255.255
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Base address:0x60c0 Memory:fdf80000-fdfa0000
>
--- some clipped ---

You have all the interfaces in the same subnet. It will not work
without special route handling (dee Adv-Routing-HOWTO in LDP).

To work in a normal routing environment, see that the subnets
(seen under netmask) of the different interfaces do not overlap.

What are you trying to achieve?

If you want to replace a switch/hub with the multiple interfaces,
you should build a bridge interface of them, and assign the
subnet, netmask and route to it.

HTH

-- 
Tauno Voipio
tauno voipio (at) iki fi


Relevant Pages

  • Re: Routing Problem
    ... Subject: Routing Problem ... each with a different subnet. ... it should use the second default gateway. ... > routers configured on multiple interfaces connected to two or more ...
    (freebsd-questions)
  • Re: routing woes
    ... So you have two interfaces that are on the same subnet?? ... Plays havoc with routing and would ... >> boxes while running tcpdump. ...
    (comp.os.linux.networking)
  • Re: 3 NICs - 1 upstream, 2 downstream to same subnet??
    ... >> the same subnet. ... The routing table needs interfaces to be unique so ... And that FreeBSD could be configured as a router. ... A normal router, ie one using the standard routing table semantics, ...
    (freebsd-net)
  • Re: Ruting via virtual interfaces ????
    ... always chooses the first route in the routing table. ... > Additionaly there are cnfigured two virtual interfaces with addresses ... > When communicating with the same subnet, ... > How to make the Solaris to route over virtual interfaces ??? ...
    (comp.unix.solaris)
  • Re: what is wrong with this network settings?
    ... When all of your interfaces are in the same subnet, ... iproute2 and procedures from the Advanced Routing Howto. ... > can you ping the IP address bound to eth2? ...
    (comp.os.linux.networking)