At 09:18 22/11/2002 +0100, you wrote:
Hi - I never even heard of virtual network interfaces(!!)
I would not know where to start on this one. CAn anyone
else help?
On linux it's known as IP aliasing, and is simply a kernel option you
enable. A regular interface is configured like this:
ifconfig eth0 192.168.1.2 netmask 255.255.255.0
route add default gw 192.168.1.1 dev eth0
With ip aliasing you can then configure another interface like this:
ifconfig eth0:0 10.119.48.2 netmask 255.255.255.0
route add default gw 10.119.48.1 dev eth0:0
and you can keep going up to eth0:255 and then start on eth1.
Each alias shares the same physical attributes of the card used, so it will
have the same MAC address and interface speed and interface byte counts
will be cumulative for all aliases.
Regards
Martin A. Brooks
---------------------------------
I/O, I/O, it's off to disk we go,
A bit or byte, to read or write,
I/O, I/O, I/O......
_______________________________________________