[plug] adsl trouble

Richard rbarnes at westnet.com.au
Sun Jun 16 23:25:10 WST 2002


> eth0 has no IP address configured. was it brought up without one for a
> reason?
> 
> can you send in the output of:
> 
> route -n
> 
> then do an ifdown eth0 and repeat the route command...

[root at Main700 rbb]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.0.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         192.168.0.1     0.0.0.0         UG    0      0        0
eth1
[root at Main700 rbb]# ifdown eth0
[root at Main700 rbb]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.0.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         192.168.0.1     0.0.0.0         UG    0      0        0
eth1
[root at Main700 rbb]#

> 
> > Jun 15 14:26:36 Main700 kernel: martian source 192.168.0.4 from
> > 192.168.0.1, on dev eth1
> > Jun 15 14:26:36 Main700 kernel: ll header:
> > ff:ff:ff:ff:ff:ff:00:50:ba:92:dd:63:08:06
> 
> ok. the kernel has dumped the packet and put in a warning that it didn't
> think the source address is valid for the interface the packet arrived on...
> this usually means that the routing table indicates that packets from that
> source should have come in a different interface
> 
> if you are going to insist on having two NICs on the same wire, try this:
> 
> echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter
> echo 0 > /proc/sys/net/ipv4/conf/eth1/rp_filter
> 
> i'd prefer to have only one NIC on the wire, but that's just me...
> 
> marty

There is only one wire from the router to the box, eth1 at the moment. I
did try using eth0 when I discovered eth1 having problems. The only
reason I didn't take it out is because I wanted to route traffic to
another box from this one via eth0.

Richard



More information about the plug mailing list