A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [layer2]

For questions about the OSI layer-2 (data-link layer).

Filter by
Sorted by
Tagged with
1
vote
1answer
32 views

2 machines can have the same link-local address, in the correct context. What context?

I don't get in what context multiple interfaces/machines can have the same link-local address. Thanks in advance.
2
votes
1answer
38 views

Query on PTP Transparent Clock

I had a query in PTP Transparent Clock(TC), Please consider the below picture for my question. I will try to express my question with the help of a real world example Say, two places Place_A <----...
0
votes
1answer
197 views

Why is default gateway in routers configuration usually set as an IP address?

I mean why not just: a MAC address? It should eliminate the need in ARP requests asking for gateway address. Also it should eliminate the need in changing IP addresses in settings when gateway IP is ...
2
votes
1answer
64 views

What is the purpose of native VLAN on a trunk link?

Most VLAN articles I've read recommend avoid using VLAN1 for ports with untagged traffic (aka access ports). I've heard enough of this nonsense. Except for the reserved values of 0x000 and 0xFFF, a ...
4
votes
2answers
437 views

Is a datagram from an upper network layer converted 1:1 to one of the lower layer?

I know datagrams from upper layers are converted to those of lower layers by adding metadata, but I cannot seem to find this information anywhere. Which one of the below is correct? A single TCP ...
0
votes
1answer
59 views

Logical Link Control (LLC) vs Medium Access Control (MAC)

What differs the LLC sublayer from the MAC sublayer? From what I've understood - The MAC sublayer does what the PHY layer should be doing: detection (error, collision), channel listening, analog-to-...
0
votes
1answer
33 views

Unicast Adjacency Routes Nexus (AM) Cisco Nexus

I have an odd situation. There is static route on my Nexus 7700 that routes anything for specific subnet /24 to a F5 LTM Load Balancer, external VRRP interface 10.x.153.15. As you can see below, ...
1
vote
2answers
80 views

Clock Synchronization in a Network

I had a query in Clock Synchronization in a LAN.. If we already have clock synchronization in a network with the help of preamble field in an Ethernet frame. Why should we need still protocols such ...
1
vote
1answer
52 views

Is TCP aware of MAC adress

lets say I would like to make connection between client and server on port 80. Is 3 way handshake aware of server MAC address? I mean: client send SYN data packet to specific IP:port and MAC. In ...
0
votes
1answer
59 views

Is there any fixed version of CSMA/CA?

I was trying to understand exact algorithm for Carrier Sense Multiple Access / Collision Avoidance mechanism from Forouzan's book. The book gives very detail explanation of topics. However explanation ...
0
votes
1answer
60 views

What is the theoretical difference between the link layer and the network layer?

I have run into this problem again and again and have never found a sufficient answer to this question. I want to understand the fundamental, theoretical difference between a layer 2 network and a ...
0
votes
1answer
37 views

N2K-C2248TP-1GE question

We are working with Cisco 2960 and Cisco 4948 switches as our top of rack switches and we want to purchase some N2K-C2248TP-1GE , and connect N2K-C2248TP-1GE to our edge switches, (our edge switches ...
0
votes
3answers
84 views

Regarding Cisco's hierarchical network design

why routed ports usually implemented between the distribution layer and the core layer ? why not just extend the layer 2 domain to the core layer ? is the other design model more practical than this ...
2
votes
2answers
279 views

Router on a stick not connecting 2 different VLANs

I have a setup which requires two different VLANs to be able to ping one another. I have a setup with 2 - layer 2 switches and a router that has defined sub-interfaces, and for the life of me, I ...
0
votes
1answer
25 views

Broadcast Timer [duplicate]

This question is regarding in the process of L2 MAC Address learning. As we know, if a sender sends a packet to some receiver host which switch doesn't know, it will broadcast for learning. Assume an ...
1
vote
1answer
139 views

Ping across VLANs using layer 2 switch

I'm trying to ping one PC on one particular VLAN (VLAN 80) from another PC on a different VLAN (VLAN 50). I have a layer 2 switch (Cisco 2950T), so I can't do it from within itself. How would I be ...
0
votes
2answers
129 views

Different MAC addresses [closed]

What happens if a host on the network receives an IP packet with a MAC source address that differs from the MAC address in the local ARP table for that source IP. The ARP table entry for that IP was ...
2
votes
1answer
50 views

What's the LAG interface period be if the two switches have different periods set

Considering a LAG interface between two devices A and B, A is configured to have LACP fast transmission and B to be LACP slow what would be the resulting aggregate interface's period be?
1
vote
2answers
137 views

Is a “LAN” a layer 2 or a layer 3 concept, in TCP/IP?

I think my question is purely theoretical and a matter of definitions; it derives from the fact that a L2-switch with VLAN capabilities is able to "create" different virtual LANs, and thus I am led to ...
4
votes
3answers
229 views

JunOS, access mode interface asks for a vlan

I'm kinda new to networking so I'm going to do my best to try explain my issue. The issue that I have is that I want to delete all default configuration for my xe interface. Current configuration: ...
0
votes
1answer
77 views

Layer 2 and Layer 3 traffic with one cable

Hers the topology. L2 switch L3 switch Router There are 2 VLANs. One VLAN ends on the L3 switch 1 VLAN on the router. Here is the question. Can i connect the L3 switch and the router with just 1 ...
3
votes
1answer
53 views

Bit stuffing and Error correction combined

If I understand correctly both error detection/correction and framing are done at the link layer. I understand how popular error detection/correction and framing techniques work. But I struggle with ...
3
votes
2answers
244 views

What are neighboring ports?

I know this is as basic as it gets but I can't find a direct answer to this question. Are they ports on two different switches (or routers) that are connected by a cable? Are they the ports ...
1
vote
1answer
230 views

Flooding vs Unknown Unicast Flooding

Can someone clarify what is the difference between Flooding and Unknown Unicast Flooding? Is it the same thing or it contains different meaning? I'm aware that Flooding happens when a switch ...
3
votes
1answer
839 views

Difference between Giant Frame and Jumbo Frame

Can someone enlighten me the difference between Giant Frame and Jumbo Frame? From what I hear, Giant frame is a frame with the size greater than 1518 Bytes excluding Preamble, Frame Delimiter and ...
3
votes
3answers
539 views

Collision domain question

I'm studying for my CCENT exam, and 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? The hub on the left, the hub in the ...
6
votes
2answers
950 views

What precisely is a link?

When reading about layer 2 the word "link" is frequently used but strangely I'm struggling to find a formal definition of it. What is the precise definition of a link? So in the image below, how many ...
0
votes
1answer
73 views

Wireshark remote hosts

I configured a rip network. I connected two PCS to router 1, router 1 is connected to router 2 and PC 3 is connected to router 2. When I pinged PC 3 and looked at this in wireshark, in the source it ...
0
votes
1answer
107 views

sequence number layer 4 vs sequence number LLC layer 2

I had read about TCP in layer 4 where sequence number and acknowledgment numbers were assigned to each segment so that each side of the connection could keep track of the process of sending/receiving ...
2
votes
2answers
141 views

Please help me understand this simple arp request / reply - how does a router know an IP address without knowing the MAC address?

I am new to networking, I am using Wireshark on my home PC to learn about ARP. I understand that ARP is used to build the ARP cache, which correlates IP addresses to MAC addresses on a LAN. ARP ...
3
votes
2answers
79 views

How does ethernet understand what is the upper layer? What are the values in Ethernet II field?

How does ethernet understand what is the upper layer of a frame? What are the values in Ethernet II field? Ethernet is in data link layer, so the upper layer is network layer. When processing at ...
3
votes
1answer
571 views

MAC Table vs ARP

I understand that for a switch to learn a MAC address, if host A wanted to send data to Host B the switch learns host A MAC and places it in the MAC table. If it doesn't know where the MAC (for Host B)...
1
vote
1answer
63 views

Dhcp Broadcast Through Switches

Think of a pc connected to switch1. Sw1 is connected to sw2(trunk port on both switches) and sw2 is connected to a router(dhcp server). Pc sends a dhcp broadcast. Does sw1 passes the broadcast through ...
0
votes
1answer
164 views

Does the PHY signal interframe gap to the MAC?

I'm trying to decode an Ethernet II frame with type instead of length indication. Theoretically this should be done by receiving and storing the data between start of frame and interframe gap. However ...
2
votes
1answer
74 views

DHCP Broadcast on SVI

Think of a dhcp broadcast going through multiple switches. What happens to that broadcast when it reaches the vlan interface (svi)?
3
votes
3answers
823 views

Is it possible to perform a Layer 2 (MAC address) traceroute?

I understand the difference between layer2 & layer3 and MAC & IP. I understand address resolution protocol, etc. But is there any way to do a traceroute that will show Layer 2 information? For ...
2
votes
3answers
822 views

Does a router send frames or packets?

Perhaps it's a novice question, but does a router send/receive frames? When I read about this subject, it seems that routers decapsulate the frame on arrival, and encapsulate the packet in a frame in ...
2
votes
1answer
78 views

Is it worth the effort to split up in layer 3 with point to point links? [closed]

I have this technical question. With my family we have a little business. I got to provide internet access to three places, separated a few hundred meters each other. I need to allow to watch the ...
4
votes
2answers
700 views

Nexus 3172T MTU

I am attempting to set the L3 mtu on a Nexus port. The mtu option is only available if I set "no switchport" which then prevents me configuring VLAN related settings. Am I missing something obvious? ...
1
vote
2answers
33 views

How can subnets not fulfil symmetric property?

While studying Internet Protocol, I came upon the following example of two devices: Device A: IP address: 10.1.1.1 Subnet mask: 255.255.255.0 and Device B: IP address 10.1.1.200 Subnet mask 255....
6
votes
2answers
411 views

How to connect a special device in a network

I have a question which is puzzling me. I have a couple of custom electronic devices (are identical, one is a master and the other is a slave) which implement only up to level 2 of the ISO/OSI layer, ...
5
votes
1answer
407 views

How does STP convergence work?

Consider the IEEE 802.1D (first revision) Spanning Tree Protocol. I have read a lot of articles and forum entries about STP convergence. Often I do find contradictions about the convergence mechanics. ...
1
vote
1answer
570 views

Firewall on a stick for Intranet and static routing

I have a question about possible problems that can occur with this network design. If I have an intranet with a firewall on a stick design, multiple switches with layer 2+, is this setup fine? or ...
1
vote
1answer
243 views

Help with small office setup - Cisco SG350 28 port switch

I have very limited knowledge in Cisco IOS but in a crucial state to setup up a small office network. I have bought 2 Cisco SG350 28 port Layer 3 switch, Switches should be enabled with VLAN and VTP. ...
3
votes
2answers
943 views

L2 / L3 on CISCO ASR

I am new to CISCO and have the following problem: I have 3 routers. Between these only one physical connection. The VLAN 100 is connected to R1 and R2. The VLAN 200 is connected to R1, R2 and R3. The ...
1
vote
1answer
219 views

Why do I see “ethernet” keyword in my wlan0? [closed]

When I check my wireless network card interface with the command ifconfig wlan0: ether -my-mac-adress- (Ethernet) I just started to learn this stuff, but I thought Wifi and Ethernet are kind of ...
4
votes
4answers
1k views

Do layer 3 protocols use layer 2 protocols?

I saw the STP on layer 2. The guy that made the tutorial says at the end : Even though it seems that Layer 2 access layer solutions are slowly being replaced by blazing fast Layer 3 solutions. ...
4
votes
2answers
533 views

Spanning Tree on the interface that resides at end users

I do not understand why we use portfast and in fact STP on the interface of a switch that is directly connected to end users. Indeed, a user can interfere with the STP election and perform DDoS (that ...
5
votes
2answers
78 views

How the packet is routed between two host from same sub-net and associated with same AP?

Given host 'A' and 'B' have IP 10.10.0.5 and 10.10.0.8 respectively, the sub-net mask for both are 255.255.255.0, both 'A' and 'B' are associated and connected to the same AP, and the AP is connected ...
1
vote
1answer
68 views

Counting the Number of re-transmission for a single UDP packet transmission in IEEE 802.11?

I was working with a client-server project based on UDP and 802.11 as a link and physical layer. There, the client was trying to probe some packets in the wireless channel to gauge channel condition. ...