Irdp configuration example, Network requirements – H3C Technologies H3C S5560 Series Switches User Manual
Page 137

122
Step Command
Remarks
4.
(Optional.) Specify the
preference of advertised
primary and secondary IP
addresses on the interface.
ip irdp preference
preference-value
The default preference is 0.
5.
(Optional.) Set the lifetime of IP
addresses to be advertised.
ip irdp lifetime lifetime-value
The default lifetime is 1800 seconds.
The lifetime applies to all advertised
IP addresses, including
proxy-advertised IP addresses on the
interface.
The lifetime cannot be shorter than
the maximum advertising interval.
6.
(Optional.) Set the maximum
and minimum advertising
intervals.
ip irdp interval
max-interval-value
[ min-interval-value ]
By default, the maximum interval is
600 seconds and the minimum
interval is 3/4 of the maximum
interval.
7.
(Optional.) Specify the multicast
address 224.0.0.1 as the
destination IP address of RAs.
ip irdp multicast
By default, RAs use the broadcast
address 255.255.255.255 as the
destination IP address.
8.
(Optional.) Specify a
proxy-advertised IP address and
its preference.
ip irdp address ip-address
preference-value
Repeat this step to specify multiple
proxy-advertised IP addresses.
By default, no IP address is specified.
You can specify a maximum of four
proxy-advertised IP addresses on an
interface.
IRDP configuration example
Network requirements
As shown in
, Host A and Host B that run the Linux support IRDP, and they are in the internal
network. Switch A and Switch B act as the egress devices and connect to external networks
192.168.1.0/24 and 192.168.2.0/24, respectively.
Configure Switch A as the default gateway for the hosts. Packets to the external networks can be correctly
routed.