Questions tagged [layer3]

For questions about the OSI layer-3 (network layer).

Filter by
Sorted by
Tagged with
38
votes
3answers
114k views

What is the difference between MSS and MTU?

I'm confused as to the difference between maximum segment size and a maximum transmission unit. Can someone please explain in relation to layers 2 and 3? If I had a packet of 800 bytes in the ...
8
votes
3answers
5k views

Does a switch understand packets? If yes, what is the frame terminology for?

I was a little confused between packet and frame. The confusion was based on, if a switch is a layer 2 device, how does it reads a packet from a layer 3 device, and where is the 'frame' thing which is ...
10
votes
3answers
1k views

What is a “Layer 3 Switch”?

What is a "Layer 3 Switch"? I essentially understand the OSI model, well maybe I don't and maybe that is why I don't understand. Its just that I don't see how/when/if a "managed switch" becomes a "...
2
votes
2answers
781 views

Why do transport layer do data chunking. If there is fragmentation in Network Layer

I just curiously wanted to know about the question regarding L4, L3 Data Chunks, IP Fragmentation : Data chunking happened at Layer 4(Transport, TCP), and Fragmentation at Layer 3(Network, ipv4) ...
7
votes
5answers
3k views

Why is the ICMP protocol considered to run at layer 3 on the Wikipedia page?

Why is the ICMP protocol considered to run at layer 3 on the Wikipedia page (same layer as IP) when the ICMP protocol data is a payload of the IP packet? This is the article on Wikipedia that states ...
5
votes
5answers
389 views

What blocks a computer from another network in the same switch from answering an ARP request?

Let's suppose I have 3 computers A, B and C connected to the same switch with only the native VLAN active. A and B belong to the same network, let's say that their IP addresses are 192.168.1.1/24 for ...
5
votes
3answers
2k 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
6answers
797 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 ...
18
votes
3answers
8k views

What do TCP/UDP add to “raw ip”?

I know that both TCP and UDP are built on top of IP, and I know the differences between TCP & UDP, but I'm confused about what exactly "raw ip" is. Would it be fair to say that TCP & UDP both ...
19
votes
6answers
62k views

What, exactly, is required to make Airplay work across VLANs? [closed]

It seems like AirPlay works out-of-the-box, vaguely speaking, only within a LAN. It's not clear to me exactly why, but it looks like at least discovery relies on broadcasts. Wikipedia states that ...
9
votes
4answers
3k views

Advantage of layer 3 switch over Router

What is the advantage of Layer 3 switch over the Router ??
8
votes
5answers
619 views

Why is the IP layer aware of higher layers in the network stack?

In the IP packet header there is an 8-bit Protocol field (at offset 9) that holds the "next level protocol", with assigned numbers given in RFC 790. For example, TCP is 6. My question is, why is the ...
5
votes
1answer
328 views

Optimizing Network Topology

Recently I wish to split the network by VLANs. Mainly for two reasons Exclude management interfaces from the commonly accessible lan Separate WiFi traffic (security and broadcasts) The current idea ...
12
votes
1answer
23k views

RIB vs FIB differences?

Can someone explain the differences between a RIB and FIB a little further? I didn't see any similar questions on the site so I thought this would be a good addition. The RIB routes and the FIB ...
4
votes
2answers
707 views

Can I Use BGP as an IGP - Multisite w Redundant Layer 3 MPLS WANs

The requirements are Hundreds of sites. Each has a router and firewall and a switch stack. Layer 3 MPLS WAN with BGP to provider VRF. BGP as an IGP? iBGP Would you distribute a public ASN across all ...
12
votes
1answer
2k views

Can a router send ARP requests to hosts?

I play with libpcap in C recently to create an arp sniffer program that captures arp requests on the air. I came up with a strange effect. I captured arp requests from my router. I don't know if this ...
4
votes
3answers
1k views

How does a router a layer 3 device translate port address in PAT, as it is a layer 3 device?

While I was reading about PAT i.e Port Address Translation.The router was configured to translate all the private IP addresses to one single public IP.Since router is a layer-3 device, it can do that ...
4
votes
3answers
886 views

What practices/ mechanisms/ protocols can be used to secure communication on physically exposed Ethernet links?

Given that Ethernet cables are everywhere and use for all kinds of links and it is assumed they are physically guarded, hence typical installations do not leverage any "secure" mechanisms. Let's say ...
3
votes
3answers
7k views

D-Link L2 & L3 Network Setup

I'm currently setting up my new network using D-Link DGS-1510 series gigabit stackable smart managed switches. It is the first time i use this L2 & L3 switches and I'm trying to setup the ...
3
votes
4answers
1k views

Should I receive an ARP reply from a host that is logically on a different subnet but is connected to my host via a hub?

Host A: 128.238.66.100/16 Host B: 128.238.67.100/24 The hosts are connected to the same hub and nothing else is connected to that hub. The routing and ARP tables of both hosts are empty. Host A ...
2
votes
2answers
557 views

IP Fragmentation

When Device A sends an IP datagram toward Device B, the IP Layer of Device A computes if it must or not fragment the IP datagram to fit the link MTU. Sent to the next hop, the process will be repeated....
1
vote
2answers
331 views

Two Layer 3 Switches to one router

So I have a cisco 2811 router and 2 3560 switches Currently the router is connected to Core1 only, what i would like to do is use the other port on the router (fa0/1) to connect to Core 2. How do I ...
1
vote
1answer
15k views

How can I apply an ACL to interface on a Layer 3 switch?

I try to accept ACL on L3 switch inteface. I've created standard ACL via: SW-L3(config)#access-list 1 permit host 1.1.1.2 SW-L3(config)#access-list 1 permit host 1.1.1.3 Then i tried to execute this,...
0
votes
1answer
223 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 ...