You must assign an IP address to each network interface (the network processor and Line ID) to uniquely identify the TCP/IP host to the rest of the connected networks. A TCP/IP host can have multiple IP addresses defined based on the number of network interfaces configured on the system.
To assign a unique IP address to each network interface, issue the TCPIP [TCPIP] IDENTITY (TCPIP ID) command at the TCP/IP host for which you are assigning an IP address . You can issue IPv4 and IPv6 TCPIP ID commands on the same network interface. The command provides different syntax and capabilities depending on whether you are configuring IPv4 address and mask pairs or IPv6 addresses.
IPv4 Usage
The TCPIP ID command enables an IPv4 network administrator to configure and delete multiple local IP addresses and/or address and mask pairs for each network interface. This extends MCP TCP/IP multihoming capabilities to support multiple logical networks. With IPv4 networks, you can also use this command to set the RIP Authentication type for each network interface.
IPv6 Usage
For IPv6, the network administrator can also use the TCPIP ID command to enable autoconfiguration and duplicate address detection. If address autoconfiguration is enabled, IPv6 hosts are automatically configured when connected to a routed IPv6 network. This means that you can use the TCPIP ID command without specifying an address.
You can also specify the number of consecutive Neighbor Solicitation messages sent while performing duplicate address detection on a tentative address. This ensures that an address is not already in use by another interface before it is permanently assigned to an interface.
Note: | For a complete description of the syntax of the TCPIP ID command, refer to the Networking Commands and Inquiries Help. |
Assigning IPv4 Addresses
Enter the TCPIP ID command in the following format to assign unique IPv4 addresses to each network interface:
NW TCPIP ID ADD NP <device id> Line <line id> [VLAN <vlan id>] <ipaddress>/<prefix>
The variables are described as follows.
Variable |
Description |
---|---|
<device id> |
An integer used to specify the network processor device. |
<line id> |
An integer used to specify the line. |
<vlan id> |
(Optional) Is used in conjunction with a matching VLan definition when specified in a CONNECTION GROUP declaration. |
<ip address> |
Specifies the local IPv4 address of the host/subnet/network. |
<prefix> |
An integer used in CIDR format that indicates the number of bits used in the mask. If subnet masks are used, all hosts in the same IP network must use the same subnet mask. |
Example
Add a single local IP address 192.62.183.190 on NP 6000, Line 1
NW TCPIP ID ADD NP 6000 LINE 1 192.62.183.190/27
Assigning IPv6 Addresses
Enter the TCPIP ID command in the following format to assign unique IPv6 addresses to each network interface:
NW TCPIP ID ADD NP <device id> Line <line id> [VLAN <vlan id>] <interface properties> <ip address>/<prefix-length>
The variables are described as follows.
Variable |
Description |
||
---|---|---|---|
<device id> |
An integer used to specify the network processor device. |
||
<line id> |
An integer used to specify the line. |
||
<vlan id> |
(Optional) Is used in conjunction with a matching VLan definition when specified in a CONNECTION GROUP declaration. |
||
<interface properties> |
AutoConfiguration: Indicates IPv6 autoconfiguration should occur for the interface. The default value is used if not specified in the command. To enable IPv6 autoconfiguration of the interface, modify this property through the add or modify options of this command. Default: "–" (OFF)
DAD Transmits type: Indicates the number of consecutive neighbor solicitation messages sent while performing duplicate address detection on a tentative address. The value 0 indicates that duplicate address detection is not performed on tentative addresses. The value 1 indicates a single transmission with no follow-up retransmissions. Range: 0 through 10 Visible: Indicates that the IP addresses associated with the networking interface can be passed to other applications. Turning the Visible attribute off means that none of the IP addresses associated with the interface can be passed to other applications. Default: "+" (ON) For a complete description of the syntax of the TCPIP ID command, refer to the Networking Commands and Inquiries Help. |
||
<ip address> |
Specifies the local IP address of the host/subnet/network. |
||
<prefix-length> |
The number of bits from the beginning of the address that make up the prefix. |
Example
Add a single local IP address FF0F:0:0:0:9F:FF:89:98/64 on NP 1, Line 0 with autoconfiguration turned off and duplicate address detection not performed on tentative addresses.
NW TCPIP ID ADD NP 1 LINE 0 FF0F:0:0:0:9F:FF:89:98/64 AC - DADT=0