Studying for CCNA: need some clarification

TheDude05

Limp Gawd
Joined
Jan 27, 2005
Messages
393
I just have a couple questions in regard to ip and Ethernet.

1) Am I correct in saying that both Ethernet and IP have their own respective broadcast domains?

2) If so, when is an ethernet broadcast used?

3) If I'm broadcasting to my IP subnet, does that mean in all reality im just using an ethernet multicast?

4) And finally, technically if two computers are in different subnets but are on the same switch, what keeps them from communicating using just regular ethernet frames?

I guess i'm just kind of having a hard time deciphering when Ethernet is used and when IP is used. Obviously if you're routing you use IP, but what keeps me from just setting a manual arp setting to a mac address in a different subnet and communicating that way? Thanks in advance
 
im currently studying ccna too... ill try and have a go at helping you out, if i get anything wrong im sure some more knowledgeable people will be along to help out.

i think you are getting yourself confused between logical and physical addressing.

sure there are broadcast addresses for both ip and ethernet... broadcast addresses at the ip level are represented by octets of 255 and at the ethernet level by ff:ff:ff:ff:ff:ff

i think its important for you to remember the 7 layer osi model here.

ill now have a stab at answering your specific questions...

1) a broadcast domain is an entity.

at the ip level it could be represented as follows: network 192.168.1.0 with a subnet mask of 255.255.255.0 - this would give a broadcast address of 192.168.1.255 meaning that if you wanted to communicate with all hosts on the 192.168.1.0 network that would be where you would address the packet to.

at the ethernet level (once the network equipment has passed it from the network layer down to the data link layer) it gets sent to the ethernet address ff:ff:ff:ff:ff:ff which means all attached stations in the broadcast domain.

a broadcast domain is essential the portion of the network that would receive the packet if it were addressed to the broadcast address - this includes all hosts attached to hubs or switches, or essentially everything out one port of a router. remember, routers dont forward broadcasts, other than specially crafted broadcasts (e.g. dhcp discover) which they are specifically configured to forward.

2) i think i have answered this question above also, but to clarify: ethernet is just the next layer down in the osi 7 layer model. layer 3 hands the ip broadcast down to layer 2 which hands the ethernet broadcast down to layer 1 and so on and so fourth.

3) i think you are getting your terms mixed up. multicasting is a special protocol using special addresses outside the regular class a/b/c addressing ranges. in essence:
unicast = 1:1
multicast = 1:many
broadcast = 1:all

4) again, remember you 7 layer osi model. for network communication to occur you have to go down the layers and back up again. two computers on the same switch in different subnets would not be able to communicate using tcpip. unless of course the switch was a layer three switch and was configured to route between the subnets.

hope this helps!
 
After reading some more, looking at some wireshark sniffed packets and reading your post I feel little clearer now.

The big thing that was throwing me was the fact that is it IS possible to send raw Ethernet frames to anyone on your side on the router, but they'll just be dropped based on the network layer header. From my understanding this is what VLANs do in terms of security by shrinking your broadcast domains into smaller virtual lans making it impossible to send a random Ethernet frame to another vlan.

And as you stated before, when an IP broadcast is sent out, the mac destination is also its broadcast so everyone on the backside of a router will get it regardless of its layer 3 address. Again this is where VLANs come into play with security and bandwidth. (If im correct in my thinking)

I read somewhere on the internet that really helped me with physical addresses versus logical. Assuming L3 is IP, IP is more concerned about the final destination of the packet, whereas L2 is more concerned about its next hop. So for example if I'm contacting a node on another subnet, my destination address for L2 is not the mac address of the node, but instead is the mac of the gateway router. Then the router strips the Ethernet header and eventually new one gets applied. But my L3 address wont ever change unless under certain circumstances like NAT.
 
Back
Top