ZyXEL Communications IES-612-51A Modem User Manual


 
Chapter 49 IP Commands
IES-612-51A User’s Guide
332
The second command changes the default gateway (next hop). This tells the IES-612-51A
where to send packets that have a destination IP address that is not on the same subnet as the
IES-612-51A’s IP address.
The third command saves the new configuration to the nonvolatile memory.
For example, use the following command sequence sets the IES-612-51A to have 192.168.1.3
as the IP address, 255.255.255.0 for the subnet mask and 192.168.1.233 for the default
gateway.
The IES-612-51A leaves the factory with a default management IP address of 192.168.1.1 and
a subnet mask of 255.255.255.0, (ff:ff:ff:00 in hexadecimal notation), and the default gateway
set at 192.168.1.254. Make sure that you configure the IP parameters correctly before you
connect a IES-612-51A to the network, otherwise, you may interrupt services already running.
49.3 General IP Commands
The following is a list of general IP commands that help with the management of the IP
parameters.
49.3.1 Show
Syntax:
ras> ip show [inband|outband]
Use the command to display the current management IP settings.
49.3.2 Ping Command
Syntax:
ras> ip ping <ip> [count]
This is an IP facility to check for network functionality by sending an echo request to another
IP host and waiting for the reply.
49.3.3 Route Set Command
Syntax:
ras> ip route set <dst ip>[/netmask] <gateway ip> [metric] <name>
ras> ip route set default <gateway ip> <metric>
Figure 195 IP Settings and Default Gateway Address Command Example
ras> ip set 192.168.1.3/24
ras> ip gateway 192.168.1.233
ras> config save