Forcing a pppX name
Hello everyone,
Is it possible to 'force a name to' a ppp connection? I have a VPN server, wich creates ppp connections, and two ADSL ppp connections. I'd like to have the ADSL connections be called ppp0 and ppp1, and the VPN connections ppp2 and higher.
At the moment, I can only achieve this if I connect to the ADSL lines before starting the VPN server. However, it will screw up if the second ADSL connection drops, and after that a new VPN connection is made. The new VPN connection will be called ppp1...
Jurrie Overgoor
Signature · 9 lines
_____________________________________________________________________ Snel en voordelig ADSL nu voor iedereen bereikbaar. Zon Breedband Budget voor EUR 14,95 per maand. Nu tijdelijk geen aansluitkosten en gratis modem. Bestel snel op zonnet.nl/breedband _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
In such cases, when i must set qdiscs on dynamic ppp or tun itnerfaces, i use the ip-up script - since this script receives the remote ip address and the name of device used for the link (and more parameters of course - read man pppd), you can use it to set qdiscs (or do some other cool stuff) on specific connection even if the device number is dynamic.
On Mon, 29 Dec 2003 11:36:22 +0100, jurrie.overgoor wrote
Quoted 7 lines
Hello everyone,
Is it possible to 'force a name to' a ppp connection? I have a VPN server, wich creates ppp connections, and two ADSL ppp connections. I'd like to have the ADSL connections be called ppp0 and ppp1, and the VPN connections ppp2 and higher.
Quoted 17 lines
At the moment, I can only achieve this if I connect to the ADSL lines before starting the VPN server. However, it will screw up if the second ADSL connection drops, and after that a new VPN connection is made. The new VPN connection will be called ppp1...
Jurrie Overgoor
Signature · 9 lines
_____________________________________________________________________ Snel en voordelig ADSL nu voor iedereen bereikbaar. Zon Breedband Budget voor EUR 14,95 per maand. Nu tijdelijk geen aansluitkosten en gratis modem. Bestel snel op zonnet.nl/breedband _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
--
Varna.net ISP (http://www.varna.net)
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 1 line · Nikolay Dachev
i use the ip-up script
[snip]
Quoted 2 lines
you can use it to set qdiscs (or do some other cool stuff) on specific connection even if the device number is dynamic.
I know, I already use the ip-up scripts. I don't need this just to configure a link at startup or shutdown. I want my interfaces to be the same all the time, so I only have to remember: "ppp0 is provider X, ppp1 is provider Y, the rest is VPN"...
Jurrie Overgoor
Signature · 9 lines
_____________________________________________________________________ Snel en voordelig ADSL nu voor iedereen bereikbaar. Zon Breedband Budget voor EUR 14,95 per maand. Nu tijdelijk geen aansluitkosten en gratis modem. Bestel snel op zonnet.nl/breedband _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/