Re: default route not set with 3com dual modem/enet card
Quoting Drew Parsons on Sat, Oct 30, 1999 at 01:42:23PM -0700:
> On Sat, Oct 30, 1999 at 12:30:36PM -0700, Michael Perry wrote:
> > Hi all-
> >
> > Just a question about something a few of us have noted where I work. I have
> > a Fujitsu Lifebook running potato which has a 3com 556 card which provides
> > both 100mbit ethernet and modem services. One thing we have noticed is that
> > when we dial a ISP while on the road the ethernet connection requires us to
> > remove it by issuing the command in /etc/pcmcia. After this, the ppp
> > connection sets up a default route correctly to a mindspring.
> >
> > At home, I have both an eth0 and a ppp connection and it works correctly.
> >
> > Is there a switch somewhere in the pcmcia stuff which will let the ppp
> > interface establish a default route?
>
>
> I think it's in the ppp docs that it says ppp will NOT set the default
> route if one is already set on eth0 (this is how things should be, if you
> think about it). What I do is explicitly turn eth0 off:
> ifconfig eth0 down
> and after that when pppd runs, it sets the default route automatically.
>
> Drew
>
Hi Drew-
Many thanks for the response. I do not understand why a laptop does this
though and my slinkato desktop which has a lan behind it allows me to dial
with ppp without killing the network connection. Check this out:
eth0 Link encap:Ethernet HWaddr 00:90:27:1D:3A:C4
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:270 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:10 Base address:0xd400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:606 errors:0 dropped:0 overruns:0 frame:0
TX packets:606 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
ppp0 Link encap:Point-to-Point Protocol
inet addr:198.144.207.221 P-t-P:207.201.34.1
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:1227 errors:0 dropped:0 overruns:0 frame:0
TX packets:1269 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
This seems to allow me to have a eth0 up and dialup a ppp connection without
downing the eth0 first.
--
Michael Perry
mperry@tsoft.com
------------------
Reply to: