06-03-2019 04:20 PM - edited 06-03-2019 04:21 PM
I configured the DHCP Server on my Catalyst 3750G switch to use a DHCP database (text file)? Can I assign static IP Addresses to the devices on my network by editing the DHCP Database text file (#1 below) or it better to do it by creating DHCP sub pools (#2 below)?
1) DHCP Database File
*time* Jun 03 2019 05:20 PM
*version* 3
!IP address Type Hardware address Lease expiration VRF
10.x.x.1 id xxxx.xxxx.8eba Jun 03 2019 07:52 PM
10.x.x.2 id xxxx.xxxx.8ebb Jun 03 2019 06:16 PM
10.x.x.3 id xxxx.xxxx.8ebc Jun 04 2019 02:40 PM
10.x.x.4 id xxxx.xxxx.8ebd Jun 04 2019 04:32 PM
etc.
!IP address Type Hardware address Interface-index
!IP address Interface-index Lease expiration Server IP address Hardware address Vrf
*end*
2) DHCP Sub Pool
ip dhcp pool Office1
network 10.x.x.0 255.255.255.0
dns-server 10.x.x.x
default-router 10.x.x.x
address 10.x.x.1 hardware-address xxxx.xxxx.8eba
address 10.x.x.2 hardware-address xxxx.xxxx.8ebb
address 10.x.x.3 hardware-address xxxx.xxxx.8ebc
address 10.x.x.4 hardware-address xxxx.xxxx.8ebd
etc.
Solved! Go to Solution.
06-03-2019 09:56 PM
06-03-2019 09:56 PM
06-04-2019 08:57 AM
06-04-2019 09:29 AM
06-04-2019 08:37 PM
I have thought about this too. Is there any other way to config. static routes faster than going to every router and #ip rou xxxx xxxx xxxx?
06-04-2019 10:00 PM
06-04-2019 10:42 PM
yes another reason this is going collaboration w/ python code in 10 to 20 years networking will be all script?? well I thought it would be all ipv6 by now too so who knows? Thanks
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