< Home

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

A switch supports the binding of one interface and multiple IP addresses.
  • If you need to bind non-contiguous IP addresses to an interface, 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 GE0/0/1.
    <HUAWEI> system-view
    [HUAWEI] user-bind static ip-address 10.1.1.2 10.1.1.5 10.1.1.12 interface gigabitethernet 0/0/1
    
  • If you need to bind contiguous IP addresses to an interface, 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 GE0/0/1.
    <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 interface gigabitethernet 0/0/1
    
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >