Questions tagged [layer3]

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

Filter by
Sorted by
Tagged with
33
votes
3answers
94k 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 ...
7
votes
3answers
4k 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 ...
9
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 "...
5
votes
2answers
4k views

How does a layer-2 switch work with UDP?

If UDP and/or TCP send packets via IP to an Internet Protocol Address, how can a layer-2 switch forward these? Is this possible or do you need a layer-3 switch?
3
votes
4answers
152 views

Need of routers and IP addresses

I dont know if my research is enough or not but I could not find answers on the net. My question is why not use bridges instead of routers. We know bridges can connect two different networks. Using ...
6
votes
4answers
2k 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 ...
3
votes
3answers
422 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 ...
17
votes
6answers
55k 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 ...
7
votes
4answers
496 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 ...
4
votes
1answer
283 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 ...
10
votes
1answer
11k 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
561 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 ...
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 ...
6
votes
4answers
3k views

Advantage of layer 3 switch over Router

What is the advantage of Layer 3 switch over the Router ??
4
votes
3answers
562 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 ...
4
votes
3answers
813 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 ...
3
votes
3answers
6k 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 ...
2
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
3answers
631 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 ...
1
vote
1answer
203 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 ...