[clug] Virtual Ethernet Interfaces and Routing

Martijn van Oosterhout kleptog at svana.org
Fri Jun 18 23:56:58 GMT 2004

On Sat, Jun 19, 2004 at 12:07:11AM +1000, Joel Pearson wrote:
> Anyway, my main question is, do virtual interfaces work that way? and does
> the kernel need to have something enabled to make routing work between
> subnets for other computers?

Nothing really special needed. You'll need the router to have a static
route for the .40 network via your internal gateway. Also, watch the
send_redirects option. If you're not careful your gateway will send
ICMP redirects to get the clients to bypass itself :)

You know it's working when tcpdump shows every packet twice but with
different ethernet headers...
Martijn van Oosterhout   <kleptog at svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux/attachments/20040619/2815a652/attachment.bin

More information about the linux mailing list