Ruijie Community

Title: How to configure both static IP address and DHCP on ruijie switch? [Print this page]

Author: linyonghang1@ru    Time: 2023-8-10 13:58
Title: How to configure both static IP address and DHCP on ruijie switch?
Command:

Ruijie#conf t

Ruijie(config)#int gigabitEthernet 0/9

Ruijie(config-if-GigabitEthernet 0/9))#ip address mix { dhcp | ip-address network-mask }

Notice:

1.        This command can be configured only on the SVI and MGMT ports.

2.        No IP address combination is configured for an interface by default

3.        When the IP address combination configuration command is used to configure a static IP address if an IP
address in the same network segment is already configured, the configuration fails.
4.        When the IP address combination configuration command is used to configure both a static IP address and
a dynamic IP address, if the dynamic IP address obtained through DHCP does not conflict with the network segment of the static IP address, the dynamic IP address is the primary IP address and the static IP address is a secondary IP address. If the dynamic IP address obtained through DHCP conflicts with the network segment of the static IP address, an IP address will be obtained again, during which the static IP address is a primary IP address





Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2