Vlans and switch route to Internet
Posted on 2011-03-15
I'm not sure if this is a problem or a misconfiguration but I could do with some help please.
We have a HP A5120 SI 3 layer switch setup with 2 Vlans, Vlan 1 172.18.4.2/23 and Vlan 2 172.18.20.2/22 the switch trunks to a Sonicwall TZ210 for internet access.
The Sonicwall has two subinterfaces 172.18.4.1/23 and 172.18.20.1/22 for both subnets, I can ping the switch interfaces and Sonicwall subinterfaces from the Vlans.
The problem I'm having is with the default route for internet access. What should this be??
If I add the following 2 routes only one route shows as active and that specific Vlan has Internet access, if I remove one off the static routes then the remaining route becomes active.
What I need is both routes to be active so both Vlans can access the internet at the same time.
0.0.0.0 0.0.0.0 172.18.4.1
0.0.0.0 0.0.0.0 172.18.20.1
I tried adding the Sonicwalls primary interface 192.168.100.1 as the default static route but the switch couldn't see the network, I assume the Sonicwall dropped the packets as per design.
Any help/advise would be grateful as to how i can get both Vlans to share an internet connection.