How to assign specified PPP interface?
"JC Tsai" <[email protected]>
| Newsgroups | gmane.network.poptop |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
If I didn't make any specified configuration, when the first PPTP client
connects to pptpd server,
pppd will assign ppp0 to this PPTP client automatically, such as the message
showed below:
# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.44.1 P-t-P:192.168.44.10 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:64
RX bytes:1520 (1.4 KiB) TX bytes:100 (100.0 B)
But I would like to assign the specified PPP interface starting from ppp3,
would you please tell me how to do this? no matter by configuration file,
or by re-modify the source code. Any help will be appreciated.
Best Regards,
JC Tsai
------------------------------------------------------------------------------
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