1 Dec 2002 03:41
Re[2]: specific interface
Bill Unruh <unruh <at> physics.ubc.ca>
2002-12-01 02:41:46 GMT
2002-12-01 02:41:46 GMT
On Sun, 1 Dec 2002, Nerijus Baliunas wrote: > I entered it in options file, but with ppp-2.3.11 I get Well, I guess the answer then is to upgrade to pppd 2.4.1 in which that option does exist. Since it is an undocumented option, it could also disappear in the future. Or follow my previous suggestion that any setup be done with the ip-up and ip-down scripts. (What operating system are you using?) > > # pppd call omn > pppd: In file /etc/ppp/peers/omn: unrecognized option 'unit' > > > > There is an undocumented option for pppd called unit > > You can specify a unit number on the line with that > > eg > > pppd unit 0 ............... > > to request unit 0 > > > > > > It will try to use that number but if it is unavailable for any reason, > > it will go on to ask for the next available one. > > > > It is more robust to use ip-up to do whatever setup you want for > > whatever unit number was assigned, instead of assuming your call was on(Continue reading)
(Horror story: I've had a firewall with an eth0 and eth1 interface, and
my scripts assumed that eth0 was always the external interface. It
always was in my tests. Then one day the order in which the cards were
detected changed, and suddenly my firewall was in circuit backwards. On
the next boot, it went back to the usual way, but occasionally it would
boot backwards. I did solve it in the end; change one of the cards.)
Nerijus: use ppp8 and ppp9, so that any later ppp interfaces you create
as ppp0 won't overload the meaning, or pre-empt the ones that you intend
should exist.
RSS Feed