setting the other end's TCP segment size

Giorgos Keramidas keramida at freebsd.org
Wed Jul 30 04:55:14 UTC 2008


On Tue, 29 Jul 2008 21:04:53 -0700, perryh at pluto.rain.com wrote:
>> [TCP] splits traffic to 'segments' using its own logic ...
>
> Is there a simple way for a FreeBSD system to cause its peer
> to use a transmit segment size of, say, 640 bytes -- so that
> the peer will never try to send a packet larger than that?
>
> I'm trying to get around a network packet-size problem.  In
> case it matters, the other end is SunOS 4.1.1 on a sun3, and
> I've been unable to find a way to limit its packet size
> directly.

Setting the interface MTU should do it, i.e.:

    ifconfig re0 mtu 640

Not all interfaces support setting the MTU and some may have
range restrictions though.



More information about the freebsd-questions mailing list