Debian Static Ip IPv4 and IPv6

This is an example of how you can configure IPv4 and IPv6 static ip-addresses in Debian.

nano /etc/network/interfaces


Use ctrl x to save the configuration.

After the ip configuration change you can reboot the computer, restart the network service or do ifconfig eth0 down and ifconfig eth0 up.


Use ping for IPv4 addresses.
Use ping6 for IPv6 addresses.

1 comment

  1. Marcel April 23, 2013 at 09:20 Reply

    Er staat een typefoutje in. inetstatic moet inet static zijn.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.