I've stripped the desktop from my installation as per my last question, but it is not assigning my server an IPv4 address, there is nothing wrong with my configuration, I just need it to give my server a IPv4 address alongside the IPv6 address so that I can access it from within my network for things like portforwarding. My router does not support port forwarding with an IPv6 address and my other computers within the network can't connect to my server because it lacks an IPv4 address. So in a nutshell I need to make my server assign itself an IPv4 address. My server will not show up in the connected devices of my router until I give it an IPv4 address, which creates a problem. Setting a static IP in /etc/network/interfaces doesn't work, it only makes my server think that it has an IPv4, but the network doesn't recognize it.
1 Answer
The only way to completely disable IPv6 is by blacklisting the kernel module. Put the following line in /etc/modprobe.d/blacklist:
blacklist ipv6
Warning: IPv6 is becoming more important each day and IPv6 support is assumed by more and more software these days, even if you don't use it (yet). Blacklisting the kernel module might break things.
fe80
?fe80
is a link-local address. This address cannot be used for routing outside of your local network, and may or may not be used when routing inside of your local network. If you don't see any problems, I wouldn't go to the lengths of disabling IPv6 just so you don't see that address.