how to config vlans connect into internet

Post Reply
mrtq86
Member
Posts: 6
Joined: 13 Aug 2016 13:55

how to config vlans connect into internet

Post by mrtq86 »

Hi all,

I have an router internet ip 192.168.50.1
My Vlan:

-> show vlan
stree mble src
vlan type admin oper 1x1 flat auth ip tag lrn name
-----+-----+------+------+------+------+----+-----+-----+------+----------
1 std on off on on off off on on vlan-1
5 std on off on on off on off on Tang1
10 std on on on on off on off on Tang2
15 std on on on on off on off on Tang3

-> show ip interface
Total 4 interfaces
Name IP Address Subnet Mask Status Forward Device
--------------------------------+---------------+---------------+------+-------+--------
Loopback 127.0.0.1 255.0.0.0 UP NO Loopback
vlan-10 192.168.10.254 255.255.255.0 UP YES vlan 10
vlan-15 192.168.15.254 255.255.255.0 UP YES vlan 15
vlan-5 192.168.5.254 255.255.255.0 DOWN NO vlan 5

-> show vlan port
vlan port type status
------+-------+---------+-------------
1 1/2 default inactive
1 1/4 default inactive
1 1/6 default inactive
1 1/7 default inactive
1 1/8 default inactive
1 1/9 default inactive
1 1/10 default inactive
1 1/11 default inactive
1 1/12 default inactive
1 1/13 default inactive
1 1/14 default inactive
1 1/15 default inactive
1 1/16 default inactive
1 1/17 default inactive
1 1/18 default inactive
1 1/19 default inactive
1 1/20 default inactive
1 1/21 default inactive
1 1/22 default inactive
1 1/23 default inactive
1 1/24 default inactive
1 1/25 default inactive
1 1/26 default inactive
5 1/1 default inactive
5 1/25 qtagged inactive
10 1/3 default forwarding
15 1/5 default forwarding

Please tell me how to config all vlan connect to internet

Best regard!
devnull
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 976
Joined: 07 Sep 2010 10:16
Location: Germany

Re: how to config vlans connect into internet

Post by devnull »

what is set as default gateway on your end devices? Hopefully the IP of the switch (e.g. 192.168.10.254)
You need to connect/have a way towoards the Router (currently you have no ip in the 192.168.50.X network)
you need that! (or have at least some "way" to reach that router)

create a static default route on the switch:
ip static-route 0.0.0.0/0 gateway 192.168.50.1

Always remember you need to have the way back as well -> have a route for 192.168.10.x/192.168.15.x/192.168.5.x pointing towards the switch
Post Reply

Return to “OmniSwitch 6250”