Configuration procedure

  1. Configure Switch A:

    # Specify an IP address for VLAN-interface 2.

    <SwitchA> system-view
    [SwitchA] interface vlan-interface 2
    [SwitchA-Vlan-interface2] ip address 10.154.5.1 24
    

    # Enable IRDP on VLAN-interface 2.

    [SwitchA-Vlan-interface2] ip irdp
    

    # Specify preference 1000 for advertised IP addresses on VLAN-interface 2.

    [SwitchA-Vlan-interface2] ip irdp preference 1000
    

    # Specify the multicast address 224.0.0.1 as the destination IP address for RAs sent by VLAN-interface 2.

    [SwitchA-Vlan-interface2] ip irdp multicast
    

    # Specify the IP address 192.168.1.0 and preference 400 for VLAN-interface 2 to proxy-advertise.

    [SwitchA-Vlan-interface2] ip irdp address 192.168.1.0 400
    
  2. Configure Switch B:

    # Specify an IP address for VLAN-interface 2.

    <SwitchB> system-view
    [SwitchB] interface vlan-interface 2
    [SwitchB-Vlan-interface2] ip address 10.154.5.2 24
    

    # Enable IRDP on VLAN-interface 2.

    [SwitchB-Vlan-interface2] ip irdp
    

    # Specify preference 500 for advertised IP addresses on VLAN-interface 2.

    [SwitchB-Vlan-interface2] ip irdp preference 500
    

    # Specify the multicast address 224.0.0.1 as the destination IP address for RAs sent by VLAN-interface 2.

    [SwitchB-Vlan-interface2] ip irdp multicast
    

    # Specify the IP address 192.168.2.0 and preference 400 for VLAN-interface 2 to proxy-advertise.

    [SwitchB-Vlan-interface2] ip irdp address 192.168.2.0 400