[H-GEN] bind pppd to an interface

Robert Stanford rob at rotapile.com
Mon Jun 21 21:52:47 EDT 2004


Robert Stanford wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
> 
> Greeting Fellow Humbug people,,
> 
> I have a machine with 2 adsl connections, one is for the internet and 
> contains the default gateway, the other is for a private link to another 
> network, the machine performs NAT for the local network and the remote one.
> 
> Unfortunately I cannot rely on each connection to come up on the same 
> ppp interface every time.
> 
> Is there a way to bind an instance of pppd to a particular ppp interface 
> (ppp0, ppp1) so i dont have to munge my firewall rules.
> 
> I've looked at the man page for PPP and done some searching but alas, 
> the correct search string eludes me.

So of course, I find the solution 2 minutes after posting this.


unit num

Sets the ppp unit number (for a ppp0 or ppp1 etc interface name) for 
outbound connections.

-- 
¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤
    Robert Stanford
º¤º°`°º¤ø,¸¸,ø¤º°`°º¤º




More information about the General mailing list