Stevehewitt
IS-IT--Management
Hi Guys,
Bit new to VLAN's so please bare with me!
Sure this is a stupid question, but I've always thought of L3 devices as routers, and whilst I get the principle of VLANs, I don't quite get how the devices between VLANs communicate without a router between then when using port based VLANs.
I have a network of 172.16.0.0/16 at the moment, running over L3 ProCurve switches.
If I create a new VLAN with a single node on 192.168.0.0/24, then what would the default gateway be?
E.G. I have Server A on 192.168.0.1 (VLAN 10) and plugged into another port I have Server B on 172.16.0.1 (VLAN 20).
I also have a router off another port on 172.16.0.254 (VLAN 20) - however the router only goes off to the internet. (e.g. LAN is 172.16.0.254 plugged into my L3 switches, and the WAN is plugged into a leased line)
Server B (172.16.0.1 - VLAN 20) has a gateway that points to the router on the same subnet (172.16.0.254) so it can access the internet.
What if Server A (192.168.0.1) wants to access a resource on Server B (172.16.0.1)? Does Server A have a default gateway of the router on 172.16.0.254? But it's on a different subnet...?! Same if Server B wants to access something on Server A - server B will just pump it out to the default gateway being the router - but the router only has a route to the net and to it's own 172.16.0.0/16 network...?!
Does this even make sense?!
Cheers in advance,
Steve.
"They have the internet on computers now!" - Homer Simpson
Bit new to VLAN's so please bare with me!
Sure this is a stupid question, but I've always thought of L3 devices as routers, and whilst I get the principle of VLANs, I don't quite get how the devices between VLANs communicate without a router between then when using port based VLANs.
I have a network of 172.16.0.0/16 at the moment, running over L3 ProCurve switches.
If I create a new VLAN with a single node on 192.168.0.0/24, then what would the default gateway be?
E.G. I have Server A on 192.168.0.1 (VLAN 10) and plugged into another port I have Server B on 172.16.0.1 (VLAN 20).
I also have a router off another port on 172.16.0.254 (VLAN 20) - however the router only goes off to the internet. (e.g. LAN is 172.16.0.254 plugged into my L3 switches, and the WAN is plugged into a leased line)
Server B (172.16.0.1 - VLAN 20) has a gateway that points to the router on the same subnet (172.16.0.254) so it can access the internet.
What if Server A (192.168.0.1) wants to access a resource on Server B (172.16.0.1)? Does Server A have a default gateway of the router on 172.16.0.254? But it's on a different subnet...?! Same if Server B wants to access something on Server A - server B will just pump it out to the default gateway being the router - but the router only has a route to the net and to it's own 172.16.0.0/16 network...?!
Does this even make sense?!
Cheers in advance,
Steve.
"They have the internet on computers now!" - Homer Simpson