Re: pppd kills eth0



Hello,

sk8r-365 a écrit :

I have a new Palm TX which connects to the machine via bluetooth. When the Palm
connects to the computer it cannot get to the Net and all eth0 activity ceases
(web pages can't be accessed any more, for instance in iceweasel). After ending
the pppd connection with the Palm all eth0 activity resumes.

Here are some outputs from the terminal:

before doing a pppd connection:
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
69.145.48.0 0.0.0.0 255.255.240.0 U 0 0 0 eth0
0.0.0.0 69.145.48.1 0.0.0.0 UG 0 0 0 eth0

ifconfig

eth0 Link encap:Ethernet HWaddr 00:15:F2:45:7A:A2
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0

Something looks wrong. The IP address and subnet mask of eth0 is not consistent with the routes associated to eth0 in the routing table. Subnets do not match : 69.145.48.0/20 in the routing table and 192.168.0.0/24 in eth0.

after connection is made:

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.99.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0

ifconfig
eth0 Link encap:Ethernet HWaddr 00:15:F2:45:7A:A2
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0

Now the IP address and subnet mask of eth0 are consistent with the routing table.

ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.0.1 P-t-P:192.168.99.1 Mask:255.255.255.255

I guess ppp0 is the interface used to communicate with the Palm and 192.168.99.1 is the IP address of the Palm. But it looks like ppp0 gets the same local address 192.168.0.1 as the default gateway in the routing table. I believe this creates a conflict with the default route. You need to change the local address of ppp0.
.



Relevant Pages

  • Re: Multiple Network Gateways
    ... The problem here is that there exists two entries in the routing table ... for 0.0.0.0 network pointing to both eth0 and eth1. ... The man page of route says the following: ...
    (Debian-User)
  • Re: HELP my last chance to keep my job HELP
    ... > Form out side I can trace/ping to both the ppp connection and the eth0 ... > my routing table looks like this at present: ... You also loop all other 203.88.230.0/24 network traffic back to your own ... IP for any non-local network (WAN route that goes through another router, ...
    (comp.os.linux.networking)
  • Routing problem
    ... I have a slightly unusual routing issue that I'd appreciate some help ... I have a machine with 2 interfaces, eth0 connected to the ... lan, and eth1 connected to an adsl router. ... via eth0 through its default route of eth1 -> adsl. ...
    (alt.os.linux)
  • Re: Two interfaces
    ... having problems routing the voice traffic to eth0 ... the mask of eth0's mask, ... Why didn't you just add a route to 10.0.0.0/8 via ...
    (comp.os.linux.networking)
  • Re: Routing
    ... I can ping hosts on the 192.168.3.0/24 network, ... Subject: Routing ...
    (Debian-User)