Questions tagged [layer3]
For questions about the OSI layer-3 (network layer).
319
questions
0
votes
2
answers
39
views
How does L2 switch forward tagged VLAN?
I am a student of networking and have a question. I am currently doing an internship / project at a school where they have 3 buildings. I will name them for now
A (subnet 172.16.x.x) --> Each with ...
0
votes
0
answers
23
views
Why are connected switches not a good substitute for the network layer? [duplicate]
Unless I am missing something, because switches can be chained together, I am not sure why the network layer is needed. Theoretically, one can dedicate a frame to any MAC address, and assuming there ...
0
votes
0
answers
18
views
Interpretation of the name of an ITU-T document
I'm reading a document that cites a standard called ITU-T SG 13 Q5 WG. I believe that SG 13 stands for Study Group 13 and Q5 refers to Question 5. However, I don't know what WG stands for. And most ...
1
vote
2
answers
276
views
Multiple hosts with same ip/subnet seperated by router possible?
Bit of a newb question but just curious if it can be done.
Is it possible to have multiple hosts with the same ip/subnet (eg 10.101.30.10/24) each seperated by a layer 3 switch/router, where one of ...
0
votes
3
answers
94
views
One layer 2 switch in the middle of router network
In general,
The connection should be like
PC---SW---ROUTER---Many ISP router---Router---SW---PC
so the packet will be from
layer 2 ---layer 3---layer 2
What if I put one layer 2 switch in the network
...
0
votes
0
answers
14
views
Are ARP messages always used for the process of "Flooding" even when layer-3 is not involved? [duplicate]
I'm new to learning networking so please bear with me.
I've learned that ARP messages and flooding are used to find mac addresses when IP addresses are involved.
I've learned that when the mac address ...
0
votes
2
answers
166
views
Is it possible to assign a default gateway per routing interface on a layer 3 switch
Here is the scenario. Currently there is a flat layer 2 network with a single /24 subnet. The intent is to segment that /24 using a layer 3 switch. On the /24 network there exists clients with ...
1
vote
1
answer
255
views
The use of a link local IPv6 address
In a networking course that I'm following, there was a mention of several ways of how IPv6 link local addresses can be used, such as
Assigning the link local address of a router/L3 switch as the ...
0
votes
1
answer
59
views
I am trying to wrap my head around NDP
I know before PC10 can ping PC11 it will use IPv6 Neighbor Discovery to resolve the Destination MAC address for layer 2 header.
But what would the DEST MAC ADDR be and what topics can I learn this
5
votes
2
answers
418
views
What does 'moving packets away from the source' in RPF means?
I recently started studying multicast and I am a bit confused by how reverse path forwarding is explained.
Most of the sources describe RPF as 'moving packets away from the source' but I understand ...
0
votes
1
answer
80
views
Packet tracer is changing my addresses ipv4
Could someone help me with this?
I have a subnet with the ip: 172.16.193.0 in the fastethernet 0/0 of my router and when I go to put it in RIP the Packet tracer is changing it for another ip:172.16.0....
0
votes
2
answers
132
views
Cannot get inter-VLAN routing to work
The router at the top is from the ISP and I have no control over things like WAN, NAT, etc.
Network 192.168.1.1/24 is fine, but I cannot get inter-VLAN routing between VLANs 1 and 55.
PC 1 cannot even ...
1
vote
1
answer
198
views
Why hosts have routing tables?
I don't understand why hosts in a network have a routing table. Aren't all packets sent by default to the switch, and the latter determines which port to forward the packet to based on the mac address?...
0
votes
2
answers
73
views
What does the network layer do at the receiver
My book (Andrew S. Tanenbaum, “Computer Networks”, Fifth Edition.) mentions while explaining the network layer that the key issue with a network layer is
determining how packets are routed from ...
5
votes
2
answers
637
views
Can a jumbogram (giant data packet) be used at a large scale (in WAN for example)?
There are many scientific paper for Jumbo frame, even more, some real implementations and deployments. But it is not the case for Jumbogram !!
Jumbo frame (geant frame) for Layer 2; Jumbogram (geant ...
1
vote
1
answer
345
views
Can a switch fragment a jumbo frame?
In all resources seen that tackle the term of "jumbo frame", I understand that it is applied in a LAN, because:
It's a Jumbo frame, and a frame is for Layer 2
These resources talk a lot ...
5
votes
2
answers
384
views
Does the IP header have a "Padding" field?
I found two images of the IP header, one image shows a field called "Padding", while the other image don't show the "Padding" field:
Which one of these two images is correct?
0
votes
2
answers
72
views
Where is priority for a particular frame set?
The Medium Access Control sublayer appends 3 bits for the priority of the frame. The possible choices for the priority are
Traffic Type
Priority
Background
0 (lowest)
Best effort
1 (default)
...
2
votes
1
answer
58
views
Configuring HSRP on multiple L3 devices
I am currently doing an enterprise campus network which consist of Three Tier hierarchy and a simple MPLS design.
Currently, I'm stucked at HSRP configuration on the Core Layer to the Edge Router. ...
0
votes
1
answer
129
views
Routing VLANs to Firewall Ports
My network has 3 VLANs: 10, 11, 12, and their address spaces are 10.0.X.0/24 where X is the VLAN ID. Their default gateway is a virtualized pfSense (even though it's virtual, I will use terminology as ...
3
votes
2
answers
1k
views
Is DHCP in the application layer or the network layer?
Tanenbaum's Computer Networks says:
5.6 THE NETWORK LAYER IN THE INTERNET
...
5.6.4 Internet Control Protocols
In addition to IP, which is used for data transfer, the Internet has
several companion ...
8
votes
6
answers
3k
views
How Does A Layer 2 Switch Differentiate Between Different Networks?
I know that different IP-based networks can be connected to the same layer-2 switch. and I know each network's nodes can communicate just fine, however, no normal traffic can occur between two nodes ...
1
vote
1
answer
209
views
ICMP codes in response to ICMP traffic, not UDP/TCP
I am trying to wrap my head around a concept and I am having some trouble. If I ping 8.8.8.8, 10.8.1.1 replies to me "Destination port unreachable".
Ping uses ICMP, so it does not have a '...
1
vote
1
answer
141
views
Ospf multicasting with two different group
Suppose I have one ospf network where two multicast group exists. And some routers is ospf which belongs to one group or multiple group (Like: routers E, H) and router is layer3 router (Like: ...
2
votes
1
answer
227
views
Custom option in IP header
I would like to add (or piggyback on an existing not used) a custom option to the IP header. I've full control of the IP stack at both end points, but I've no control on all the hops in the route (...
2
votes
1
answer
100
views
Fragments taking different routes?
I have trouble understanding why sometimes it occurs that during IP fragmentation certain fragments take different routes. I was following this the second example:
https://www.gatevidyalay.com/ip-...
1
vote
1
answer
111
views
How n level come to know the n+1 level contents?
Suppose in application layer is running some application. And application has respective source port number and destination port number. And know that n layer has no authentication to know about n+1 ...
0
votes
1
answer
34
views
Actually ICMP message makes layer3 reliable?
We know that ICMP is connectionless because it does not require hosts to handshake before establishing a connection.
But when packets gets dropped in between route then respective router informs the ...
1
vote
1
answer
195
views
Router could get packet of size more than 1500 bytes?
Suppose transport layer get the segment 4000 bytes from application layer at sender site. But we know maximum MTU in layer2(Ethernet) is 1500 bytes.
My question is so fragmentation is happening at ...
3
votes
2
answers
408
views
Time taken to complete a routing table update and possible interruption
I am wondering if a routing/forwarding table update at a switching node (e.x., a switch or layer-3 router) can cause momentary packet drop or increased delay for a data stream that will traverse this ...
0
votes
1
answer
91
views
Understand router Ip address and Mac address, Switch Mac address
Scenario:1
Suppose external Router R1 has interface a connected with interface b of the site Router R2. And Router R1 using IP address 80.0.0.0/8 for a. Router R2 has 4 subnets 80.0.0.0/10, 80.64.0....
2
votes
1
answer
90
views
Which ranges of IPv6 and IPv4 do requests to the local network and the host?
I'm looking for the range of IP address that is bound to the local network or the host itself.
So far for IPv4 I found:
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255....
1
vote
1
answer
50
views
Does a Transparent Firewall need a Default gateway if directly connected to a layer 3 device that is actively performing routing?
Good folks of the Network Engineering stack!
I have a question that I assume most people could answer in their sleep. To better illustrate my question, I've provided a sketch of my network below.
In ...
0
votes
2
answers
399
views
Acknowledgement, retransmission of layer2 is actually belongs to layer4?
I followed from this question understand that only transport layer responsible for acknowledgement. But I have read on book stop and wait, GBN, SR protocols uses acknowledgement, retransmission in ...
0
votes
2
answers
397
views
What is responsibility of different layers of OSI model and intermediate devices between sender and receiver when data packets are lost/corrupted?
Suppose sender sending some data to receiver and there are 3 routers between them. R1, R2, R3 are routers.
Now sender starts sending data packet D through it's AL, TL, N/W L, DLL,PL to router R1 ...
1
vote
2
answers
700
views
Does a gateway always have to be on the same subnet as the host IP address? [closed]
The obvious answer is yes, I suppose, but my VPS provider doesn't seem to agree.
I've just uploaded a Ubuntu 20.04 instance, and the provider is telling me:
IP address: 77.xxx.yyy.zzz/32
Gateway: 10....
1
vote
2
answers
224
views
Best way to configure layer 2 daisy chain with 2 layer 3 switches/gateways at either end?
I would like to implement a linear daisy chain for the purpose of transmitting internet over a considerable distance.
One motivation behind the use of a linear daisy chain for this problem is that ...
0
votes
2
answers
197
views
Could we use private IP address as directed broadcast address?
We know that private IP addresses ranges of class A, class B, class C are 10.0.0.0-10.0.0.255, 172.16.0.0-172.16.255.255, 192.168.0.0-192.168.255.255 respectively.
My first questions is that first and ...
1
vote
1
answer
170
views
Layer 3 switch as access switch
Is it possible to have Layer 3 switches at access level (meaning the PCs are connected to it) if multiple VLANs are spread out accross multiple switches? For example, VLAN 10 is present at SW1 and SW2....
1
vote
0
answers
68
views
Logs on my Cisco ASA show the public gateway (ISP router) is pinging the internal network, how? [closed]
Im (remotely) working with an issue where the network has intermittent drops. i suspect possible routing loop, but havent confirmed that yet.
In the logs of our Cisco ASA 5506, i see that the public ...
1
vote
1
answer
472
views
Does a router work both on Layer 2 and Layer 3? [duplicate]
According to TCP/IP model router works at Layer 3. But when data has to be transmitted to different network it is based on IP address but hop-to-hop transmission is based on MAC address.
That means ...
1
vote
2
answers
2k
views
What is the minimum MTU of IPv4 68 bytes or 576 bytes?
I read that 68 bytes is the minimum size of IPv4 datagram every device must be able to forward without further fragmentation.
576 bytes is the minimum size of IPv4 datagram every device has to be able ...
4
votes
2
answers
654
views
Why two routers connected via PPP don't use ARP but Ethernet requires ARP?
I have read from @Ron Maupin's answer of this question that your two routers are connected via PPP (this is not uncommon), ARP will not be used , but if the two routers are connected via ethernet, ...
2
votes
3
answers
498
views
Why does OSPF use flooding despite using multicast?
We know that flooding is only possible in layer2 switch. But in OSPF router in layer3 uses flooding with multicasting. Suppose we have one router in OSPF uses multicast address 225.0.0.9. If router ...
-1
votes
2
answers
192
views
How in Distance vector routing one router communicates adjacent router through broadcast address and OSPF uses unicast with another?
In distance vector routing algorithm one router can communicates(shared the routing table) with adjacent router by broadcasting message which are in same subnet. OSPF uses flooding to unicast message ...
1
vote
1
answer
142
views
Are IPv4 type of service and IPv6 traffic class equivalent to each other or is traffic class IPv6 specific? [duplicate]
IPv6 has a traffic class field. According to the specification it is an IPv6 length, out of which first 6 bits are called code point or differential services code point (DSCP) and the last 2 bits are ...
0
votes
1
answer
195
views
How UDP checksum get IP address to make pseudo header in transport layer?
We know that UDP checksum's pseudo header contains the most important parts of the IP header, that is, source and destination address, protocol number and data length.
I hope that the concept of IP ...
0
votes
2
answers
122
views
Why router can't be used for converting different model of network but gateway can do this?
We know that Router can't be used for converting different model (e.g OSI model to TCP/IP or TCP/IP model to OSI) of network. It isn't a multiprotocol converter. But gateway is a highly sophisticated ...
0
votes
1
answer
99
views
Does a router have multiple DLLs inside?
I came across a practice question of true/false answer type . The statement is:
"A router has single network layer that will interact with 2 Data link layers" .
Ans:True
(no explanation ...
1
vote
1
answer
73
views
How Pruning avoids loops in Protocol Independent Mulitcast (PIM- SM)?
I can not think of a scenario, how pruning avoid loops in PIM-SM when a router joins a SPT. I understood that it avoids duplicate messages, but how it avoids loops?
I want a scenario where the router ...