/
IPv6 Linux snippets

IPv6 Linux snippets

Mostly based on this Linux IPv6 HOWTO.

Adding v6 address

ip -6 addr add <ipv6address>/<prefixlength> dev <interface>
# or
ifconfig <interface> inet6 add <ipv6address>/<prefixlength>

Removing v6 address

Same as adding, with "del" instead of "add".

Adding a v6 route

ip -6 route add <ipv6network>/<prefixlength> via <ipv6address>
# or
route -A inet6 add <ipv6network>/<prefixlength> gw <ipv6address> [dev <device>]

Related content

HowTo invite applications to use IPv4 or IPv6
HowTo invite applications to use IPv4 or IPv6
More like this
debian-mingw-5 to debian-mingw-6 migration snippets
debian-mingw-5 to debian-mingw-6 migration snippets
More like this
tcpdump cheat sheet
tcpdump cheat sheet
More like this
FancyModbus Library & Tools
FancyModbus Library & Tools
More like this
Python3 Tools Home
Python3 Tools Home
More like this
Remoting Home
Remoting Home
More like this