Switches, Hubs, and Modems
1753902 Members
9242 Online
108810 Solutions
New Discussion юеВ

Vlan configs

 
D-e
Occasional Contributor

Vlan configs

Hi guys,

I have created three vlan's and I have i have one adsl router which I want to share internet connection amoung the vlan.

any idea of how to do it. Ping works among vlan. but cannot ping adsl router.

vlan 2
name "VLAN2"
untagged 2-8
ip address 192.168.5.4 255.255.255.0
tagged 1
exit
vlan 3
name "vlan3"
untagged 9-16
ip address 192.168.6.4 255.255.255.0
tagged 1
exit
vlan 4
name "vlan4"
untagged 17-24
ip address 10.2.1.18 255.255.255.0
2 REPLIES 2
cenk sasmaztin
Honored Contributor

Re: Vlan configs

you must write static route command on switch and internet router

for example internet router on vlan 2

internet router port must be connect untag vlan 2 port (int 2-8)

on switch
0.0.0.0 0.0.0.0 192.168.5.1 (5.1 internet router ip)


on internet router
192.168.0.0 255.255.0.0 192.168.5.4
10.0.0.0 255.255.0.0 192.168.5.4


cenk

D-e
Occasional Contributor

Re: Vlan configs

Hi

just want a small clarification, why did you put on the switch the router ip as 192.168.5.1. The router ip is 10.0.0.1

The internet router does not support vlan.