Software IP interface configuration task list 120IPLink Software Configuration Guide 11 • IP interface configurationSetting the IP address and netmaskEach IP interface needs its explicit IP address and an appropriate net mask to be set. You can use theipaddress 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 addressThe ipaddress command offers the following options:Mode: Context IP. This command also places you in interface configuration mode.Example: Configure IP interface address and netmaskTo set the IP address to 192.168.1.3 and net mask to 255.255.255.0 for the IP interface lan, use the followingcommands in IP context configuration mode.IPLink(ctx-ip)[router]#interface lanIPLink(if-ip)[lan]#ipaddress 192.168.1.3 255.255.255.0Configuring a NAPT DMZ interfaceThe NAPT allows one or more specific IP interfaces to be excluded from NAPT translations although theirtraffic 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 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. A network mask of at least 24 bits must beentered; i.e. a mask in the range 255.255.255.0 through 255.255.255.255.dhcp Enables the DHCP client on this interface. For more information on DHCP-client configura-tion refer to chapter 22, “DHCP configuration” on page 251.Step Command Purpose1 node(ctx-ip)[router]#interface name Selects the existing interface name, which shall beconfigured2 node(if-ip)[name]# ipaddress {unnum-bered | (ip-address netmask) | dhcp}Sets the IP address ip-address and netmask net-mask for interface nameStep Command Purpose1 [name] (if-ip)[if-name]# [no] napt-insideIf no napt-inside is specified, the interface is excluded fromNAPT. if however napt-inside is specified, the interface willbe handled normally by the NAPT.