ravi varma
|
Number of PPP instances on same serail port
|
ravi varma
11/26/2008 9:53 AM
post17373
|
Number of PPP instances on same serail port
Hi
Till now i was with assumption that PPP is only between 2 systems, used only for point to pint communcaition, and one
PPP instance will be connected to dedicated serial link.
But today i tried intantiating 2 processes on same serail port.I.e
First i did
pppd /dev/ser2 proxyarp 115200 192.168.0.200:192.168.0.210
then i did
pppd /dev/ser2 proxyarp 115200 192.168.0.200:192.168.0.220
and as part of ifconfig i got :
ppp1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.200 -> 192.168.0.210 netmask 0xffffff00
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.200 -> 192.168.0.220 netmask 0xffffff00
when i tried to attach third instance
pppd /dev/ser2 proxyarp 115200 192.168.0.200:192.168.0.230
ppp0: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1500
ppp1: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1500
ppp2: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1500
all three got failed,
1. Is there any limit on no of virtual PPP interfaces that can be connected to a particaular serail link.
2. what woud be real need for instantiating multiplte virtaul PPP interfaces, is it that if i have RS-485 is on other
end of serail port, can i have a one to many network, where each virtaul instance can communiate with one device on 485
network ? ... send me some links where i can get data on this.
Thanks
Ravi
|
|
|