I'm trying to setup a small Ubuntu Server 10.4 behind NAT connection to use static IP address instead of DHCP
VBox automagically allocated using it's DHCP an IP of 10.0.2.15, however I wish to use a static one, due to my own private reasons,
therefore I've ran the following commands
Code: Select all
ifconfig eth0 down
ifconfig eth0 10.0.2.1 netmask 255.255.255.0 broadcast 10.0.2.255 up
pinging localhost works fine and so does 10.0.2.1 but nothing further than that.
however, when using dhcp everything work fine.
Just to note, my home (host boxes), are on 10.0.0.0/24, and when I'm trying to ping the guest machine from my host machine I get a request timed out
What am I doing wrong that VBox does better ?