It's been a while and I'm only on my second cup of coffee, so I may not remember all the steps correctly but looking at my setup I have:
In "/etc/network/ifstate" file:
-------------------------
lo=lo
eth0=eth0
eth0:1=eth0:1
In "/etc/network/interfaces" file:
-----------------------------------
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian installation
auto eth0
iface eth0 inet static
address 66.55.44.123
gateway 66.55.44.1
netmask 255.255.255.0
# Virtual interfaces, brought up at boot
auto eth0:1
iface eth0:1 inet static
address 66.55.44.123
netmask 255.255.255.0
broadcast 66.55.44.255
-----
Now, if I am not terribly mistaken, adding the info of eth0:1 into these two files then rebooting (to see if eth0:1 comes up automagically after a boot) was all there was to it.
I do remember trying ifconfig on a command line, just as I have done in Gentoo or NetBSD, but had some sort of an error message, cannot remember what though.
Let us know how it goes....
(Edit: I just noticed that I replied to a post that was rather old, but I hope this will be of some use to someone)
Last edited by taivu; 05-10-2003 at 09:09 AM.
|