Hi, this is my first post so I hope I'm doing it in the correct place, I've just started a CCNT course and I have a question, probably a silly one for you guys, can I subnet with VLANs ? I though the idea of subneting was kind of the same of VLANs, to keep networks in the same switch from accessing each other data, so, can I subnet with VLANs ?
But on a L2 switch, must every VLAN have a unique subnet ? If so, how is this "enforced"? Does the IOS software or switch firmware limit this. Or is it as simple as at L3 devices on different subnets cannot communicate even if these devices are on the same VLAN?
But on a L2 switch, must every VLAN have a unique subnet ?
There is nothing that actually enforces this ie. you can have -
1) multiple L3 subnets within the same vlan using secondary addressing on the L3 interface. This is usually seen as a temporary measure when you are migrating a vlan from one IP subnet to another.
2) multple vlans using the same IP subnet. You see this usually when you need to deploy a firewall or load balancer in bridged mode where the same IP subnet is used on either side but you need to use different vlans on either side to avoid a L2 loop.
But the above are exceptions. The recommendation is to use one IP subnet per vlan. It makes everything a lot easier in terms of design and operations.
If you did have multiple subnets in the same vlan but no secondary addressing then yes as you say, communication between the two subnets would not work properly even though they are in the same vlan.
[toc:faq]The ProblemOn traditional switches whenever we have a trunk
interface we use the VLAN tag to demultiplex the VLANs. The switch needs
to determine which MAC Address table to look in for a forwarding
decision. To do this we require the switch to do...
[toc:faq]Introduction:Netdr is a tool available on a RSP720, Sup720 or
Sup32 that allows one to capture packets on the RP or SP inband. The
netdr command can be used to capture both Tx and Rx packets in the
software switching path. This is not a substitut...
IntroductionOSPF, being a link-state protocol, allows for every router
in the network to know of every link and OSPF speaker in the entire
network. From this picture each router independently runs the Shortest
Path First (SPF) algorithm to determine the b...