22
votes
Accepted
Can a router send ARP requests to hosts?
ARP is used by a host on a LAN to resolve a layer-3 address to a layer-2 address so that a frame can be built for the LAN. A router is just another host on a LAN, and it will need to resolve layer-3 ...
21
votes
Accepted
How LAN works in video games if only one station is permitted to transmit?
Only one device is allowed to transmit at any given time. At any other given time, another device is allowed to transmit.
How can you have a conversation at a dinner table if only person can speak at ...
18
votes
How LAN works in video games if only one station is permitted to transmit?
Some LAN protocols, on some media, are half duplex. That means that only one host on a LAN can send a frame at any given time. The classic example of this is the original ethernet, but the modern ...
18
votes
Why does PPP need an underlying protocol?
Why does PPP need a wrapping protocol?
PPP is not a layer-1 protocol, so it needs a layer-1 protocol to carry it. Protocols like ethernet are both layer-1 and layer-2 protocols, so PPP can use ...
17
votes
Accepted
VXLAN vs VLAN over layer 3
Yes, from the packet switching point-of-view, VXLAN is just a matter of sticking some encapsulation on top of an L2 frame: something that other protocols do as well.
The real difference it makes is ...
17
votes
How Does A Layer 2 Switch Differentiate Between Different Networks?
A (layer-2) switch doesn't care at all about the IP networks you run through it.
however, no normal traffic can occur between two nodes on two different networks.
That is correct. Different IP ...
14
votes
Accepted
RIB vs FIB differences?
The forwarding information base (FIB) is the actual information that a routing/switching device uses to choose the interface that a given packet will use for egress. For example, the FIB might be ...
14
votes
Accepted
Does a switch understand packets? If yes, what is the frame terminology for?
You need to understand the concept of layers.
An application will send data to the Transport Layer. The Transport Layer protocol will encapsulate the data inside headers for the Transport Layer ...
14
votes
Accepted
Difference between Giant Frame and Jumbo Frame
Generally, a giant frame is a frame that is too large for the receiving interface. As a malformed frame it is dropped.
A jumbo frame is a frame that is larger than the standard allows (1518 bytes for ...
12
votes
Accepted
Should I disable STP on my access ports?
You really, really do not want to disable STP where you connect switches to other switches. That is the entire purpose of STP. If you disable STP, and there is a problem, it will really be too late ...
12
votes
Why does PPP need an underlying protocol?
PPP is designed to ride on top of a byte-oriented, point-to-point physical-layer protocol like a simple modem-style serial link.
Ethernet is no simple serial protocol but it requires frame-level ...
11
votes
Accepted
Difference between routing, forwarding, and switching
In general, forwarding refers to a device sending a datagram to the next device in the path to the destination, switching refers to moving a datagram from one interface to another within a device, and ...
11
votes
Accepted
How is the Groupwise Transient Key used in WiFi networks?
Why then does the client need to encrypt the broadcast using the GTK?
It doesn't. Since the AP broadcasts, not the client, the client doesn't use the GTK to encrypt the frame. The AP does.
Why can'...
11
votes
Accepted
Do layer 3 protocols use layer 2 protocols?
Layer 3 (mostly IP) generally relies on the underlying layer-2 network (mostly Ethernet or Wi-Fi) for delivery. Just like a layer-2 network uses layer-1 links to actually move the bits.
The ...
10
votes
Why PPTP, L2TP, PPPOE are in OSI Layer2?
PPTP, PPPoE, and L2TP all provide OSI Layer 2 services. That is, the user of these protocols (usually, a network layer protocol suite) thinks it's running over a "normal" link layer. ...
10
votes
Accepted
Why preamble is not considered a part of the Ethernet Header?
Adding to jonathanjo's answer:
Ethernet has components in both layers 1 (because it can run over different media) and 2 (because the frames are the same on the different media).
The Preamble, SoF ...
10
votes
Accepted
What's use of Port Isolation vs traditional VLANs?
Port isolation -also called private VLAN (thanks @Stuggi)- is a very useful feature for switches that connect end users.
In a typical network you will have many end-users computers grouped together ...
10
votes
Accepted
Do we send ack frames in ethernet? if not then how does a router know if its neighbors are down or not?
No, ethernet is connectionless, as is IP, and if you use UDP, the application would need to perform any connection-related handshaking (if needed). Typically, it is the responsibility of the transport ...
10
votes
Does a router send frames or packets?
it seems that routers decapsulate the frame on arrival, and
encapsulate the packet in a frame in order to send it.
Yes. A router must strip off the layer-2 frame in order to get to the layer-3 ...
10
votes
Accepted
Collision domain question
not quite sure why the book (official Cisco) says that there are 5
collision domains in this example. Isn't it supposed to be 4?
No, there are five collision domains. each bridge/switch interface ...
9
votes
Accepted
What precisely is a link?
There is no single precise definition for a "link".
A link can be a physical layer connection, two ports connected by a cable.
A link can also be understood as general connectivity by data link ...
9
votes
Accepted
How Does A Layer 2 Switch Differentiate Between Different Networks?
The switch doesn't even "see" what is going on above MAC layer. However, hosts are usually configured to send packets to another IP subnet via a default-gateway IP address. So the hosts ...
8
votes
Posible to connect VLAN switch through dumb switch?
An unmanaged switch will only have one VLAN. Some unmanaged switches will drop tagged frames as damaged, others will strip the tag, and some will simply pass the frames unchanged. Unless you try it, ...
8
votes
Accepted
Is it possible to perform a Layer 2 (MAC address) traceroute?
But is there any way to do a traceroute that will show Layer 2 information?
Short answer: no.
Longer answer: traceroute exploits IP's TTL feature. There is no such concept in Ethernet, hence no ...
8
votes
Accepted
What are neighboring ports?
Most basic example of neighbor ports would be as you mentioned: "ports on two different switches (or routers) that are connected by a cable"
You won't find a defined definition for this phrase ...
8
votes
Accepted
Is a datagram from an upper network layer converted 1:1 to one of the lower layer?
A single TCP segment is always converted to a single IP packet by adding IP header, which is in turn converted to a single Ethernet
frame by adding Ethernet header (and footer). In other word, a
...
7
votes
Need of routers and IP addresses
Imagine you are connected to a bridge with 3 ports. One port is connected to your host; one connects to networks to the west of you, and the last one connects to networks to the east of you.
Now ...
7
votes
Accepted
What is difference between standard VLAN extended VLAN?
VLAN are introduced by the IEEE 802.1Q standard, which doesn't have this notion of standard or extended VLAN, nor made any difference between VLAN under or above 1005.
This is Cisco implementation ...
7
votes
Why preamble is not considered a part of the Ethernet Header?
The preamble is actually 7 octets,followed by a framing octet, the start frame delimiter (SFD). They just mark that a frame is coming and serve synchronisation purposes, they are not part of the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
layer2 × 400layer3 × 137
switch × 86
switching × 67
ethernet × 62
vlan × 52
routing × 44
mac-address × 44
cisco × 35
router × 32
osi × 31
layer1 × 30
arp × 23
spanning-tree × 21
wireless × 18
protocol-theory × 18
ip × 17
broadcast × 17
ieee-802.11 × 16
network × 15
lan × 15
networking × 14
layer4 × 13
mac × 13
tcp × 12