Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 May 2011 21:22:28 -0400
From:      Brian Seklecki <bseklecki@probikesllc.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Link and network level in the tcp/ip stack
Message-ID:  <4DC5F054.4000308@probikesllc.com>
In-Reply-To: <4DC5CA83.6080009@locolomo.org>
References:  <214923.99033.qm@web111721.mail.gq1.yahoo.com> <4DC5CA83.6080009@locolomo.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 5/7/2011 6:41 PM, Erik Nørgaard wrote:
> So the question is which behaviour is correct, recommended or accepted?
> Stripping the link layer and reply according to the network layer, or
> keeping the link layer?

This is the way it in every TCP/IP stack out there.

The routing decision for the reply IP packet of the ICMP message is made 
independently of the upper-OSI-layer TCP state.

In this instance, its a bit inconvenient for you, but having these 
layers abstracted makes for incredible flexibility in TCP/IP; the same 
thinking as small POSIX utilities work independently is more flexible.

-- 
Brian A. Seklecki <bseklecki@probikesllc.com>
CE-Pro Bikes, LLC
412-378-3823 (m)
PGP Key Available Upon Request



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4DC5F054.4000308>