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
nainasipraAsked:
Who is Participating?
 
Mike van RossumCommented:
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
0
 
ChrisCommented:
you can't set the same IP's onto all switches but you can have the same vlans and the same subnets
0
 
brendanmeyerCommented:
yer, you will need to have the the vlans tagged on the fibre link
0
How do you know if your security is working?

Protecting your business doesn’t have to mean sifting through endless alerts and notifications. With WatchGuard Total Security Suite, you can feel confident that your business is secure, meaning you can get back to the things that have been sitting on your to-do list.

 
nainasipraAuthor Commented:
dear brendanmeyer,

can you explain more in detail how i can do this please.
0
 
brendanmeyerCommented:
what brand and model switches are they?
0
 
Praveenraj04Commented:
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.