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:

 

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.

 

 

 

 

 

 

Mode: Context IP. This command also places you in interface configuration mode.

 

 

 

 

 

 

 

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-

Sets the IP address ip-addressand netmask net-

 

 

bered (ip-address netmask) dhcp}

mask for interface name

 

 

 

 

 

 

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>

Step

Command

Purpose

 

 

 

1

[name] (if-ip)[if-name]# [no] napt-

If no napt-insideis specified, the interface is excluded from

 

inside

NAPT. if however napt-insideis specified, the interface will

 

 

be handled normally by the NAPT.

 

 

 

IP interface configuration task list

123

Page 123
Image 123
Patton electronic SmartNode 4110 Series manual Setting the IP address and netmask, Configuring a Napt DMZ interface, Inside