On Sun, 07 Nov 2010 15:31:17 +0100, Pascal Hambourg wrote:
> When you add (i.e. create) a route, you must provide an interface or
> gateway. If you want to replace/change an existing route, you can use
> "ip route" instead.
Right. I was mislead by the man page:
route - show / manipulate the IP routing table
----------
Route manipulates the kernel's IP routing tables.
-----------
When the add or del options are used, route modifies the routing tables.
--------
Trying again, this time using the ip command:
ip link set default mtu 1384
Cannot find device "default"
Trying again:
ip link set mercury mtu 1384
Cannot find device "mercury"
Hmmm. I list the links:
ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:11:2f:bc:df:19 brd ff:ff:ff:ff:ff:ff
Right. I only want to change the mtu for traffic that needs to traverse the
default gateway. I do not wish to reduce the mtu for all ethernet bound
traffic.
How do I achieve this?
Mark.
--
Mark Hobley
Linux User: #370818
http://markhobley.yi.org/