|
Question : VLAN vs IP subnets and routing
|
|
If you have two IP subnets and two VLANs set up as follows, how will the routing work? (I thought I knew the answer but am no longer sure....)
IP Subnet A Mask: 255.255.255.0 Workstation A - 55.55.55.5 IP Address Wkstation A is in VLAN AA Server A - 55.55.55.10 IP Address Server A is in VLAN BB IP Subnet B Mask: 255.255.255.0 Workstation B - 55.55.66.5 IP Address Wkstation B is in VLAN BB Server B - 55.55.66.10 IP Address Server B is in VLAN AA Will a packet from Workstation A going to Server B (same VLAN, different IP subnet) get routed or not?
|
Answer : VLAN vs IP subnets and routing
|
|
Since you have no router and asuming the ip stacks on the hosts are are true IP hosts supporting the RFC that allows subnetting there is no connection between the two ip subnets. So in this case WS A wont connect to server B since they are configured for seperete subnets.
If on the other hand, your hosts (WS A and server B) dont support subnetting they will be able to connect. (This is because you are using an Class A address with the broadcast address of 55.255.255.255)
VLANs and IP subnets are two totaly different things, and should not bee compered as you.
|
|
|