Skip to main content
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 ...
Ron Maupin's user avatar
  • 100k
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 ...
Jörg W Mittag's user avatar
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 ...
Ron Maupin's user avatar
  • 100k
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 ...
Ron Maupin's user avatar
  • 100k
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 ...
mere3ortal's user avatar
  • 2,426
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 ...
Zac67's user avatar
  • 86.4k
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 ...
rnxrx's user avatar
  • 6,134
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 ...
Ron Maupin's user avatar
  • 100k
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 ...
Zac67's user avatar
  • 86.4k
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 ...
Ron Maupin's user avatar
  • 100k
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 ...
Zac67's user avatar
  • 86.4k
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 ...
Ron Maupin's user avatar
  • 100k
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'...
YLearn's user avatar
  • 27.4k
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 ...
Zac67's user avatar
  • 86.4k
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. ...
Jeff Learman's user avatar
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 ...
Ron Maupin's user avatar
  • 100k
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 ...
JFL's user avatar
  • 19.8k
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 ...
Ron Maupin's user avatar
  • 100k
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 ...
Ron Maupin's user avatar
  • 100k
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 ...
Ron Maupin's user avatar
  • 100k
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 ...
Zac67's user avatar
  • 86.4k
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 ...
manish ma's user avatar
  • 1,694
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, ...
Ron Maupin's user avatar
  • 100k
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 ...
Zac67's user avatar
  • 86.4k
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 ...
DRP's user avatar
  • 1,491
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 ...
Ron Maupin's user avatar
  • 100k
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 ...
Ron Trunk's user avatar
  • 67.9k
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 ...
JFL's user avatar
  • 19.8k
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 ...
jonathanjo's user avatar
  • 16.3k

Only top scored, non community-wiki answers of a minimum length are eligible