On Wed, Jun 27, 2001 at 03:53:19PM -0400, Bill Mills-Curran wrote:
I know it's possible to assign multiple IPs (at least for listening) to a single ethernet device. I _know_ I should read first and ask questions second, but I'm just _so_ lazy, and there hasn't been much traffic anyway.
It's called IP-alias. Enable the option in the kernel, then in addition to the main "eth0" interface, you'll get a bunch of other ones of the form "eth0:0" "eth0:1" etc... if you wanna go ghetto-style, you can just do this: ifconfig eth0:0 xxx.xxx.xxx.xxx and it will bind to the specified address. You can do this for more than just listening. I use it to route messages between two virtual subnets. It's real handy when your ISP gives you three real IPs, and you want to masq the rest without creating multiple physical networks. -Chuck