Re: [pfSense Support] LAGG Question

2010-11-19 Thread Paul Mansfield
On 25/10/10 16:33, James Bensley wrote:
 pfSense doesn't allow you to configure an IP address, mask and gateway
 for every interface on the box, only the interfaces assigned as LAN
 and WAN. 

for the sake of the record, that's entirely wrong... the web ui allows
you add new interfaces and rename them... so create an OPT and call it
WAN2, say.


-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



Re: [pfSense Support] LAGG Question

2010-10-26 Thread James Bensley
Thanks for your response David, I think I was having an off day
yesterday, this all seems much clearer today :D

I will look into setting this up and report back how I get on. My ISP
doesn't support MLPPP so Gateway Groups will have to be the way (is
this the generally accepted way all people achieve layer 3 bonding on
pfSense (2.0)? Also can the pfSense box handle incoming balancing this
way as well as out going?

-- 
Regards,
James.

http://www.jamesbensley.co.cc/

There are 10 kinds of people in the world; Those who understand
Vigesimal, and J others...?

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



Re: [pfSense Support] LAGG Question

2010-10-26 Thread David Burgess
On Tue, Oct 26, 2010 at 9:09 AM, James Bensley jwbens...@gmail.com wrote:

can the pfSense box handle incoming balancing this
 way as well as out going?

Incoming load balancing in pfsense is different from outgoing load
balancing. It allows you to have more than one server on your internal
networks responding to incoming connections on a single interface. For
example, if your WAN is taking http requests on port 80 from the
internet, inbound load balancing allows you to forward those requests
to multiple web servers on your LAN, OPT1, etc.

Outbound load balancing of course can be configured to route packets
from your internal networks out via multiple WANs. The natural result
of this is that return packets will come back via the same WAN
interface they went out on. Some protocols, including http and
bittorrent are very efficient at making use of all your available
bandwidth due to generating multiple parallel sessions, which pfsense
will balance across the available gateways.

db

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



[pfSense Support] LAGG Question

2010-10-25 Thread James Bensley
Hello Everybody :)

I would like to use the LAGG to bond multiple ADSL lines for a faster,
more reliable internet access (using LACP). To start with I have 2
PPPoA ADSL Modem/Routers each with an Ethernet LAN interface. So I
have plugged both modems into two of my pfSense NICs (lets say em1 and
em2) and NIC em0 is my local LAN inside the pfSense box. em1 and em2
both need an IP address to talk to each modem, for example em1
(192.168.1.1/24)  modem 1 (192.168.1.254/24) and em2 (192.168.2.1/24)
to modem 2 (192.168.2.254/24).

Once I bond em1 and em2 as LAGG0 they become one virtual interface
which I can set as my WAN interface. I'm going to assume at this point
that things will stop working because pfSense uses LAGG0 as a single
interface with a single IP (obviously) which technically is connected
to neither modem? What would be the correct steps for setting this up?
pfSense supports 1 WAN interface so how can I assign two physical
interfaces IP addresses with default GWs and then bond them in the way
I wish to use both Modems/ADSL lines simultaneously?

I feel like I'm not far off but need a little push :)

-- 
Regards,
James.

http://www.jamesbensley.co.cc/

There are 10 kinds of people in the world; Those who understand
Vigesimal, and J others...?

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



Re: [pfSense Support] LAGG Question

2010-10-25 Thread Steve Spencer

On 10/25/2010 07:53 AM, James Bensley wrote:

Hello Everybody :)

I would like to use the LAGG to bond multiple ADSL lines for a faster,
more reliable internet access (using LACP). To start with I have 2
PPPoA ADSL Modem/Routers each with an Ethernet LAN interface. So I
have plugged both modems into two of my pfSense NICs (lets say em1 and
em2) and NIC em0 is my local LAN inside the pfSense box. em1 and em2
both need an IP address to talk to each modem, for example em1
(192.168.1.1/24)  modem 1 (192.168.1.254/24) and em2 (192.168.2.1/24)
to modem 2 (192.168.2.254/24).

Once I bond em1 and em2 as LAGG0 they become one virtual interface
which I can set as my WAN interface. I'm going to assume at this point
that things will stop working because pfSense uses LAGG0 as a single
interface with a single IP (obviously) which technically is connected
to neither modem? What would be the correct steps for setting this up?
pfSense supports 1 WAN interface so how can I assign two physical
interfaces IP addresses with default GWs and then bond them in the way
I wish to use both Modems/ADSL lines simultaneously?

I feel like I'm not far off but need a little push :)


Personally, my preferred method of doing this would be to actually bond
the ADSL connections using MLPPP.  Is this an option that you have explored?

Thanks,
--
--
Steven G. Spencer, Network Administrator
KSC Corporate - The Kelly Supply Family of Companies
Office 308-382-8764 Ext. 231
Mobile 308-380-7957

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



Re: [pfSense Support] LAGG Question

2010-10-25 Thread David Burgess
On Mon, Oct 25, 2010 at 6:53 AM, James Bensley jwbens...@gmail.com wrote:
 Hello Everybody :)

 I would like to use the LAGG to bond multiple ADSL lines for a faster,
 more reliable internet access (using LACP).

LAGG acts by bonding multiple interfaces at layer 2. You're trying to
bond a pair of interfaces at layer 3. There's a fundamental gap there
that you're not going to overcome. You may as well as how you can bond
two DSL lines using just em1; you can't.

As Steve said, your best bet is mlppp, but if your ISP doesn't support
that, then load balancing will have to do.

db

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



Re: [pfSense Support] LAGG Question

2010-10-25 Thread James Bensley
On 25 October 2010 15:54, David Burgess apt@gmail.com wrote:
 As Steve said, your best bet is mlppp, but if your ISP doesn't support
 that, then load balancing will have to do.

Thanks guys for your responses, I will look into MLPPP but in the mean
time, with regards to load balancing; Again, how does this work in
pfSense?

pfSense doesn't allow you to configure an IP address, mask and gateway
for every interface on the box, only the interfaces assigned as LAN
and WAN. So if I group some interfaces together as a load balancing
LAG group the bonded interfaces aren't going to do anything?

I hear what you're saying about my wanting to bond at layer 3 and LACP
runs at layer 2, yes I want to bond at a packet level, but even load
balancing requires me to to configure the individual interfaces that
are being balanced across surely so how is this possible in pfSense?
How could I set up the load balancing feature across multiple
gateways?

-- 
Regards,
James.

http://www.jamesbensley.co.cc/

There are 10 kinds of people in the world; Those who understand
Vigesimal, and J others...?

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



Re: [pfSense Support] LAGG Question

2010-10-25 Thread David Burgess
On Mon, Oct 25, 2010 at 9:33 AM, James Bensley jwbens...@gmail.com wrote:

 Thanks guys for your responses, I will look into MLPPP but in the mean
 time, with regards to load balancing; Again, how does this work in
 pfSense?

For 1.2:
http://doc.pfsense.org/index.php/MultiWanVersion1.2

For 2.0:
http://forum.pfsense.org/index.php/topic,10407.0.html

Note that there seems to be some confusion as to whether you can do
multiwan in 2.0 if more than one interface uses the same gateway (it
definitely won't work in 1.2). Drop a NAT router between pfsense and
the redundant gateway to overcome this limitation.


 pfSense doesn't allow you to configure an IP address, mask and gateway
 for every interface on the box, only the interfaces assigned as LAN
 and WAN.

Not so. See the guides linked above.


 So if I group some interfaces together as a load balancing
 LAG group the bonded interfaces aren't going to do anything?

Not as a LAG group, as a gateway group. The guide is good. Let us know
how you make out.

db

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org