Hi all!
I know this question will look stupid... but, anyhow, I just don't know why this doesn't work.
I wanted to give a try to netbsd, I had allready try to install it, but my dd isn't recognized by the installer: it can see it, but not write on it... that's a bit of a problem.
I also wanted to try qemu, an emulator, so I installed qemu on my debian and installed a netbsd and winXP image.
my windows image works quite well, I can access both my lan and the internet. So that's not a qemu issue, nor a config problem from my Linux box.
on my netbsd, I did the following:
Code:
# ifconfig ne2 172.20.0.2/16
# ping 172.20.0.1
PING 172.20.0.1 (172.20.0.1) 56 bytes of data.
64 bytes from 172.20.0.1: icmp_seq=1 ttl=255 time=0.941 ms
64 bytes from 172.20.0.1: icmp_seq=2 ttl=255 time=0.265 ms
# route add default 172.20.0.1
add net default: gateway 172.20.0.1
# ping 172.20.0.1
no answer!
# route delete default 172.20.0.1
delete net default: gateway 172.20.0.1
# ping 172.20.0.1
64 bytes from 172.20.0.1: icmp_seq=1 ttl=255 time=0.941 ms
64 bytes from 172.20.0.1: icmp_seq=2 ttl=255 time=0.265 ms
so, as soon as I configure a default gateway, I loose the connexion with the debian box!
of course, I cannot ping the lan or internet either.
What's more, after adding the default route I cannot even ping my netBSD's own IP!
I als tried to add:
Code:
defaultrouter="172.20.0.1"
in /etc/rc.conf and then restart the network, but the default route isn't taken into account!
so any idea is welcome!