Topics Map > IPv6
IPv6 static address configuration for linux hosts
How to statically configure IPv6 on linux systems for the UW Campus network.
For networks that exclusively want static host configuration, the router can be provisioned to disable autoconfiguration for the entire vlan. This is suitable for vlans that only have servers and static clients. It is not necessarily the best option for client environments unless you want to configure each host by hand. Contact Network Services if you want autoconf disabled for your vlan.
One unique feature of the UW-Madison campus network is that the default gateway will always be fe80::1 regardless of what network you are on. If your host has multiple interfaces, you can only use one of them for your default gateway. This is the same as for IPv4. (Technically you can have multiple default gateways listed but at different metrics so only one is used at a time.)
Fedora, Redhat Enterprise Linux, and clones like CentosAdd lines to these files:
NETWORKING_IPV6=yes IPV6FORWARDING=no IPV6_AUTOCONF=no IPV6_AUTOTUNNEL=no
IPV6INIT=yes IPV6ADDR=2607:f388:xxxx:yyyy::zzzz/64 # replace with your static address IPV6_AUTOCONF="no" IPV6_FAILURE_FATAL="yes" IPV6_DEFAULTGW="FE80::1%eth0"
Debian and derivatives like UbuntuAdd lines to these files:
iface lo0 inet6 loopback iface eth0 inet6 static address 2607:f388:xxxx:yyyy::zzzz # replace with your static address netmask 64 gateway fe80::1