vlan and subnet question

Unanswered Question
Jon Marshall Tue, 05/15/2007 - 06:53
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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

Danilo Dy Tue, 05/15/2007 - 06:55
User Badges:
  • Blue, 1500 points or more

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

Jon Marshall Tue, 05/15/2007 - 09:07
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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

Actions

This Discussion