[plug] EQL

Matt Kemner zombie at wasp.net.au
Mon Jan 8 18:24:03 WST 2001


On Mon, 8 Jan 2001, Shane Spina wrote:

> > > 1. ifconfig eql to the same IP address etc (and mtu) as the pppN devices
> 
> oh i forgot .. this would be the IP assigned to the modem it is dialing
> into??

Shane, please delete those parts of the previous message you are not
replying to.  When I first looked at your message I thought it was just a
repeat of the previous one, and only when I looked closer I realised you'd
written one more line somewhere in the middle.

Anyway, it is the IP address of the ppp0/ppp1/etc device that gets
assigned to you when you dial in.

eg if you dial in, and on the server you get assigned ppp0 and ppp1, and
the server's IP address is 10.10.1.1 and it assigns you 10.10.1.100, the
ifconfig output should look something like:

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:10.10.1.1  P-t-P:10.10.1.100 Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:3205 errors:1 dropped:0 overruns:0 frame:1
          TX packets:3611 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10 

ppp1      Link encap:Point-to-Point Protocol  
          inet addr:10.10.1.1  P-t-P:10.10.1.100 Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:3205 errors:1 dropped:0 overruns:0 frame:1
          TX packets:3611 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10 


You should then ifconfig eql with the same ip addresses

ie ifconfig eql 10.10.1.1 pointopoint 10.10.1.100 netmask 255.255.255.255

Then you use eql_enslave to enslave the 2 ppp devices, and do:

route del 10.10.1.100 dev ppp0
route del 10.10.1.100 dev ppp1
route add 10.10.1.100 dev eql

 - Matt




More information about the plug mailing list