ip_route_output bug?

From: Valentijn Sessink (valentyn+killspam@nospam.openoffice.nl)
Date: Fri Mar 31 2000 - 11:22:01 EST


Hello all,

I have a masquing machine with 2 external IP addresses;

ppp0 = 194.109.a.b
eth1 = 24.132.c.d
eth2 = 192.168.112.1

ipchains -A forward -s 192.168.112.0/24 -j MASQ

policy routing based on source address with a silly:

ip ru add from 192.168.112.0/24 to 194.109.0.0 dev ppp0 pref 110 table
10
ip ro add 0/0 dev ppp0 table 10
The rest of the routing information is done with the old "route" and
"ifconfig" commands, so there's a "default" route in "main" going
through eth1 to 24.132.a.1

Now to my dismay, the ppp0 output sometimes outputs information from my
eth0 address and v.v.:

tcpdump -i ppp0
24.132.c.d > 194.109.6.90: udp 101
... etc.

Then, some time later, the output address changes - for some unknown
reason, since nothing changed... A preliminary check says that
"ip_route_output" delivers this information. Can anyone comment on this?

V.

--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:29 EST