Network - Ip v6

Card Puncher Data Processing


IPv6 IP address

Example: 2001:41d0:1:1b00:213:186:33:18

IPv4 vs IPv6

The main difference between IPv4 and IPv6 is the number of possible addresses. IPv6 was introduced in 1995 to ensure that the world would not run out anytime soon of IP number.

IP Version Bit Address Space Possible addresses
IPv4 32 4 billion
IPv6 128 <math>3.4 \times 10^{38}</math>



  • Linux
ping6 <IP|hostName>
  • Windows
ping -6


  • Ping
curl -gkvLI6 -H 'User-Agent: myProgram' -H 'Accept: */*' -H 'Connection: Close' -H 'Accept-Language: en' -m 30 --connect-timeout 10


Network - IP Address (Unique network IDentifier)

ip a
ip -6 addr
ip -6 addr show eth0
ip -6 addr | grep inet6
inet6 ::1/128 scope host 
inet6 2001:123:456:55f::1/64 scope global 
inet6 fe80::62eb:69ff:fed2:d2a6/64 scope link 


Without configuration, you would not see the scope global ipv6.


  • To check if IPv6 is enabled on the system, run the command:
sysctl -a | grep ipv6.*disable
  • In the output, the value of:
    • 0 indicates that IPv6 is enabled
    • 1 shows that IPv6 is disabled.

The output below shows that IPv6 is enabled.

net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.eth0.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0

  • Add the following lines to define the ip and its gateway to the eth0 interface. Replace the IPV6ADDR with you IPv6 value and IPV6_DEFAULTGW with your gateway value

  • Add a route that goes through the gateway, Replace 2607:5300:201:3100::1 with your gateway
2607:5300:201:3100::1 dev eth0
default via 2607:5300:201:3100::1

  • Restart
service network restart

Documentation / Reference

Recommended Pages
Card Puncher Data Processing
AAAA DNS record

A AAAA DNS record maps a domain name to a IPV6 address
Spf Dns Zone
Email - Sender Policy Framework (SPF)

SPF is a dns record that defines which server(s) may send an email. It describe the set of hosts which are designated outbound mailers for the domain. SPF is part of the mail authentication scheme with...
Card Puncher Data Processing
Network - Address (Addressing)

IPv4 is the most common network addressing architecture used, though the use of IPv6 has been growing since 2006. A host is addressed by a node id A process is addressed by a node id and a port ...
Dns Architecture
Network - Domain Name System ( DNS )

The Domain Name System (DNS) is a database of name. It's naming system (service). It hold naming information for some kind of object (not only but mainly host) DNS can be seen as the phone book of the...
Public Vs Private Ip Address
Network - IP Address (Unique network IDentifier)

A Network address in the Internet protocol, assigned to a network adapter. An IP address functions as a unique ID for identifying the sender and the receiver in a network with multiple hosts. An IP...
Network - IPv4

IPv4 Example: The host identifier of an IPv4 address is represented: in the form nnn.nnn.nnn.nnn, where nnn is a number from 0 to 255 (ie 8bit) Example:
Card Puncher Data Processing
IP - Packet

packet is the name of a data unit for the network layer (level 3 of the OSI model) (ie IP). TCP/IP communication a TCP segment is carried in one or more IP packets, which are each carried in...

Share this page:
Follow us:
Task Runner