ifconfig em0 mtu 9000 does not update the routing table

Jack Vogel jfvogel at gmail.com
Tue Oct 28 09:41:17 PDT 2008


It can't change the route table when you've given it no address:

IE. ifconfig em0 HOSTNAME mtu 9000 will update it just fine.

Cheers,

Jack


On Tue, Oct 28, 2008 at 6:15 AM, Nikolay Denev <ndenev at gmail.com> wrote:

> Hello,
>
> As the subject says, I'm trying to enable jumbo frames on running machine
> by setting
> ifconfig em0 mtu 9000 by hand, but nothing changed, and I've fount that
> when I list
> the routing table with the MTU column it shows the connected routes still
> with MTU 1500.
> Is this supposed to work this way? I understand that making ifconfig touch
> the routing table is ugly hack, but maybe the routing code can be notified
> for interface changes by some other mechanism?
>
> btw, this is on 7-STABLE with if_em(4) interfaces.
>
> --
> Regards,
> Nikolay Denev
>
>
>
>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>


More information about the freebsd-net mailing list