DragonFly BSD
DragonFly users List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: using non-default MTU for some hosts

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 2 Nov 2004 13:46:31 -0800 (PST)

:How do you even add an explicit route to a machine already on the local
:network? Did anybody ever try that? Thanks!
: -mi

    You can specify the -interface option to the route command like this:

dhcp61# route add -host -interface em0 -mtu 5000
add host gateway em0

dhcp61# route get
   route to: 216-240-41-3.ip.idiom.com
destination: 216-240-41-3.ip.idiom.com
  interface: em0
 recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
       0         0         0         0         0         0      5000         0 

    Note that it is a common mistake to try to 'route change' a route that
    has not been added, e.g.:

    route change -mtu 5500

    If you do this without first adding the route as above you will wind up
    'changing' your network route or your default rather then the host

					Matthew Dillon 

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]