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
: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 216.240.41.3 -interface em0 -mtu 5000
add host 216.240.41.3: gateway em0
dhcp61# route get 216.240.41.3
route to: 216-240-41-3.ip.idiom.com
destination: 216-240-41-3.ip.idiom.com
interface: em0
flags: <UP,HOST,DONE,LLINFO,STATIC>
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 216.240.41.23 -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
route(!).
-Matt
Matthew Dillon
<dillon@xxxxxxxxxxxxx>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]