2 WAN Networks, 2nd network without DHCP/NAT on a VLAN - how to route/do it?
-
Hi,
I do have a question concerning the topic 2 WAN Networks and routing to VLANs.
My setup:
- WAN1: Provider WAN
- WAN2: Special Company WAN
What do I want:
-
WAN1 (igc0)> should go to VLAN 100 and VLAN 200 devices (does work without any issues, as I define a VLAN, Interface, Gateway and DHCP for the VLANs and everything is fine)
-
WAN2 (igc1)> should go to VLAN 500 devices (I created the Interface, the Gateway)
-
but here the issue comes up. I'm already getting IP addresses (10.96.x.x/24) from this WAN as it is not a gateway and does no routing. It only bridges the net
- so I do need a VLAN without a DHCP running and without any NAT etc.
That's the point where I do struggle and cannot get it running.
Don't know if it's because of wrong Firewall-Routing or because I have to setup the interface in a different way.
Coming from UniFi network it worked in a simple way:
- connected WAN2 to a switchport and defined this as a '3rd party gateway)
- after that I created a VLAN associated to this gateway profile
- every device which is on that VLAN works without any issues > no DHCP, no other setup
Looks like a simple setup, but I do not get it running.
Hope I can get some help.
Thx.
-
@thundergate Hi. Just to give a short update. I already tried it with Interface, Gateway, and so on, but nothing works.
Hope you can help in some way, as I don't know how to solve this issue.
-
@thundergate said in 2 WAN Networks, 2nd network without DHCP/NAT on a VLAN - how to route/do it?:
WAN2 (igc1)> should go to VLAN 500 devices (I created the Interface, the Gateway)
but here the issue comes up. I'm already getting IP addresses (10.96.x.x/24) from this WAN as it is not a gateway and does no routing. It only bridges the net
- so I do need a VLAN without a DHCP running and without any NAT etc.
Can you be a bit more clear, what you're trying to achieve?
What do you mean with "WAN2 (igc1)> should go to VLAN "?
Bridging, forwarding, something else?Which gateway did you create?
-
@viragomann
Hi,sorry for the late feedback.
I got it running.
Connected the WAN part from the NanoPi to the eth3 and gave him LAN network. And the LAN port from the NanoPi then to the switch.