We help IT Professionals succeed at work.

vlan

Scenario:
I have two switches connected with one fiber. if i create vlans both switches May i have same IPs networks.

Please find the attachment for detail.

thanks
vlans.jpg
Comment
Watch Question

ChrisLead Infrastructure Architect
BRONZE EXPERT

Commented:
you can't set the same IP's onto all switches but you can have the same vlans and the same subnets
yer, you will need to have the the vlans tagged on the fibre link

Author

Commented:
dear brendanmeyer,

can you explain more in detail how i can do this please.
what brand and model switches are they?
Hi,

Each Device will will have a separate IP Address there you will not be able to get same IP in Both Switches.

Thanks,
P. Praveen Raj
configure the vlan ports

Switch(config)#interface range fastEthernet 0/1 - 16
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 1
Switch(config-if)#no shut
Switch(config)#interface range fastEthernet 0/17 - 32
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
Switch(config-if)#no shut
Switch(config)#interface range fastEthernet 0/33 - 48
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 3
Switch(config-if)#no shut

configure the trunk port

Switch(config-if)#interface GigabitEthernet0/1
Switch(config-if)#switchport trunk encapsulation dot1q
Switch(config-if)#switchport mode trunk
Switch(config-if)#no shut

on both switches, and you have the situation as drawn in your picture

Mike

Explore More ContentExplore courses, solutions, and other research materials related to this topic.