Hi,

The CONFIG_IP_ROUTE_MULTIPATH option does not seem to work in kernel 2.2.12.
I set the same IP address (172.31.20.254) on both interfaces (eth1 & eth1).
My routing table is:
[root@ggkfw /root]# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
172.31.20.254   0.0.0.0         255.255.255.255 UH        0 0          0 eth1
172.31.20.254   0.0.0.0         255.255.255.255 UH        0 0          0 eth0
172.31.20.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
172.31.20.0     0.0.0.0         255.255.255.0   U         0 0          0 eth1
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         172.31.20.230   0.0.0.0         UG        0 0          0 eth0

However packets sent to machines on the 172.31.20.0/24 subnet all went
through the eth0 interface. According to the interface statistics:
Iface   MTU Met    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0   1500   0      542      0      0      0      289      0      0      0 BRU
eth1   1500   0      102      0      0      0        0      0      0      0 BRU
lo     3924   0       50      0      0      0       50      0      0      0 LRU

The arp table entrieas are also refer to the eth0 interface:
[root@ggkfw /root]# arp -a
polyas01.polygon.hu (172.31.20.18) at 7E:99:DB:BD:99:E7 [ether] on eth0
polys20.polygon.hu (172.31.20.17) at 42:00:24:FF:5A:18 [ether] on eth0
netbpe0.polygon.hu (172.31.20.230) at 00:50:73:25:A4:20 [ether] on eth0
gamma.polygon.hu (172.31.20.4) at 02:60:8C:2D:2C:35 [ether] on eth0
pol150e2.polygon.hu (172.31.20.210) at 42:5A:42:5A:42:5A [ether] on eth0

I tried to look at the kernel source and inserted a debug message in the
fib_select_multipath function in the net/ipv4/fib_semantics.c file.
This function never seems to be called.

Any ideas why this did not work?

Thanx, Zoltan Kolb

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to