Compare cert salaries and plan your next career move
jscimeca715 wrote: » I have a quick question about VLAN's. If a host in VLAN 2 sends a frame to a host in VLAN 1, the host logic tells it to send it to a router first correct? Then the router will check it's ARP table and send it to host in VLAN 1? I'm currently studying for CCENT so this may not be something I'm tested on, but I want to make sure that I understand it. If that is the case...is it a good comparison to say that a VLAN is like a virtual LAN connection on a router? The only difference being that the VLAN's are implemented at Layer 2, so all Layer 3 addressing rules stay the same?
jscimeca715 wrote: » I don't quite follow what you mean by "(from it's mask)"?
networker050184 wrote: » If you had two IP addresses how would you go about finding if they were on the same subnet?
jscimeca715 wrote: Still not following. IP addressing rules state that any hosts connected to a router on the same LAN use the same mask correct?
hypnotoad wrote: » You're right. A host in VLAN2 knows (from its mask) that the host in VLAN1 is outside of it's local network, so it sends the packet to the router instead.
rwwest7 wrote: » A host doesn't know anything about VLANs. If 10.10.10.8/24 sends something to 10.10.10.9/24, then it sends it directly without using the router. If it's trying to reach 10.10.11.9/24, then it sends it to the router. Then it's the routers job to find the final destination. This all has nothing to do with VLANs though. Think of VLANs as a way to take one physical switch and turn it into many differant "virtual" switches. You do need a router to route between VLANs, but a host does not know or care what VLAN it's on.
jscimeca715 wrote: » Still not following. IP addressing rules state that any hosts connected to a router on the same LAN use the same mask correct?
jscimeca715 wrote: » So if the hosts are in the same subnet, but attached to different ports on a VLAN they packet will have to be forwarded to the router only to be forwarded out the same port but different vlan correct? I'm studying for the CCENT so right now it's only theory related, so I don't need to know any encapsulation commands or anything. Just a visual representation of the path it takes. I'm understanding it this way. Host to router (VLAN 2), router to host (VLAN 1).
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)
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), the switch checks it's mac-address-table for the destination, if its found it's unicast/forward if it's not found it's broadcast/flood to every port except the port which the request came from. You might need to practice more using cisco switch/router or simulator, so it can be clearer just my 2 cents.
rwwest7 wrote: » If you had same subnets on differant VLANs, wouldn't the host attempt to send the data straight to receiving host (same subnet, so it won't even use the router), but the arp broadcast would get blocked at the router. So even though they're on the same subnet, they wouldn't be able to communicate since broadcast traffic is blocked between VLANs? Isn't the whole point of VLANs to seperate broadcast domains, and don't host on the same subnet communicate through initial ARP broadcasts?
MikeInMoseley wrote: » I've not heard of that before, surely a VLAN is a broadcast domain so therefore you have to have seperate subnets for the VLANs, you can't have one subnet spread across to two VLANs? Maybe I've misunderstood this?
jscimeca715 wrote: » I am beyond confused right now. I'll go back and run some tests to try and figure it out. Thanks for your help everyone.
rwwest7 wrote: » VLAN's aren't on the CCENT. I have my CCENT test scheduled for March 10th, good luck to you on the 7th.
jbaello wrote: » This is inaccurate, I can have a Class C /24 network and distribute them across different VLAN. what if I have a Class C /21 2046 hosts and I'm not able to segment them? it will literally slow down the network and overwelm the switches goes the saying clients receiving broadcasts reply with another broadcast that's why we create VLAN or subnet. By "default" No traffic pings, broadcast, datapackets they cannot cross from one VLAN to another unless a routing process gets involved. But I'll go and test this tonite again, a skepticism is creeping up my premises :P
EdTheLad wrote: » Jbaello think you need to go back and study subnetting before you move to switching as you're posts indicate a hugh knowledge gap. If you had a /21 network address you would break it up into multiple subnets, then you would design the network so that each subnet corresponds to a unique vlan id. If in your design you are planning on assigning hosts within the same subnet range to different vlans(i.e. connect them to switchports which are configured on a different vlan) then you're crazy, why would you want to do this? Wouldn't it be better to readdress the hosts so that they are in a different subnet with a unique vlan.
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?
dynamik wrote: » I was just teasing; the subnetting tension seemed to be running high
Compare salaries for top cybersecurity certifications. Free download for TechExams community.