[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: routing problem



On Tue, Jun 11, 2002 at 11:11:57PM +0200, martin f krafft wrote:
| hi wizards!
| 
| any clue on this one:
| 
| gw2:~# route -n
| Kernel IP routing table
| Destination     Gateway         Genmask         Flags Metric Ref Use Iface
| xx.xxx.239.144  0.0.0.0         255.255.255.240 U     0      0        0 eth0
| xx.xxx.239.0    0.0.0.0         255.255.255.0   U     0      0        0 eth1
| 0.0.0.0         xx.xxx.239.253  0.0.0.0         UG    0      0        0 eth1
| 
| (don't ask about that routing table, it's not mine...)
| 
| gw2:~# tcpdump -ni any icmp
 
| this shows an echo-request coming in through eth1 and then leaving
| through eth0, before the reply is received by eth0. the return packets
| are not routed, it never leaves eth1. i've checked ip_forward (it's
| obviously on), tried setting rp_filter to 0, but no success...
| 
| what else would you check?

Looking at that routing table, it looks like you have the same (well,
overlapping) subnet on 2 interfaces.  Linux doesn't like having
multiple interfaces on the same subnet, unless you do channel bonding.
My guess is that that is causing the weirdness in your routing.

-D

-- 

Consider what God has done:
    Who can straighten what He has made crooked?
        Ecclesiastes 7:13
 
Jabber ID : dman@dman.ddts.net
GnuPG key : http://dman.ddts.net/~dman/public_key.gpg

Attachment: pgp2_LKF60Dd_.pgp
Description: PGP signature


Reply to: