07-16-2014 08:13 AM - edited 03-07-2019 08:05 PM
Hello,
Is it possible to configure the DHCP server to give to the clients several DNS IP addresses?
In the web GUI it's only possible to configure one IP in optin 6.
Thanks,
Daniel
Solved! Go to Solution.
07-17-2014 06:00 AM
Hi There
yes it is ..., I haven't managed to work via the graphical interface yet, but have done the following on the command line of a "Cisco" SG500x, so far I'm not a big fan of these switches ... !
Note that for you to enable the DHCP server you have to specify an IP Address for the VLAN interface (your DHCP server has to have a static IP)
here is an example of config :
interface vlan 1
ip address 10.1.1.1 255.255.255.0
no ip address dhcp
ip dhcp server
ip dhcp excluded-address 10.1.1.1 10.1.1.10
ip dhcp pool network DATA
address low 10.1.1.1 high 10.1.1.254 255.255.255.0
lease 0 8
domain-name testing.com
default-router 10.1.1.1
dns-server 8.8.8.8 8.8.4.4
Hope it answers your question
07-16-2014 08:33 AM
Below is how you would do it from the cli on a router
ip dhcp pool Wireless_DHCP
network 10.40.40.x 255.255.255.0
default-router 10.40.40.251
dns-server 10.10.10.10 20.20.20.20
07-16-2014 11:55 AM
I just tested this but I get an error message Unrecognized command...
It's quite strange as the CLI manual for the SG500 (I just found it on Internet) specifies this.
Even Enabling or disablig the server is not working:
ip dhcp server or no ip dhcp server is unrecognized...
Really strange. I'm new to using the CLI on Cisco switches, so I might have made a mistake...?
07-17-2014 02:43 AM
Cisco must provide option to add more DNS IP addresses via GUI.
07-17-2014 06:00 AM
Hi There
yes it is ..., I haven't managed to work via the graphical interface yet, but have done the following on the command line of a "Cisco" SG500x, so far I'm not a big fan of these switches ... !
Note that for you to enable the DHCP server you have to specify an IP Address for the VLAN interface (your DHCP server has to have a static IP)
here is an example of config :
interface vlan 1
ip address 10.1.1.1 255.255.255.0
no ip address dhcp
ip dhcp server
ip dhcp excluded-address 10.1.1.1 10.1.1.10
ip dhcp pool network DATA
address low 10.1.1.1 high 10.1.1.254 255.255.255.0
lease 0 8
domain-name testing.com
default-router 10.1.1.1
dns-server 8.8.8.8 8.8.4.4
Hope it answers your question
07-17-2014 06:44 AM
Thanks, worked fine!
I forgot to enter in config terminal mode before entering commands...!
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: