thedoc
25th February 2008, 09:40
I have installed Debian Etch within VMWare on my XP box. I am trying to set up ip addresses eth0:0 eth0:1 etc.. The problem I am having is that every time I attempt this I lose networking (connection to internet). I previously had a debian sarge system with several ip addresses configured without problem but this is my first attempt at Etch and my first time in a virtual machine. Could someone post the correct configuration within /etc/network/interfaces to accomplish this.
here is what i have tried
# The primary network interface
#allow-hotplug eth0
#iface eth0 inet dhcp
auto eth0
iface eth0 inet static
address 192.168.2.5
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
auto eth0:0
iface eth0:0 inet static
address 192.168.2.6
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
This does not seem to work.
Your help is appreciated.
here is what i have tried
# The primary network interface
#allow-hotplug eth0
#iface eth0 inet dhcp
auto eth0
iface eth0 inet static
address 192.168.2.5
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
auto eth0:0
iface eth0:0 inet static
address 192.168.2.6
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
This does not seem to work.
Your help is appreciated.