Re: How to assign specified PPP interface?

James Cameron <[email protected]>
Newsgroups gmane.network.poptop
Organization Netrek Vanilla Server Dictator
Message-ID <[email protected]>
On Tue, Mar 01, 2011 at 10:43:02PM +0800, JC Tsai wrote:
> Can anyone tell me how to assign specified PPP interface when pptpd
> calls pppd?

The unit number is assigned by pppd, not by pptpd.

pppd can use the "unit" option.  Easiest place to put this is in the
options file that pppd is given.  Exactly where that is depends on your
distribution choice or how you build pptpd, but usually it is in
/etc/ppp and provided by the pptpd package as options.pptpd.

If the unit number is already in use, the next available is used
instead.

See "man pppd" and search for the unit option.

Another method to solve this is to direct the other applications, which
may create fewer interfaces, to use higher numbered units.

-- 
James Cameron
http://quozl.linux.org.au/

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.