I add in virtualbox 2 interfaces like bridge, Internal network 192.168.. and external 195...*
Internal config:
auto eth0
iface eth0 inet static
address 192.168.*.250
netmask 255.255.255.0
network 192.168.*.0
broadcast 192.168.*.255
gateway 192.168.*.254
External config:
auto eth1
iface eth1 inet static
address 195.*.*.182
netmask 195.*.255.248
network 195.*.*.176
broadcast 195.*.*.183
gateway 195.*.*.177
Now if i restart the networking eth0 successfull is up, but eth1 make the error:
root@Tudor-LX:/home/theo# /etc/init.d/networking restart
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces...
SIOCSIIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SOICSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
eth1: Error while getting interface flags: No such device
eth1: Error while getting interface flags: No such device
Failed to bring up eth1.
ssh stop/waiting
ssh start/running, process 1260
eth1
exist on your host machine? (assuming that external is your host) – Lekensteyn Jul 25 '11 at 09:17