06-07-2007 12:06 PM - edited 03-05-2019 04:34 PM
I have 2 switches on the same LAN.
Switch 1 has:
interface Vlan200
ip address 192.168.1.1 255.255.255.0
Switch 2 has:
interface Vlan200
ip address 192.168.1.2 255.255.255.0
is this okay? Doesnt it conflict with the VLAN?
06-07-2007 12:23 PM
Rob
I am assuming that these are layer 2 switches and that you will be using VLAN 200 as the management VLAN. If that is the case then what you have got is fine. There is not a conflict. Remember that essentially a VLAN is a subnet and a subnet is a VLAN. So since both switches are in the same VLAN then they need to be in the same subnet.
HTH
Rick
06-07-2007 12:23 PM
Hi,
Since the addresses are not the same, then there is no address overlap and thus no problems, are these interfaces just for management or is this switch a layer 3 switch.
HTH, please do rate all helpful replies,
Mohammed Mahmoud.
06-07-2007 12:41 PM
Mohammed
I think you are making the same assumption that I did about it being a layer 2 switch. And as I think about it a bit more, even if it were a layer 3 switch I do not see that it would be a problem.
HTH
Rick
06-07-2007 12:50 PM
Hi Rick
I agree, as long as the two switches were connected via layer 2 link (assuming they are connected) they should be fine even if they were acting as layer 3 switches.
If the connection was a layer 3 connection though that could cause some problems.
Jon
06-07-2007 12:58 PM
Hi Rick,
You are totally right, i answered that it would not be any problem whatever the case is, and when asking about if it is being a layer 2 or layer 3 switch it was just to go further on the discussion if the poster had any more doubts.
[edit] If it is a layer 2 switch, then this is normal, having both management interfaces in the same IP subnet. And if it is a layer 3 switch, i think that it is as if a LAN is connected to 2 routers which should impose no problems, but the administrator would have to care which IP should be the gateway for the local LAN (VLAN) hosts.
BR,
Mohammed Mahmoud.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide