Hide thumbs Also See for ST780 WL:
Table of Contents

Advertisement

IP Commands

ip ipadd

Assign an IP address to an IP interface.
SYNTAX:
ip ipadd
where:
intf
addr
netmask
pointopoi
nt
addroute
EXAMPLE:
=>ip iplist
Interface
1
eth0
1
eth0
0
loop
=>ip ipadd intf=eth0 addr=10.0.0.2/24 addroute=enabled
=>ip iplist
Interface
1
eth0
1
eth0
1
eth0
0
loop
=>
RELATED COMMANDS:
ip ipdelete
ip iplist
E-DOC-CTC-20061027-0012 v2.0
intf = <string>
addr = <ip-address>
[netmask = <ip-mask(dotted or cidr)>]
[pointopoint = <ip-address>]
[addroute = <{disabled | enabled}>]
The IP interface name.
The new IP address to be added.
The subnetmask associated with this address.
The remote IP address in case of a dedicated point-to-point link.
Add typical net/subnet routes automatically according to the default (or
specified) subnet mask (enabled) or not (disabled).
The default is disabled.
Type
IP-address
Ethernet
10.0.0.138
Ethernet
169.254.141.11
Ethernet
127.0.0.1
Type
IP-address
Ethernet
10.0.0.2
Ethernet
10.0.0.138
Ethernet
169.254.141.11
Ethernet
127.0.0.1
Remove an IP address from an IP interface.
Display all the configured IP addresses.
Point-to-point/Mask
255.255.255.0
255.255.0.0
255.0.0.0
Point-to-point/Mask
255.255.255.0
255.255.255.0
255.255.0.0
255.0.0.0
REQUIRED
REQUIRED
OPTIONAL
OPTIONAL
OPTIONAL
449

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents