5 IP Commands
ip apadd
Assign an IP address to an interface.
SYNTAX:
ip apadd | addr = <ipaddress> |
|
| [netmask = <ipmask (dotted or cidr)>] |
|
| intf = <interface name> |
|
| [pointopoint = <ipaddress>] |
|
| [broadcastip = <ipaddress>] |
|
| [addrtrans] |
|
| [addroute = <{noyes}>] |
|
| [type = <number>] |
|
|
|
|
addr | The new IP address to add. | REQUIRED |
[netmask] | The subnetmask associated with this address. | OPTIONAL |
intf | Always specify eth0. | REQUIRED |
[pointopoint]] | Do not use this parameter. | OPTIONAL |
[broadcastip] | Do not use this parameter. For internal use only. | OPTIONAL |
[addrtrans] | Do not use this parameter. | OPTIONAL |
[addroute] | Add typical net/subnet routes automatically according to the default | OPTIONAL |
| (or specified) subnet mask (yes) or not (no). |
|
[type] | Do not use this parameter. For internal use only. | OPTIONAL |
82 / 138 |
| 3EC 16982 AGAA TCZZA Ed. 01 |
|
|
|