Vlan and subnet - TechRepublic
Question
September 4, 2010 at 06:33 PM
geo85

Vlan and subnet

by geo85 . Updated 15 years, 10 months ago

hi everybody…

am new in the networking area.
I have a question : Can a Vlan handle two differint subnets like :

*switch 1

hostname “e – 8”
ip default-gateway 192.168.180.2
ip routing
snmp-server community “public” Unrestricted
vlan 1
name “DEFAULT_VLAN”
untagged 9-24,26
ip address 192.168.180.254 255.255.255.0
no untagged 1-8,25
exit
vlan 2
name “A”
untagged 1-8,25
ip address 192.168.188.254 255.255.255.0
exit
spanning-tree

*switch 2

hostname “e – 4”
ip default-gateway 192.168.144.2
ip routing
snmp-server community “public” Unrestricted
vlan 1
name “DEFAULT_VLAN”
untagged 9-24,26
ip address 192.168.144.254 255.255.255.0
no untagged 1-8,25
exit
vlan 2
name “A”
untagged 1-8,25

exit

==================================

the default Vlan has different subnets, can this config work in case we dont need Vlan 2 to communicate with default vlan

thank you very much in advanced.

This discussion is locked

All Comments