using non-default MTU for some hosts

Mikhail Teterin mi+dragonflybsd at aldan.algebra.com
Tue Nov 2 14:02:08 PST 2004


Matthew Dillon wrote in <200411022146.iA2LkVQZ012518 at xxxxxxxxxxxxxxxxxxxx>:

>     You can specify the -interface option to the route command like this:
> 
> dhcp61# route add -host 216.240.41.3 -interface em0 -mtu 5000
> add host 216.240.41.3: gateway em0

When I try this:

 route add -host pandora -interface em0 -mtu 1500

the routing table entry for pandora changes from:

Destination        Gateway            Flags    Refs      Use  Netif Expire
pandora            00:e0:81:28:21:04  UHLW        0    13496    em0    420

to:

pandora            00:20:ed:76:bc:10  UHLS        0       44    em0

Note the ARP going from pandora's to MINE -- and my machine loses the
ability to talk to pandora, although pandora's packets keep coming...

Does it actually work for you?

 -mi





More information about the Users mailing list