* Benoit Panizzon <[EMAIL PROTECTED]> 2005-04-20 16:52
> > This is another issue, it is leaving via your default route. Create a
> > route for the network the packet origins and set src to the address you
> > want regardless of whether the default route would catch this correctly.
> 
> Hmm, have to try that.

Maybe you missed this part but you were stating that you see
packets with an origin that equals the nexthop of your default
route. Maybe a typo of yours but generally speaking, if you do
a ip r g <ip of origin> you will see what source address will
be used if for an unbound udp socket.

> Now I did try the same procedure for one of my ipv6 tunnes.
> 
> magma:~# ip -6 r d 2001:4060:dead::/126 dev spamkiller6
> magma:~# ip -6 r a 2001:4060:dead::/126 dev spamkiller6 src 
> 2001:4060:dead:beef::1

You need to enable CONFIG_IPV6_SUBTREES, unfortunately there is
no Kconfig compile option so you need to set it manually. Not
sure if this actually works not to mention if it even compiles.

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to