Hi,
I've installed freebsd FreeBSD 9.1 on VirtualBox, I've successfully configured the network settings. The network adapter on the VirtualBox is set to bridge mode.
/etc/rc.conf output:
root@freebsd:/root # cat /etc/rc.conf
hostname="freebsd"
sshd_enable="YES"
# Set dumpdev to "AUTO" to...
I also tried to add entry under /etc/rc.conf
ifconfig_em0="inet 192.168.1.10 netmask 255.255.255.0"
### Default gateway ###
defaultrouter="192.168.1.10"
but same result once I execute /etc/rc.d/netif restart setting is gone.
Hi,
So I'm booting from harddisk, rest of the other settings are saved
I assign IP:
ifconfig em0 192.168.1.10/24
route add default 192.168.1.1
When I do /etc/rc.d/netif restart, all the settings are gone....
Hello,
I've installed freebsd on virtualbox. I configured the network settings and default route on it. But after I do a machine restart or I just restart /etc/rc.d/netif restart. The default route and ip address assigned to the interface gets erased. Please help, what could be causing this.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.