Re: Running 2 PPPoE connections connecting to the same PPPoE server.
- From: Ashish Shukla आशीष शुक्ल <wahjava@xxxxxxxxx>
- Date: Thu, 13 Dec 2007 13:49:11 +0500
On Wed, 12 Dec 2007 08:40:08 +0000, Jason Bourne wrote:
[snipped]
I don't have any recent direct experience with it but you may want to
investigate mpd. IIRC it was the preferred solution with regard to the
multiple interface PPPoE route. YMMV. See /usr/ports/net either mpd4 or
mpd5.
Tried mpd, but its also not able to add a route via same gateway for
second connection. But I find a hack. And that will be so simple, provided
one has knows how PPP works, and routing via gateway works.
In PPP, there is no need of ARP, since both endpoints know about each
other at the time of PPP connection negotiation. And in routing via
gateway, no packet is send every to gateway's IP address, instead
packets are sent to its link-layer address. So, if one is able to change
IP address of the remote endpoint of the next PPP connection, OS will be
happy to add a route for that PPP connection also, and changing IP address
of remote endpoint of the PPP connection doesn't had any effect on PPP
connection, since that IP address is never going to be used in destination
packets (unless one really wants to send packets destined to the gateway).
So after mpd is running with 2 PPPoE connections (ng0 and ng1), with ng0
assigned an IPv4 address but ng1 is not, since OS doesn't allow adding
2 routes via same gateway, so ng1 is simply idle. So what I did is
manually set parameters of ng1 with 'ifconfig', and set IP address
of 'remote endpoint' to a another IP of ISPs network. And this worked
fine.
Now all I need to do is to load-balance over these connections.
-Jason
I hope my above reasoning is correct, in case its not please point me
where I'm wrong.
Thanks for the points. TIA for any corrections.
--
Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
.
- References:
- Re: Running 2 PPPoE connections connecting to the same PPPoE server.
- From: chris petrik
- Re: Running 2 PPPoE connections connecting to the same PPPoE server.
- From: Ashish Shukla आशीष शुक्ल
- Re: Running 2 PPPoE connections connecting to the same PPPoE server.
- From: Jason Bourne
- Re: Running 2 PPPoE connections connecting to the same PPPoE server.
- Prev by Date: Re: FreeBSD 7 install issues
- Next by Date: Source Code download question
- Previous by thread: Re: Running 2 PPPoE connections connecting to the same PPPoE server.
- Next by thread: Virutalisation s/w for running Windows on FreeBSD
- Index(es):
Relevant Pages
|
Loading