01-20-2019 06:18 AM - edited 03-08-2019 05:05 PM
Hello,
I have cisco core 4500 configured on it DHCP, The DHCP POOL configured and IP excluded range was configured too.
The PC's and Printer taking automatically the IP's, but when I setup static IP on PC & printer I can't ping the default gateway and PC can't access to the internet?
01-20-2019 06:32 AM
- I can't see the purpose of this 'static exercise' which is indeed prone to errors. if certain parameters are not entered correctly; keep using DHCP as much as possible.
M.
01-20-2019 06:34 AM
Hi @zamoha009,
Could you show us the DHCP pool configured for those devices and the ip parameters that you are configuring?
It would be useful if you also show us the configuration of the interface where the gateway of that network is hosted.
Regards
01-20-2019 10:58 PM
find the output configuration for DHCP
ip domain-name moh.gov.sa
ip dhcp excluded-address 10.135.49.129 10.135.49.133
ip dhcp excluded-address 10.135.50.1 10.135.50.5
ip dhcp excluded-address 10.135.50.129 10.135.50.133
ip dhcp excluded-address 10.135.52.1 10.135.52.5
ip dhcp excluded-address 10.135.52.129 10.135.52.133
ip dhcp excluded-address 10.135.53.1 10.135.53.5
ip dhcp excluded-address 10.135.53.129 10.135.53.133
ip dhcp excluded-address 10.135.54.1 10.135.54.5
ip dhcp excluded-address 10.135.54.129 10.135.54.133
ip dhcp excluded-address 10.135.61.1 10.135.61.20
ip dhcp excluded-address 10.135.51.1 10.135.51.5
ip dhcp excluded-address 10.135.48.1 10.135.48.5
ip dhcp excluded-address 10.135.49.1 10.135.49.5
ip dhcp excluded-address 10.135.48.129 10.135.48.133
!
ip dhcp pool Wireless_Medical-Devices
network 10.135.57.0 255.255.255.128
default-router 10.135.57.1
domain-name moh.gov.sa
dns-server 84.235.6.55 84.235.57.230 10.0.64.100 10.0.64.101 8.8.8.8
!
ip dhcp pool Wireless_MOH-Guest
network 10.135.57.128 255.255.255.128
default-router 10.135.57.129
domain-name moh.gov.sa
dns-server 84.235.6.55 84.235.57.230 10.0.64.100 10.0.64.101 8.8.8.8
!
ip dhcp pool MGMT
network 10.135.61.0 255.255.255.128
default-router 10.135.61.1
!
ip dhcp pool DATA_CENTER-GF-AS01
network 10.135.48.0 255.255.255.128
default-router 10.135.48.1
domain-name moh.gov.sa
dns-server 84.235.6.55 84.235.57.230 10.0.64.100 10.0.64.101 8.8.8.8
!
ip dhcp pool DATA_CENTER-GF-AS02
network 10.135.48.128 255.255.255.128
default-router 10.135.48.129
domain-name moh.gov.sa
dns-server 84.235.6.55 84.235.57.230 10.0.64.100 10.0.64.101 8.8.8.8
!
ip dhcp pool DATA_Main-hospital-GF-AS01
network 10.135.49.0 255.255.255.128
default-router 10.135.49.1
domain-name moh.gov.sa
dns-server 84.235.6.55 84.235.57.230 10.0.64.100 10.0.64.101 8.8.8.8
!
ip dhcp pool DATA_Main-HR-F1-AS01
network 10.135.49.128 255.255.255.128
default-router 10.135.49.129
domain-name moh.gov.sa
dns-server 84.235.6.55 84.235.57.230 10.0.64.100 10.0.64.101 8.8.8.8
!
ip dhcp pool VOICE_CENTER-GF-AS01
network 10.135.52.0 255.255.255.128
default-router 10.135.52.1
domain-name moh.gov.sa
dns-server 84.235.6.55 84.235.57.230 10.0.64.100 10.0.64.101 8.8.8.8
!
ip dhcp pool VOICE_CENTER-GF-AS02
network 10.135.52.128 255.255.255.128
default-router 10.135.52.129
domain-name moh.gov.sa
dns-server 84.235.6.55 84.235.57.230 10.0.64.100 10.0.64.101 8.8.8.8
!
ip dhcp pool VOICE_Main-hospital-GF-AS01
network 10.135.53.0 255.255.255.128
default-router 10.135.53.1
domain-name moh.gov.sa
dns-server 84.235.6.55 84.235.57.230 10.0.64.100 10.0.64.101 8.8.8.8
!
ip dhcp pool VOICE_Main-HR-F1-AS01
network 10.135.53.128 255.255.255.128
default-router 10.135.53.129
domain-name moh.gov.sa
dns-server 84.235.6.55 84.235.57.230 10.0.64.100 10.0.64.101 8.8.8.8
!
ip dhcp pool VOICE_STORE-GF-AS01
network 10.135.54.0 255.255.255.192
default-router 10.135.54.1
domain-name moh.gov.sa
dns-server 84.235.6.55 84.235.57.230 10.0.64.100 10.0.64.101 8.8.8.8
!
ip dhcp pool Wireless_MOH-Employee
network 10.135.56.0 255.255.255.0
default-router 10.135.56.1
domain-name moh.gov.sa
dns-server 84.235.6.55 84.235.57.230 10.0.64.100 10.0.64.101 8.8.8.8
!
ip dhcp pool DATA_STORE-GF-AS01
network 10.135.50.0 255.255.255.128
default-router 10.135.50.1
domain-name moh.gov.sa
dns-server 84.235.6.55 84.235.57.230 10.0.64.100 10.0.64.101 8.8.8.8
!
ip dhcp pool DATA_AKU-GF-AS01
network 10.135.50.128 255.255.255.192
domain-name moh.gov.sa
dns-server 84.235.6.55 84.235.57.230 10.0.64.100 10.0.64.101 8.8.8.8
default-router 10.135.50.129
!
ip dhcp pool DATA_OLD-NETWORK
network 10.135.51.0 255.255.255.0
default-router 10.135.51.1
domain-name moh.gov.sa
dns-server 212.93.192.4 212.93.192.5 10.0.64.100 10.0.64.101
!
ip dhcp pool VOICE_AKU-GF-AS01
network 10.135.54.128 255.255.255.192
default-router 10.135.54.129
domain-name moh.gov.sa
dns-server 84.235.6.55 84.235.57.230 10.0.64.100 10.0.64.101 8.8.8.8
01-20-2019 06:35 AM
Hello,
post the config of your 4500. In addition to the other post, you can also create a static DHCP mapping for your printers and PCs.
01-20-2019 07:27 AM
Why not reserve the IP address for the MAC Address, and set the Device to use DHCP, so Device get right IP address what you looking to achieve, can you post the screen of the IP address information from your PC ?
01-20-2019 03:59 PM - edited 01-20-2019 04:00 PM
Hello
The best solution would be to use dhcp and reserve the ip addressing against each static host or printer, meaning these hosts will be configured to use dhcp and their allocated ip addresses will always be assigned to them so from the hosts perspective they are just using dhcp like any other host.
To accomplish this you need to reserve each individual ip addresses in the dhcp scope against each host mac- address, This way you wont have to configure any host manually and also you are least prone to any ip address conflicts or mis-configuration.
What type dhcp server are you using?
01-20-2019 07:36 PM
Hello Paul,
I'm using Cisco core 4500-x, I know this solution to resolve the IP and mac for the specific machine.
my concern as I remember when you put static on pc or printer from excluded it will reachable toward the core, but on this core 4500-x it doesn't work.
01-21-2019 12:22 AM
Hi Zamoha,
It should be straight forward would you please share the running configuration and connectivity flow in order to provide you with the solution.
BR
Tayyab - www.tayyabmunir.com
***Please rate ***
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