Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 2001 19:15:11 -0500
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        <cjclark@alum.mit.edu>, "Chip" <chip@wiegand.org>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: LAN and Modem on one machine
Message-ID:  <004701c07dbf$1418a980$1200a8c0@gsicomp.on.ca>
References:  <3A60E983.A188AF84@wiegand.org> <20010113160215.H97980@rfx-64-6-211-149.users.reflexco>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Sat, Jan 13, 2001 at 03:49:24PM -0800, Chip wrote:
> > I have a fbsd 4.2 machine with a lan connection to the internet,
> > and have added a modem so I can do some realistic web page
> > performance testing. Is there a way to tell the browser, whether
> > it's netscape or links or whatever, to use the modem connection
> > rather than the lan connection? Or do I have to pull the lan
> > cable before dialing out with ppp?
>
> Pulling the cable wouldn't do you any good anyway. You may to
> need to play with the routing table. See netstat(8) and route(8).

If you're using user-ppp (man ppp(8)), then you should look at
/etc/ppp/ppp.linkup and /etc/ppp/ppp.linkdown.  Using these scripts you can
set your default route to be over the modem when the PPP link comes up, and
to restore the LAN route when the PPP link goes down.

--
Matt Emmerton



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004701c07dbf$1418a980$1200a8c0>