SG-2100 MULTI-WAN CONFIGURATIONS
-
@stephenw10 if VLAN is the only way to make 3 or more WAN ports, is it applicable to the rest model of the SG and XG series?
-
It applies when you need to use ports connected via a switch as discrete interfaces. So that might be the 1100, 2100, 3100 or 7100. Depending on what ports and how many.
Steve
-
@stephenw10 said in SG-2100 MULTI-WAN CONFIGURATIONS:
ou need to use VLANs internally to separate the 'LAN' ports in order to use one of them as a WAN. It's not hard to do though.
I bought SG 2100 recently. I am going via the VLAN route to setup an additional port as per the steps provided in the documentation. However, I am still not able to connect to the internet with that new interface. Can you please point me to a step-by-step resource/video?
-
It's shown here:
https://docs.netgate.com/pfsense/en/latest/solutions/netgate-2100/configuring-the-switch-ports.htmlDon't forget that once you create the discrete port as an interface you still need to add firewall rules on it and enable a DHCP server if you need it.
Steve
-
Thanks @stephenw10
After creating the discrete interface on LAN port 4 as described in the link you provided, I added a firewall rule (pass, any to any). As I want to use this interface as secondary WAN, I assume I don't need to configure a DHCP server on this interface. Do I?I am currently getting "Offline, Packetloss" on my Gateway status. Am I missing anything here?
-
@skbnet said in SG-2100 MULTI-WAN CONFIGURATIONS:
I added a firewall rule (pass, any to any). As I want to use this interface as secondary WAN, I assume I don't need to configure a DHCP server on this interface. Do I?
The firewall rule is to allow from LAN to the Internet. If it's a WAN you normally do NOT want that rule since that would allow inbound traffic (including to the pfSense GUI/SSH). And no a DHCP server would be for an internal interface.
There is a doc category for multi-WAN: https://docs.netgate.com/pfsense/en/latest/multiwan/index.html
Also a forum category, if you're asking how to set up multiple WANs you might ask there: https://forum.netgate.com/category/21/routing-and-multi-wan
-
Ah OK, if you're using it as a WAN then you don't need any firewall rules on it. Unless you need to allow in traffic from the internet. So remove (or disable) that rule.
And, no, you don't need a DHCP server on it.See: https://docs.netgate.com/pfsense/en/latest/solutions/netgate-2100/opt-wan.html
Steve
-
@stephenw10 Still getting "Offline, Packetloss" on my Gateway status.
-
@skbnet Is the subnet mask correct? (i.e. not /32) If the upstream router doesn't respond to pings you can change the monitoring IP or disable gateway monitoring in System/Routing.
-
How have you configured the new WAN? What is the port connected to?
-
@steveits I configured the new discrete port (LAN4) IPv4 Configuration Type: DHCP. It did not work. I also used StaticIP4 with subnet /24, then also it did not work.
I can ping the upstream router but unable to connect to the internet. The upstream router is perfectly connected to the internet. -
@stephenw10 yes, I configured LAN4 port exactly as mentioned in this doc https://docs.netgate.com/pfsense/en/latest/solutions/netgate-2100/configuring-the-switch-ports.html with same vlan id, same lan port, etc..
-
@skbnet Can you post Status/Interfaces text for that interface?
-
Mmm, the fact you can ping the upstream router with static IPs set but DHCP didn't work seems very odd.
Have you confirmed DHCP is enabled on the router but connecting a client to it directly?
-
@steveits Find below the interface text
OPT1 Other <full-duplex> 192.168.0.25
and I can ping the upstream router in both static as well as DHCP IPv4 Configuration Type -
@stephenw10 pfSense is getting the ip from the upstream router in both static and DHCP settings and I can ping the upstream router from LAN. Yes, DHCP is enabled on the upstream router. I can connect to internet just by plugging the lan cable in one of the LAN port of the upstream router.
-
@skbnet said in SG-2100 MULTI-WAN CONFIGURATIONS:
@steveits Find below the interface text
OPT1 Other <full-duplex> 192.168.0.25
and I can ping the upstream router in both static as well as DHCP IPv4 Configuration TypeNo gateway set?
-
@steveits Yes, gateway set to 192.168.0.1 which is the ip of upstream router.
-
@skbnet said in SG-2100 MULTI-WAN CONFIGURATIONS:
IPv4 Configuration Type: DHCP. It did not work.
What exactly failed there then?
What is failing now?
I would leave it as DHCP if that works equally well (or fails the same!) it's easier to troubleshoot that generally. The upstream router will be passing known good values.
Steve
-
@stephenw10 I discovered something now. Even though the status message for OPT1 (used as secondary WAN) shows "Offline, Packetloss" (when I put Static IP4 config) or "Unknown" (when I put DHCP config), I can connect to the internet via OPT1 in both the cases.
I disabled the primary WAN interface just to make sure. I can connect to the internet via OPT1. Thanks for helping me explore this.
Now, if I can connect to the internet via OPT1, why am I getting "Offline, Packetloss" or "Unknown" on my pfSense Status Dashboard?