02-28-2022
07:10 AM
- last edited on
02-28-2022
03:07 PM
by
Translator
Hi all
I am configuring a DHCP router with two DNS servers but I cannot add more than one DNS address to the pool. Every instruction I find tells me to use the
dns-server 192.168.5.2 192.168.5.3
command but it gives an error. If I add one then add another separately the second entry overwrites the first. Here is a pic of the CLI.
Solved! Go to Solution.
02-28-2022 09:47 AM
Hello,
the problem is: Packet Tracer is an emulator with a lot of restrictions. The devices do not feature a full and complete IOS, but rather a subset of commands that let you accomplish certain things.
On a 'real' device this would work, but Packet Tracer only allows for one dns server.
02-28-2022 07:31 AM
Hello,
odd, as in theory, you should be able to add up to six DNS servers, in exactly the way you do. Which IOS version are you running ?
02-28-2022
07:37 AM
- last edited on
02-28-2022
03:10 PM
by
Translator
Here is the info from
sh version: DHCP-SERVER>en DHCP-SERVER#sh version
Cisco IOS Software, 1841 Software (C1841-ADVIPSERVICESK9-M), Version 12.4(15)T1, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 04:52 by pt_team
ROM: System Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1)
System returned to ROM by power-on
System image file is
flash:c1841-advipservicesk9-mz.124-15.T1.bin
02-28-2022 08:16 AM
Is this on actual hardware or is this on some emulator?
02-28-2022 08:22 AM
Its installed on a Windows 10 pc. No VM or anything like that.
02-28-2022 08:30 AM
No emulator and I just added the pkt file to the OP if anyone wants to see it.
02-28-2022 09:07 AM
it should be just a string, try enclosing the two addresses in "quotes"
02-28-2022 09:27 AM
Quotes didn't work. Tried around each address and around both neither worked.
02-28-2022 09:47 AM
Hello,
the problem is: Packet Tracer is an emulator with a lot of restrictions. The devices do not feature a full and complete IOS, but rather a subset of commands that let you accomplish certain things.
On a 'real' device this would work, but Packet Tracer only allows for one dns server.
03-05-2022 11:25 PM
These devices do not have a full iOS
03-06-2022 03:41 AM
thanks for the help!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide