lkml.org 
[lkml]   [2000]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectroute source ignored?
In recent kernels, adding the src directive for routes has no effect.
The packets exit with the IP of the interface they are exiting.

Is this intentional? It breaks a few things.

e.g.:

ip route add 208.179.0.0/24 dev gre1 src 208.179.68.72

The IP of the interface the GRE packets exit is 68.66. The tunnel is
configured with the local address of .72. When the kernel allows
packets to exit, they come with the source of .66 instead of .72

Most of the time the following appear if I set the tunnel local address
of .66 and there's no communication with the tunnel peer.
Jul 20 03:48:14 ns kernel: NET: 77 messages suppressed.
Jul 20 03:48:14 ns kernel: ipgre_tunnel_xmit: ip_send() failed, err=1

Strangely however, sometimes the tunnel does work and readily transmits
packets with .66.

The current kernel this machine is on is test4-pre6.

-d

--
"The difference between 'involvement' and 'commitment' is like an
eggs-and-ham breakfast: the chicken was 'involved' - the pig was
'committed'."


begin:vcard
n:Ford;David
x-mozilla-html:TRUE
org:<img src="http://www.kalifornia.com/images/paradise.jpg">
adr:;;;;;;
version:2.1
email;internet:david@kalifornia.com
title:Blue Labs Developer
x-mozilla-cpt:;-12480
fn:David Ford
end:vcard
\
 
 \ /
  Last update: 2005-03-22 13:57    [from the cache]
©2003-2011 Jasper Spaans