how to set mtu on stf0?

Joined
Feb 22, 2007
Messages
1
Reaction score
0
Points
1
I have a mac osx server acting as router/firewall for my home network. The interface (I assume created by setup assistant for connection sharing), stf0: has an MTU 1280 and I need to increase this. I tried:

sudo ifconfig stf0 mtu 1364
but it fails with ioctl set mtu: invalid argument.
(The same command can be used to set mtu on the other interfaces)

Does anyone know how I can increase mtu on stf0 ?
 

rman


Retired Staff
Joined
Dec 24, 2002
Messages
12,637
Reaction score
168
Points
63
Location
Los Angeles, California
Your Mac's Specs
14in MacBook Pro M1 Max 32GB 2TB
Have you tried, sudo ifconfig mtu 1364.

I looked at my configuration and found that 1280 is my default. Looking at the man pages, I see:

mtu n - set the maximum transmission unit of the interface to n, default is interface specific. The MTU is used to limit the size of packets that are transmitted on an interface. Not all interfaces support setting the MTU, and some interfaces have range restrictions.

I am wondering if you can change stf0.
 
Joined
Jan 6, 2009
Messages
1
Reaction score
0
Points
1
I have a mac osx server acting as router/firewall for my home network. The interface (I assume created by setup assistant for connection sharing), stf0: has an MTU 1280 and I need to increase this. I tried:

sudo ifconfig stf0 mtu 1364
but it fails with ioctl set mtu: invalid argument.
(The same command can be used to set mtu on the other interfaces)

Does anyone know how I can increase mtu on stf0 ?

I have the exact same problem. How can I change the stf0 MTU?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top