IPv4
IPv4 is the version 4 of IP (Internet Protocol). This is the protocol used the most widely on the Internet today. On the contrary, the version 6 is called IPv6.
To identify each computer connected to the Internet, a unique number called an IP address is assigned to it.
IPv4 expresses an IP address as 32-bit data.
Example
Range of IP addresses
"00000000.00000000.00000000.00000000" ~ "11111111.11111111.11111111.11111111"
The following IP address separates 32-bit data represented by the binary numbers (0,1) above in 8-bit units to display it in a decimal number so that humans can recognize it easily.
Example
- 52.156.39.XXX
Each IP address is displayed on amsh as follows.
amnimo$ show interface
eth0: state UP mtu 1500
mac e8:1b:4b:00:30:01
ipv4 192.168.0.254/24
ipv6 fe80::ea1b:4bff:fe00:3001/64
lan0: state UP mtu 1500
mac e8:1b:4b:00:31:01
lan1: state DOWN mtu 1500
mac e8:1b:4b:00:31:01
lan2: state DOWN mtu 1500
mac e8:1b:4b:00:31:01
lan3: state DOWN mtu 1500
mac e8:1b:4b:00:31:01
br0: state UP mtu 1500
mac e8:1b:4b:00:31:01
ipv4 192.168.1.254/24
ipv4 172.16.0.1/16
ipv6 fe80::ea1b:4bff:fe00:3101/64
Reference
Comments
0 comments
Please sign in to leave a comment.