IP interface configuration task list 123
SmartWare Software Configuration Guide 10 • IP interface configuration
Setting the IP address and netmask
Each IP interface needs its explicit IP address and an appropriate net mask to be set. You can use the
ipaddress interface configuration command to perform the following tasks:
• Set the IP address to ip-address
• Set the network mask to netmask
• Enable IP processing for the IP interface name without assigning an explicit IP address
The
ipaddress command offers the following options:
Mode: Context IP. This command also places you in interface configuration mode.
Example: Configure IP interface address and netmask
To set the IP address to 192.168.1.3 and net mask to 255.255.255.0 for the IP interface lan, use the following
commands in IP context configuration mode.
node(ctx-ip)[router]#interface lan
node(if-ip)[lan]#ipaddress 192.168.1.3 255.255.255.0
Configuring a NAPT DMZ interface
The NAPT allows one or more specific IP interfaces to be excluded from NAPT translations although their
traffic is routed through an IP interface to which a NAPT profile is bound. This configuration is usually neces-
sary, for DMZ networks connected to an Ethernet port, which uses public IP addresses.
Mode: interface ip <if-name>
unnumbered Enables IP processing on an interface without assigning an explicit IP address to the inter-
face.
ip-address Specifies the IP address of the subscriber in the form A.B.C.D.
netmask Specifies the network mask in the form A.B.C.D.
dhcp Enables the DHCP client on this interface. For more information on DHCP-client configura-
tion refer to chapter 27, “DHCP configuration” on page 292.
Step Command Purpose
1 node(ctx-ip)[router]#interface name Selects the existing interface name, which shall be
configured
2 node(if-ip)[name]# ipaddress {unnum-
bered | (ip-address netmask) | dhcp}
Sets the IP address ip-address and netmask net-
mask for interface name
Step Command Purpose
1 [name] (if-ip)[if-name]# [no] napt-
inside
If no napt-inside is specified, the interface is excluded from
NAPT. if however napt-inside is specified, the interface will
be handled normally by the NAPT.