Ruijie Community

Title: How does Ruijie switch assign multiple gateway addresses through DHCP? [Print this page]

Author: zhangqiao@ruiji    Time: 2024-11-15 10:24
Title: How does Ruijie switch assign multiple gateway addresses through DHCP?
You can refer to the following command:

Switch>enable

Switch#config


Switch(config)#ip dhcp pool Testvlan1

Switch(config)#network 192.168.1.0 255.255.255.0

Switch(config)#dns-server 8.8.8.8

Switch(config)#default-router 192.168.1.1192.168.1.2  -------(Switch will randomly assign one of the gateway addresses to the user)






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