I'm running FreeBSD 9.0-RELEASE as a VirtualBox guest inside a Windows 7 host.
My network is currently configured in rc.conf as:
em0 is a VirtualBox bridged adapter (connected to my home LAN), while em1 is a VirtualBox host-only adapter. em1 receives a link-local IPv6 address, while em0 does not.
I tried the solutions proposed in the following threads, to no avail:
http://forums.freebsd.org/showthread.php?t=29042
http://forums.freebsd.org/showthread.php?t=24326
1) How do I disable IPv6 on em1?
2) How do I disable IPv6 globally? Recompiling the kernel is not an option.
3) Why does em0 not receive a IPv6 link-local address? Does DHCP on Ipv4 disables IPv6 by default?
To give some background, I started investigating this because I received warnings at startup about ntpd which could not bind a socket on the IPv6 IP of em1. The problem seems to be gone now (I guess rebooting Windows was the cure).
My network is currently configured in rc.conf as:
Code:
ifconfig_em0="DHCP"
ifconfig_em1="10.0.0.1 netmask 255.255.255.0"
em0 is a VirtualBox bridged adapter (connected to my home LAN), while em1 is a VirtualBox host-only adapter. em1 receives a link-local IPv6 address, while em0 does not.
I tried the solutions proposed in the following threads, to no avail:
http://forums.freebsd.org/showthread.php?t=29042
http://forums.freebsd.org/showthread.php?t=24326
1) How do I disable IPv6 on em1?
2) How do I disable IPv6 globally? Recompiling the kernel is not an option.
3) Why does em0 not receive a IPv6 link-local address? Does DHCP on Ipv4 disables IPv6 by default?
To give some background, I started investigating this because I received warnings at startup about ntpd which could not bind a socket on the IPv6 IP of em1. The problem seems to be gone now (I guess rebooting Windows was the cure).