Question Locked

VLAN Routing to Internet through firewall

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello
We have installed fiber interconnects to all of our branch stores. The interconnect supplier uses different VLANs to give us point to point connections. I have a DLink L3 switch at the main location to accept the VLANs and route the subnets together. The devices on the VLANs can talk to each other but I cannot connect to the Internet from all the VLANs. The router ( DLink DI-604) connected to VLAN1 (default) and to the Internet allows Internet connection from VLAN1 but not from the other VLANs. I need all the devices to be able to connect to the Internet on VLAN1.
Thank for your help.

7 replies

by kyles

did you every get a response to this
if so or if you figured out how to share one internet connection to multiple vlans could you please share it with me???
thank you

by cg it

your VLANs use your Layer 3 switch device [which is also a router btw] as their gateway. That device then must forward packets not destined for any other VLan or the local network to your other layer 3 device [router] which is the gateway out.

so configure your Dlink layer 3 switch/router to forward packets to the gateway of last resort [your Dlink router].

by robo_dev

Unless RIP/OSPF is enabled to route each VLANs subnet to and from the gateway?

Or does the gateway of last resort do the same thing automagically?

by cg it

then there is the gateway of last resort.

your right in that if RIP/OSFP were enabled that the layer 3 devices would then discover and share with each other with the last layer 3 device configured as the gateway of last resort.

a static route would work with a metric.

the layer 3 switch routes traffic between Vlans [router on a stick] and it needs a gateway out when it comes upon a packet not destined for any VLan or the local network. Without a gateway out it just drops the packet. So if that layer 3 device has an uplink port, that becomes the gateway link between both layer 3 devices.

So that can be the static route. Then that layer 3 device forwards those packets out to the next gateway [the ISPs network].

by kyles

I have routes setup but i must be missing something
can you post how the routes should be setup?

This discussion is closed to new replies.