Originally Posted by pridefc
Sorry, it's Ubuntu 7.10.
And should I be doing eth0:1 for the first virtual interface and eth0:2 for the second instead of eth0 and eth0:1?
Do I need to add the virtual IPs to /etc/hosts file?
eth0:1, eth0:2, eth0:3... see the pattern. And if you had a connection of eth1, you could do eth1:0, eth1:1, eth1:2...
If this is just a local test and you do want to have some type of name resolution, then yes, add them to /etc/hosts if you have no other DNS setup on your network.
And sorry, not Ubuntu user, not sure what files to stick the configurations in to survive a reboot and I'm too lazy to go searching cause I'm not a personal search engine, I'm sure if you tried searching yourself, you'd find the answer rather quickly.