< Home

Does a Switch Support the Binding of One MAC Address and Multiple IP Addresses

A switch supports the binding of one MAC address and multiple IP addresses.
  • If you need to bind non-contiguous IP addresses to a MAC address, enter 1 to 10 IP addresses in the command. For example, bind IP addresses 10.1.1.2, 10.1.1.5, and 10.1.1.12 to MAC address 0001-0001-0001.
    <HUAWEI> system-view
    [HUAWEI] user-bind static ip-address 10.1.1.2 10.1.1.5 10.1.1.12 mac-address 0001-0001-0001
    
  • If you need to bind contiguous IP addresses to a MAC address, enter 1 to 10 IP address segments in the command. The entered IP address segments cannot overlap. For example, bind IP address segments 10.2.1.1-10.2.1.10 and 10.2.1.20-10.2.1.30 to MAC address 0002-0002-0002.
    <HUAWEI> system-view
    [HUAWEI] user-bind static ip-address 10.2.1.1 to 10.2.1.10 10.2.1.20 to 10.2.1.30 mac-address 0002-0002-0002
    
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >