NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD static ip / XEN



Hi. I am a FreeBSD user. I am trying to setup a NetBSD with XEN.
My problem is static ip. Using DHCP I can have access to internet. Trying
to setup static ip I get this error:
Code:

route: writing to routing socket:Network is unreachable
add net default: gateway 192.168.1.1: Network is unreachable

My *rc.conf*
Code:

defaultroute=192.168.1.1
hostname=NetBSD

My *resolv.conf*
Code:

nameserver 192.168.1.1

My *hosts*
Code:

192.168.1.2 NetBSD NetBSD

My *ifconfig.re0*
Code:

192.168.1.2 netmask 255.255.255.0 media autoselect

What's wrong? Is something that I miss?


Home | Main Index | Thread Index | Old Index