John Ferlito wrote: > > Is it possible to use iproute2 or something similar to use a particular > source address when sending to a particular subnet? (2.4 kernel) > > eg > > I've got > > eth0 x.x.x.7 > eth0:0 x.x.x.8 > > so normaly if I talk to y.y.y.1 my source IP is x.x.x.7 but I want to > make my source address x.x.x.8. Hmm can I just masquerade my own > traffic?
You can use iptables to manipulate the source address in the POSTROUTING. http://netfilter.samba.org/documentation/HOWTO/NAT-HOWTO-6.html#ss6.1 - knet -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
