Hugh Brock on Wed, 14 Jul 1999 18:05:34 -0400 (EDT)


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

Re: [Plug] ppp and ethernet with SuSE


Chuck Peters wrote:
> 
> My guess is you need to check the route.
> 
> Try route -n and look at the gateway.
> 

Here's what I get when I'm connected via ppp. 

route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
165.87.98.85    0.0.0.0         255.255.255.255 UH    0      0        0
ppp0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0
lo
0.0.0.0         165.87.98.85    0.0.0.0         UG    0      0        0
ppp0                           

And here's what I get when I'm connected to the Ethernet:

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
eth0 
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0
lo    

(Note: it's a private ethernet, so there is no gateway, and all the
machines are just typed into /etc/hosts -- no nameserver needed either.
Although I suppose if I'm connected via ppp on one hand and via eth0 on
the other I'm sort of a gateway by
default...)                                

When I'm connected via ppp and bring up eth0 route -n does not change;
that is, no entry appears for eth0. I can insert it manually using route
add, but that doesn't seem to help.

Maybe you're onto something...

Strange, though: when I try to bring up eth0 while ppp is active, not
only does it not work, it crosses up ppp; I have to close the connection
and reset the modem before it will reconnect and start transmitting
packets again. Same seems to be true when I try to start ppp after eth0
has been active, even if I've already brought it down.

Of course, if this were NT, I'd just have to reboot <g>...

Thanks,
--Hugh

_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug