120
• After IRDP is enabled on an interface, the IRDP configurations take effect, and the device
sends RA messages out of the interface.
Enabling IRDP
1. Enter system view.
system-view
2. Enter interface view.
interface interface-type interface-number
3. Enable IRDP on the interface.
ip irdp
By default, IRDP is disabled on an interface.
Specifying the preference of advertised IP
addresses
About specifying the preference of advertised IP addresses
Every IP address advertised in RAs has a preference value. A larger preference value represents a
higher preference. The IP address with the highest preference is selected as the default gateway
address.
You can specify the preference for IP addresses to be advertised on a router interface.
An address with the minimum preference value (-2147483648) will not be used as a default gateway
address.
Procedure
1. Enter system view.
system-view
2. Enter interface view.
interface interface-type interface-number
3. Specify the preference of advertised primary and secondary IP addresses on the interface.
ip irdp preference preference-value
The default preference is 0.
The preference applies to all advertised primary and secondary IP addresses on the interface.
Setting the lifetime of advertised IP addresses
About the lifetime of advertised IP addresses
An RA contains a lifetime field that specifies the lifetime of advertised IP addresses. If the host does
not receive a new RA for an IP address within the address lifetime, the host removes the route entry.
All the IP addresses advertised by an interface, including proxy-advertised IP addresses and the
interface IP address, have the same lifetime.
Procedure
1. Enter system view.
system-view