| To: | akpm@xxxxxxxx (Andrew Morton) |
|---|---|
| Subject: | Re: Fw: [Bugme-new] [Bug 4430] New: Virtual interfaces cannot have their own mtu |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Fri, 01 Apr 2005 21:46:29 +1000 |
| Cc: | netdev@xxxxxxxxxxx, lukeross@xxxxxxxxxxxxx |
| In-reply-to: | <20050401021121.76da449b.akpm@xxxxxxxx> |
| Organization: | Core |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | tin/1.7.4-20040225 ("Benbecula") (UNIX) (Linux/2.4.27-hx-1-686-smp (i686)) |
Andrew Morton <akpm@xxxxxxxx> wrote: > > the eth0:1 to 9000. However it is not possible to set the mtu for eth0:1 to > 9000 > without setting the mtu of eth0 to 9000 as well. The solution is to set the mtu using ip route in addition to setting it on eth0, e.g., ip ro add x.0.0.0/8 via gw dev eth0 mtu 1500 src a.b.c.d ip ro add y.0.0.0/8 via gw2 dev eth0 mtu 9000 src e.f.g.h You still have to set the mtu on eth0 to 9000 since that determines the maximum receive size as well (MRU). -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: PATCH: IPSEC xfrm events, Herbert Xu |
|---|---|
| Next by Date: | Re: PATCH: IPSEC xfrm events, jamal |
| Previous by Thread: | Fw: [Bugme-new] [Bug 4430] New: Virtual interfaces cannot have their own mtu, Andrew Morton |
| Next by Thread: | Re: PATCH: IPSEC xfrm events, jamal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |