How to check host ip address that is assigned by router using DHCP
Question as above.
What command line do I enter?
Also, my hosts arent getting ip addrersses. What could be the problem?
ip dhcp excluded-address 192.168.1.1
ip dhcp pool testpool
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
Can someone also answer my thread: http://www.techexams.net/forums/ccna-ccent/89959-question-dhcp-nat.html
It is CCNA level unfortunately
What command line do I enter?
Also, my hosts arent getting ip addrersses. What could be the problem?
ip dhcp excluded-address 192.168.1.1
ip dhcp pool testpool
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
Can someone also answer my thread: http://www.techexams.net/forums/ccna-ccent/89959-question-dhcp-nat.html
It is CCNA level unfortunately
Comments
-
jamesleecoleman Member Posts: 1,899 ■■■■■□□□□□Windows - ipconfig
Linux - ifconfig
Is the fast ethernet port up on the router?
Is the computer on?
Does the fast ethernet port have an ip address?
Is the cable plugged in all the way?Booya!!
WIP : | CISSP [2018] | CISA [2018] | CAPM [2018] | eCPPT [2018] | CRISC [2019] | TORFL (TRKI) B1 | Learning: | Russian | Farsi |
*****You can fail a test a bunch of times but what matters is that if you fail to give up or not***** -
hitmen Banned Posts: 133Hi I forgot to say that I am using GNS3, so is there a way to check the ip address assigned?
-
razar Member Posts: 65 ■■□□□□□□□□What are you using for the hosts? If it's the vpcs then you need to set them to request a dhcp ip too.
-
wintermute000 Banned Posts: 172TheNewITGuy wrote: »show ip dhcp binding will show current leases
This, and improve your google-fu -
hitmen Banned Posts: 133actually the correct answer is show arp and show ip nat translation from my colleague
but thanks anyway -
xXErebuS Member Posts: 230actually the correct answer is show arp and show ip nat translation from my colleague
but thanks anyway
Show arp shows arp requests i.e. mac address bindings to ip addresses; show ip nat translation shows NAT. Not to be rude but do you see DHCP in either one of those commands? If your colleague told you this then I would recommend never asking him for anything again (you may be able to ask him the directions to the microwave; but you'll probably end up trying to heat your hot pocket up in the company mailbox). -
iamme4eva Member Posts: 272(you may be able to ask him the directions to the microwave; but you'll probably end up trying to heat your hot pocket up in the company mailbox).
. Amazing.Current objective: CCNA Security
My blog: mybraindump.co.uk -
networker050184 Mod Posts: 11,962 ModShow arp shows arp requests i.e. mac address bindings to ip addresses; show ip nat translation shows NAT. Not to be rude but do you see DHCP in either one of those commands? If your colleague told you this then I would recommend never asking him for anything again (you may be able to ask him the directions to the microwave; but you'll probably end up trying to heat your hot pocket up in the company mailbox).
The arp will show what IP is being used by the host. If DHCP is being used then that is the address that has been assigned. The NAT will show the private to public binding. So these commands will give you the info needed in a conveluted way.An expert is a man who has made all the mistakes which can be made. -
phoeneous Member Posts: 2,333 ■■■■■■■□□□actually the correct answer is show arp and show ip nat translation from my colleague
but thanks anyway
No. Dhcp <> arp. Dhcp <> nat. Dhcp = dhcp.
So to answer your question, show ip dhcp bind. -
hitmen Banned Posts: 133Perhaps I did not state what I wanted clearly. Anyway, I solved my problems.
-
xXErebuS Member Posts: 230networker050184 wrote: »The arp will show what IP is being used by the host. If DHCP is being used then that is the address that has been assigned. The NAT will show the private to public binding. So these commands will give you the info needed in a conveluted way.
It also gives static address translations; IMO its like asking how to see the running config and his co worker telling him show tech.