Technical data

Configuring Interfaces
2.3 Configuring Network Interfaces
For example, assume interface WF0 exists with a network address of
10.10.1.100 and a 24-bit subnet mask. To add an alias with an address
of 10.10.2.100 with a 24-bit subnet mask, follow these steps:
1. Define foreign commands:
$ @SYS$MANAGER:TCPIP$DEFINE_COMMANDS.COM
2. Display the current interfaces. Use quotation marks to preserve case. For
example:
$ netstat -n "-I" wf0
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
WF0 4470 <Link> 0:0:f8:bd:bc:22 3049700 0 2976912 0 0
WF0 4470 10.10.1 10.10.1.100 3049700 0 2976912 0 0
3. Add the network alias:
$ ifconfig wf0 alias 10.10.2.100/24
4. Display the current interfaces. For example:
$ netstat -n "-I" wf0
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
WF0 4470 <Link> 0:0:f8:bd:bc:22 3049700 0 2976912 0 0
WF0 4470 10.10.1 10.10.1.100 3049700 0 2976912 0 0
WF0 4470 10.10.2 10.10.2.100 3049700 0 2976912 0 0
A range of network addresses can be associated with an interface by using
the
aliaslist
parameter to the
ifconfig
command. For more information,
enter the following command:
TCPIP> HELP IFCONFIG PARAMETERS
Configure a pseudo-interface.
A pseudo-interface can be created to associate another network address with
the same physical interface also. Use the SET INTERFACE TCP/IP Services
management command to create a pseudo-interface. See Section 4.4.3 for
more information.
2–4 Configuring Interfaces