beautypg.com

Ip ipconfig, Modify an ip address configuration, Ip commands – Technicolor - Thomson ST585 V6 User Manual

Page 468: Syntax, Example

background image

E-DOC-CTC-20061027-0004 v1.0

IP Commands

444

ip ipconfig

Modify an IP address configuration.

SYNTAX:

where:

EXAMPLE:

ip ipconfig

addr =
[preferred = <{disabled | enabled}>]
[primary = <{disabled | enabled}>]

addr

The IP address to be configured.

REQUIRED

preferred

Make this IP address the preferred address for that subnet (enabled) or
not (disabled).
The default is

disabled

.

OPTIONAL

primary

Make this IP address the primary address for the interface (enabled) or
not (disabled).
The default is

disabled

.

OPTIONAL

=>ip iplist
Interface

Type

IP-address

Point-to-point/Mask

1

eth0

Ethernet

10.0.0.138

255.255.255.0

1

eth0

Ethernet

169.254.141.11

255.255.0.0

0

loop

Ethernet

127.0.0.1

255.0.0.0

=>ip ipconfig addr=169.254.141.11 preferred=enabled primary=enabled
=>ip iplist
Interface

Type

IP-address

Point-to-point/Mask

1

eth0

Ethernet

10.0.0.138

255.255.255.0

1

eth0

Ethernet

*169.254.141.11

255.255.0.0

0

loop

Ethernet

127.0.0.1

255.0.0.0

=>

i

The preferred IP address is marked with “*” in the list.