Ing IP Address
-- Ipv12 (from IPv4 to ipv11)
1. Background
Basic Requirements for network communication: (1) Sufficient addresses; (2) convenient addressing; (3) natural address expansion.
At the beginning of IPv4, no one expected to be eliminated because of insufficient addresses, even if CIDR and Nat appeared later. IPv6 is a non-change update, and there are st
Background
Basic Requirements for network communication: (1) Sufficient addresses; (2) convenient addressing; (3) natural address expansion.
At the beginning of IPv4, no one expected to be eliminated because of insufficient addresses, even if CIDR and Nat appeared later. IPv6 is a non-change update, and there are still too many IPv4 address frames. Although i
Php obtains the user's IPv4 or IPv6 address code. In fact, this is very simple, but I have always wanted to use the ipv6-test API to get a user IP address ...... But what JSON gets is the IP address of the local server. Forget it, don't study, in fact this is very simple, but I always want to use the ipv6-test API to d
protocol
The parsing process is similar to the above and can be compared. As the most extensive network layer protocol, the detailed structure is not described in detail. View the structure chart directly:
The parsing process is as follows:
///
Iii. IPv6 protocol
IPv6 is used to replace IPv4 to solve the problem of insufficient address space. At the same t
Public Static String Getlocalip (){ Try { String Hostname = DNS. gethostname (); // Get the Host Name Iphostentry ipentry = DNS. gethostentry (hostname ); For ( Int I = 0 ; I { // Select an IPv4 IP address from the IP address list. // Addressfamily. Internetwork indicates that the IP address is IPv4, // Addressfamily. internetworkv6 indicates that this address is of the
Public static string getlocalip (){Try{String hostname = DNS. gethostname (); // obtain the host name.Iphostentry ipentry = DNS. gethostentry (hostname );For (INT I = 0; I {// Filter IPv4 IP addresses from the IP address list// Addressfamily. Internetwork indicates that the IP address is IPv4,// Addressfamily. internetworkv6 indicates that the address is of the IPv6
Experimental purposes:
Run a manual tunnel between XP and the router to deliver the IPV6 on the IPv4 network
Experiment topology:
XP configuration:
The first step is to configure IPv4
Second Step configuration IPv6
R2:
Interface Tunnel2IPv6 address 2000::2/64Tunnel Source FASTETHERNET0/1Tunnel Destination
Nmcli con add con-name eno1 type Ethernet ifname eno1
Nmcli con show
Nmcli con show eno1
Nmcli con mod eno1 ipv4.addresses 192.168.0.100/24
Nmcli con mod eno1 ipv4.method Manual
Nmcli con mod eno1 2.166.addresses fddb: fe2a: ab1e: c0a8: 64/64
Nmcli con mod eno1 release 6.method Manual
Nmcli con down eno1
Nmcli con up eno1
Ip addr show Dev eno1
Ping-I eno1 192.168.0.254
Ping6-I eno1 fdd
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.