Configuration Description
The command sequence below enables static-IP-addressing by assigning a fixed IP address, netmask, and default gateway address to a SmartNode IP interface.
To complete this configuration you will need the following information:
The IP-Address and network mask for the SmartNode: [IF-IP], [IF-MASK] The Gateway address of the default gateway:[GW-IP]
Use the command "show ip route" to display the routing table.
10.10.22.53(ctx-ip)[router]#show ip route Route Table of IP context 'router': Validity state (V): * valid, (*) duplicate Flags: U up, H host, G Gateway, L local, D default -------------------------------------------------------------- V Destination Nexthop Protocol Metric Flags -------------------------------------------------------------- * 10.10.22.53/32 loopback local 0 ULH * 192.168.2.1/32 loopback local 0 ULH * 127.0.0.1/32 loopback local 0 ULH * 192.168.2.0/24 eth1 local 1 UL * 10.10.0.0/16 eth0 local 1 UL * 127.0.0.0/8 loopback local 1 UL * 0.0.0.0/0 10.10.1.10 static 0 UDG (*) 0.0.0.0/0 10.10.1.1 dhcp 12 DG --------------------------------------------------------------
Command Sequence to copy, edit and paste
context ip interface [IF-NAME] ipaddress [IF-IP] [IF-MASK]
context ip route 0.0.0.0 0.0.0.0 [GW-IP]
|