Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  Retired» 2.0-RC Snapshot Feedback and Problems - RETIRED» 3 WAN -> 1 LAN, cannot figure it out
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: 3 WAN -> 1 LAN, cannot figure it out  (Read 1394 times)
0 Members and 1 Guest are viewing this topic.
Synackaon
Newbie
*
Offline Offline

Posts: 1


View Profile
« on: July 22, 2010, 03:05:34 pm »

Last week, we discarded our two residential connections in favor of three (3) business class cable connections from one company instead of two separate providers.

But I cannot get load balancing to work! I hoped to make gateway group kosh work, but it doesn't.


WAN01 - DHCP (currently 24.43.32.180), gateway 24.43.32.129 {wan}, Virtual IP 19.0.0.1/24
WAN02 - DHCP (currently 24.43.32.145), gateway 24.43.32.129 {opt1}, Virtual IP 18.0.0.1/24
WAN03 -DHCP (currently 24.43.32.143) ,gateway 24.43.32.129  {opt2}, Virtual IP 17.0.0.1/24

My firewall rules are:
Code: ("floating")
  ID   Proto   Source   Port   Destination   Port   Gateway   Queue   Schedule   Description  
  * LAN net * 169.0.1.0/24 * * none    
  * LAN net * 169.0.2.0/24 * * none    
  * LAN net * 169.0.3.0/24 * * none    

Code: ("lan tab")
  ID   Proto   Source   Port   Destination   Port   Gateway   Queue   Schedule   Description  
  * LAN net * * * * none   Default allow LAN to any rule

I have a gateway group, kosh:

Code: ("Gateway group")
Group Name   Gateways   Priority   Description  
kosh GW_WAN Tier 1
GW_OPT1 Tier 1
GW_OPT2 Tier 1
Code: ("Gateways")
Name   Interface   Gateway   Monitor IP   Description  

GW_WAN WAN1 dynamic 24.43.32.129 Interface wan dynamic gateway  
GW_OPT1 WAN2 dynamic 24.43.32.129 Interface opt1 dynamic gateway  
GW_OPT2 WAN3 dynamic 24.43.32.129 Interface opt2 dynamic gateway
Code: ("NAT Out")
Interface   Source   Source Port   Destination   Destination Port   NAT Address   NAT Port   Static Port   Description  
WAN   any * 169.0.1.0/24 * 169.0.1.1 * NO wan1 out  
WAN2   any * 169.0.2.0/24 * 169.0.2.1 * NO wan2 out  
WAN3   any * 169.0.3.0/24 * 169.0.3.1 * NO wan3 out  
WAN   any * * * * * NO wan1 out default  
WAN2   any * * * * * NO wan2 out default  
WAN3   any * * * * * NO wan3 out default  
« Last Edit: July 22, 2010, 09:51:30 pm by Synackaon » Logged
cmb
Administrator
Hero Member
*****
Offline Offline

Posts: 6055


View Profile WWW
« Reply #1 on: July 23, 2010, 05:23:20 pm »

You can't have 3 WANs with the same gateway, each gateway must be unique.
Logged

pfSense Commercial Support

Paying customers receive support priority and as in depth of assistance as desired through the official commercial support channels at portal.pfsense.org. Forum users receive as much help as time permits.
MrHorizontal
Jr. Member
**
Offline Offline

Posts: 59


View Profile
« Reply #2 on: July 27, 2010, 03:02:51 am »

You can't have 3 WANs with the same gateway, each gateway must be unique.

While this is understandable, given it's Layer 3, but is it possible to do this on Layer 2?

I know you could try to use LAGG I suppose for connections of equal bandwidth, but doesn't 'feel right' - is there any way that apinger can be configured to be interface-centric instead of gateway-centric?
Logged
ermal
Administrator
Hero Member
*****
Offline Offline

Posts: 3095


View Profile
« Reply #3 on: July 27, 2010, 06:00:42 am »

Its a routing problem not an apinger one.
Logged
MrHorizontal
Jr. Member
**
Offline Offline

Posts: 59


View Profile
« Reply #4 on: July 27, 2010, 10:04:38 am »

Its a routing problem not an apinger one.

Sorry I was digressing the topic.

I was asking whether load balancing be achieved at Layer 2 (ie MAC addresses/interfaces) instead of Layer 3 (ie IP addresses and gateways), without using LAGG?
Logged
cmb
Administrator
Hero Member
*****
Offline Offline

Posts: 6055


View Profile WWW
« Reply #5 on: July 27, 2010, 07:36:47 pm »

I was asking whether load balancing be achieved at Layer 2 (ie MAC addresses/interfaces) instead of Layer 3 (ie IP addresses and gateways), without using LAGG?

No. Since it's going to be the same MAC, it's unpredictable which interface will see it first.
Logged

pfSense Commercial Support

Paying customers receive support priority and as in depth of assistance as desired through the official commercial support channels at portal.pfsense.org. Forum users receive as much help as time permits.
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.028 seconds with 19 queries.