Compare cert salaries and plan your next career move
A.P.A wrote: » Just think of a VLAN as a virtual\logical segmentation of hosts over a L3 boundary. If two sites were physically seperated you would have a router in between correct? Which also means you would seperate them at L3 meaning they would have two totally different subnets. Can have the same subnet mask but based on this subnet mask their network address\range would be given, which will be different between the two sites. Why would this differ when creating a VLAN? You are essentially creating the same seperation as the above physical example... the hosts are living in the same location but you still want them logically seperated at L3. To answer your question..... You would never have a subnet spanned across two VLANs... because to route between VLAN's you need a VLAN interface either living on a router or Multilayer switch, and if you tried to create two VLAN interfaces on these devices with the same subnet on each it will result in an EPIC FAIL!!!! Now I'm not being critical here -> But get stuck into ICND2 and it will all make sense... I think you may be getting ahead of yourself as CCENT as basically all L1 and a bit of L2 stuff correct???
A.P.A wrote: » wtf? Where has my avatar gone.....
jbaello wrote: » I believe I answered this already, and the answer is yes the router gets involved. When both hosts are in the same subnet or the same VLAN (remember they can be in the same subnet but different VLAN, in this case router gets involved again)
jmc012 wrote: » Just trying to get this straight in my mind. If you were trying to configure two vlans to communicate on a router with the same subnet there would be no way the router would let you since you need to have a separate subnet for each interface. You would just get the overlap message. Just wondering how the router would get involved? Thanks
rwwest7 wrote: » It's not that the router wouldn't let you, it's just that VLANs are designed to seperate broadcast domains. Hosts on the same subnet use ARP broadcasts to communicate. If you're on seperate broadcast domains, then you cannot communicate. As someone pointed out earlier, the only time you would ever have one subnet on two seperate VLANs would be for very specific security reasons. Routers don't "route" between VLANs. They use a routing table that is based off ports and IP address, no VLANs mentioned.
jmc012 wrote: » Yes, they do route between vlans. You need to use the encap dot1q trunking protocol set up on the router interface.
rwwest7 wrote: » Yes,but are VLAN numbers used in routing decisions. The router doesn't say "This packet needs to go to VLAN 20, what interface is on VLAN 20?" Isn't is more like " This packet needs to go 10.10.10.80. What interface will get me to the 10.10.10.0 network?" and it just so happens that the 10.10.10.0 network is off the VLAN 20 interface, if we've set up the VLANs correctly?
dynamik wrote: » You can't have /21 on a class C. I thought it was a typo the first time, but you did it again. Wait, am I being too critical too?
rwwest7 wrote: » That's great. Now show me a routing table (what the router actually uses to route) that has vlan numbers in it.
jbaello wrote: » To all the experts and CCNP, I just wish you guys would realize that this is CCNA/CCENT thread :P I mean some ideas we have might sound convoluted that's because it's theory it's never going to be used at a production environment, I don't think there's alot of people that got a network engineer position with a CCENT certification and actually configured the companies network, so it would be nice to limit your post beyond the scope, cause it's driving noob people like me crazy lol... just my 2 cents... I know you guys are really experts right?
rwwest7 wrote: » Isn't is more like " This packet needs to go 10.10.10.80. What interface will get me to the 10.10.10.0 network?" and it just so happens that the 10.10.10.0 network is off the VLAN 20 interface, if we've set up the VLANs correctly?
mikej412 wrote: » While it makes sense to have each VLAN be a single subnet -- there is no networking rule or law that requires it.
mikej412 wrote: » Correct. And..... Usually you will assign one subnet to 1 VLAN..... but as I stated in another post... So while someday you may see a subnet split between a couple VLANs or multiple subnets assigned to the same VLAN -- it won't be on the CCENT exam. The use of "colorful language" is only authorized in the first instance, not the second.
Compare salaries for top cybersecurity certifications. Free download for TechExams community.