Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'd like to change the MTU per host as I have a mixed infrastructure where not all devices support the same MTU. I'm on OS X 10.7 and like to set some MTU per destination host and a default one.

share|improve this question
    
Not sure with MacOS specifically, but it should support MTU Path Discovery as it is partly based on FreeBSD. I would look for MacOS related info for MTU Path Discovery. –  jeffatrackaid Dec 9 '11 at 16:40
1  
Dunno about OSX, but in normal *nixes, MTU tends to be set per interface, not per host. Maybe you could create a bunch of virtual interfaces with individual MTU's, and give them IP's on different networks, so routing would take care of picking the right interface, and the different MTU in the process? Just an idea... don't shoot me. –  Marcin Dec 9 '11 at 17:25

1 Answer 1

up vote 2 down vote accepted

As the others pointed out in the comments, MTU is set per-interface, and the only "per-host" capability available is Path MTU Discovery (PMTU).

OS X has the sysctl knob for Path MTU Discovery -- It appears to be on by default in Lion:

% sysctl net.inet.tcp.path_mtu_discovery
net.inet.tcp.path_mtu_discovery: 1

so things should be pretty much self-tuning.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.