05-15-2007 06:44 AM - edited 03-05-2019 04:04 PM
hi!
For a network environment with multiple vlans tied with subnets, what would be the different if i've created an subnet without assigning any vlan into it compared to vlan with subnet? Does that meant that subnet is not acessible by any existing vlan?
05-15-2007 06:53 AM
Hi
No not necessarily. A subnet might not exist as a vlan, it could be a point to point link between 2 routers or L3 switches for example.
But generally a subnet on a L3 switch is tied to a vlan. Even if the L3 interface is on a router, the router interface will connect into a switch. You could then connect hosts into that switch and as long as all the ports are in the same vlan they could communciate with the router etc. Even thoughy you haven't created a vlan interface you are still tying a subnet to a vlan to all intents and purposes.
HTH
Jon
05-15-2007 06:55 AM
Hi,
If you are only using a switch (L2 or L3) in a network, you need a vlan for every subnet (loopback is a host not a subnet).
However, if your network is mixed switch, router, firewall, and hub. You can create subnet without a vlan, for example the subnet is connected to a hub in which the firewall or router is the gateway. To be able for subnets to reach each other (vlan or no vlan) make sure that you route them properly.
Dandy
05-15-2007 07:25 AM
hi! Can i summarized that:
subnet without tying to any vlan
- applicable to connection between 2 direcctly connected network devices.
- host connected to a single switch
Subnet tying to vlan
- can span multiple switches, routers using routing protocol.
05-15-2007 09:07 AM
Hi
It's a bit of a difficult one. If you are using a switch even a point to point link will utilise a vlan in one sense ie.
router1 -> 192.168.1.1 -> Switch1 -> 192.168.1.2 (router2)
Even here the two switch ports would need to be in the same vlan.
However if you used a crossover cable to connect the routers or the line was a serial connection between the 2 routers then you would not be using a vlan.
A host connected to a switch would still be in a vlan. A host connected to a hub would not be. A subnet can span multiple hubs without there being a vlan although hubs are not widely used these days.
Hope this clarifies things
Jon
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