What is purpose of host table?
johnifanx98
Member Posts: 329
in CCNA & CCENT
Lammel hints it's comparable to DNS. However, when I ping from a host, will router give a DNS response?
Comments
-
Ltat42a Member Posts: 587 ■■■□□□□□□□It works like DNS, on a PC, it maps a name to an IP address. It's a simple text file (named "hosts"), yes, it will give you a DNS response. Go to a command prompt, ping www_yahoo_com(replace _ with a .)
-
TehToG Member Posts: 194The host table is a legacy item. Back in the early days of arpanet there was no DNS. They designed a host table system whereby you could map a name to an IP to make it easier. The hosts table still exists today but it's use has more or less declined. Nowadays we have publicly trusted DNS servers to give us an IP for our dns names which is constantly updated and verified.
Further Reading.... -
mapletune Member Posts: 316to be honest, this sounds more like something you'd need to know for Network+ not CCNA.
however, it's still good to knowStudying: vmware, CompTIA Linux+, Storage+ or EMCISA
Future: CCNP, CCIE -
johnifanx98 Member Posts: 329It works like DNS, on a PC, it maps a name to an IP address. It's a simple text file (named "hosts"), yes, it will give you a DNS response. Go to a command prompt, ping www_yahoo_com(replace _ with a .)
Hmmm... It does not look like a router will become name server with host table, or, the PT does not simulate it. I just set up a host in PT, and point its DNS to its local router. Add a host entry in the router. Ping this entry, and the router does not respond with DNS answer... -
johnifanx98 Member Posts: 329to be honest, this sounds more like something you'd need to know for Network+ not CCNA.
however, it's still good to know
Exam topics:Configure, verify and troubleshoot DHCP and DNS operation on a router (using CLI and SDM) -
mapletune Member Posts: 316yup, config dchp/dns using CLI and SDM on the router.
i don't think you need to go into a pc to look at it's host table.
but hey, i might be wrong
[edit]
unless you are talking about making a router THE domain server.
( most of the times, we just config and refer everyone to a public nameserver.)
anyway, for cisco CLI, to see name to ip mappings we can use:
show hosts
and to create static entries
ip host [name] (optional: port) [address] [address2] ... [address8] (other optional cmds)Studying: vmware, CompTIA Linux+, Storage+ or EMCISA
Future: CCNP, CCIE -
TehToG Member Posts: 194Knowing about the hosts table and using it in windows/linux/unix is part of troubleshooting.
-
MAC_Addy Member Posts: 1,740 ■■■■□□□□□□johnifanx98 wrote: »Exam topics: Configure, verify and troubleshoot DHCP and DNS operation on a router (using CLI and SDM)
I think you're reading too much into the exam topics. What book are you using?2017 Certification Goals:
CCNP R/S -
johnifanx98 Member Posts: 329I think you're reading too much into the exam topics. What book are you using?
I'm reading Lammle's ccna fast psass 2nd ed. Chapter 3 troubleshooting->name resolution->building a host table -
phatrik Member Posts: 71 ■■□□□□□□□□The host table is a legacy item.2018 goals: Security+, CCNA CyberOps (Cohort #6), eJPT, CCNA R&S 2019 goals: RHCE ????, OSCP || CISSP