Setting The Ip Address And Netmask; Icmp Message Processing; Icmp Redirect Messages - Patton electronics SmartNode Series Software Configuration Manual

Software for smartnode series
Hide thumbs Also See for SmartNode Series:
Table of Contents

Advertisement

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. To set the IP address to ip-
address and the network mask to netmask or enable IP processing for IP interface name without assigning an
explicit IP address, use the ipaddress interface configuration command. The ipaddress command offers the fol-
lowing 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. A network mask of at least 24 bits must be
entered; that is, 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
Mode: Context IP. This command also places you in interface configuration mode.
Step
1
node (ctx-ip)[router]#interface name
2
node (if-ip)[ name ]# ipaddress {unnum-
bered | ( ip-address netmask ) | dhcp}
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 of IP interface lan, use the following com-
mands in IP context configuration mode.
SN(ctx-ip)[router]#interface lan
SN(if-ip)[lan]#ipaddress 192.168.1.3 255.255.255.0

ICMP message processing

The IP suite offers a number of services that control and manage IP connections. Internet Control Message
Protocol (ICMP) provides many of these services. Routers send ICMP messages to hosts or other routers when
a problem is discovered with the Internet header. For detailed information on ICMP, see RFC 792. SmartWare
supports following ICMP message processing features:

ICMP redirect messages

Router advertisement broadcast message

ICMP redirect messages

Routes are sometimes less than optimal. For example, it is possible for the router to be forced to resend a packet
through the same interface on which it was received. If the router resends a packet through the same interface
on which it was received, the SmartWare application software sends an ICMP redirect message to the origina-
tor of the packet telling the originator that the router is on a subnet directly connected to the receiving device,
and that it must forward the packet to another system on the same subnet. The software sends an ICMP redi-
rect message to the originator of the packet because the originating host presumably could have sent that
112
Chapter 22, "DHCP Configuration".
Command
SmartWare Software Configuration Guide
Purpose
Selects the existing interface name , which shall be
configured
Sets the IP address ip-address and netmask net-
mask for interface name
Software IP interface configuration task list

Advertisement

Table of Contents
loading

This manual is also suitable for:

Smartware release 2.20

Table of Contents