how-to_‎ > ‎

IPv6 pills for non-logical (IPv4-like) Linux syntaxes

posted Feb 9, 2011, 8:14 AM by Daniele Albrizio
  • Configure IPv6 address if you already have an IPv4 one:
    ifconfig eth0 add 2ab2:750:2:7::1:2/96
  • Add default gateway
    route -A inet6 add default gw 2ab2:750:2:7::1
  • Ping a host
    ping6 2ab2:750:2:7::1
  • Show routing table
    route -A inet6

    netstat --inet6 -rn


Comments