Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

1x Internet Traffic on 2X VLANs. (How to config?).

SOLVED
Go to solution
Karl Collinson
Frequent Advisor

1x Internet Traffic on 2X VLANs. (How to config?).

Afternoon All "Some help please" =0).

Have created VLAN 2 and VLAN 3 (VLAN 1 = Default).
VLAN2 for VoIP, VLAN 3 for Data.
IP routing is enabled due to Applications need to spk to VoIP server (VLAN2) from Data VLAN (VLAN3).

VLANS route and work fine.

I need to setup VLAN3 to enable users with a internet connection through 1x DSL Router.

Im unsure how? Do i need to set the gateway IP of the switch (VLAN 1) to the IP of the DSL router or is there a command to assign VLAN 3 a default Gateway (DSL Router).

Both DHCP servers point each client to the VLAN's IP for that scope to enable routing.

What IP should i assign the Router, should it be in keeping with VLAN 1\2 or 3's IP range?

Is there a static Route I need to enter?

Thank you very much,
Karl.


4 REPLIES
Mohieddin Kharnoub
Honored Contributor
Solution

Re: 1x Internet Traffic on 2X VLANs. (How to config?).

Hi

Create a Default Route pointing to this DSL router on your routing switch:

IP Route 0.0.0.0 0.0.0.0 a.b.c.d

Then, on this DSL router, if its located in Vlan3 (Data), or any other Vlan, create a static routes for other Vlans.

Example: Say you DSL router in Vlan1, then create 2 Static routes, one for Vlan2 and one for Vlan3 so pointing to the Vlan's IP on the routing switch.

Good Luck !!!
Science for Everyone
Karl Collinson
Frequent Advisor

Re: 1x Internet Traffic on 2X VLANs. (How to config?).

Thanks for that!!

The router cannot be programmed in that respect, is a cheap home\soho router..

??? >:-\

Thx,
Karl.
Karl Collinson
Frequent Advisor

Re: 1x Internet Traffic on 2X VLANs. (How to config?).

Also, even with the static Route, how will the VLAN this address is the gateway for Outbound traffic (Internet).

The Routing is not for VPN, only Internet access.

Thx,
Karl.
Karl Collinson
Frequent Advisor

Re: 1x Internet Traffic on 2X VLANs. (How to config?).

Set Gateway on VLAN1 to Routers address.
Ip route 0.0.0.0 0.0.0.0 RO.UT.ERS.IP

Set static routing on DSL router usin IE.

Thx,
Karl.