[plug] adsl trouble

Martin marty at supine.com
Sun Jun 16 23:06:59 WST 2002


$author = "Richard" ;
> 
> This is the results of ifconfig -a
> 
> [root at Main700 scripts]# ifconfig -a
> eth0      Link encap:Ethernet  HWaddr 00:50:BA:BB:F6:7A
>           BROADCAST MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:7 dropped:0 overruns:0 carrier:14
>           collisions:119 txqueuelen:100
>           RX bytes:0 (0.0 b)  TX bytes:420 (420.0 b)
>           Interrupt:9 Base address:0xcf80
> 
> eth1      Link encap:Ethernet  HWaddr 00:50:FC:5D:B5:92
>           inet addr:192.168.0.4  Bcast:192.168.0.255  Mask:255.255.255.0
>           UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:323 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:357 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:44073 (43.0 Kb)  TX bytes:27060 (26.4 Kb)
>           Interrupt:11 Base address:0xc00

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...


> 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

--
So stay tonight. Quietly. Half awake. But half asleep.
There's no one home. No one's here. So quietly.
Stay with me. Stay tonight. Quietly.
Stay with me. Quietly. Stay tonight. Stay tonight.

"Something New" - Art of Fighting



More information about the plug mailing list