[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Dhcp pool config

Posted on 2007-08-09
11
Medium Priority
?
4,404 Views
Last Modified: 2013-11-05
I need to delete the dhcp pool on a cisco 2800 router and start a new one
does anybody know the commands to do this

Thanks
0
Comment
Question by:fbrown333
  • 6
  • 5
11 Comments
 
LVL 8

Expert Comment

by:Jim_Coyne
ID: 19664224
config t
no ip dhcp pool "nameofthepool"

then recreate a new one

ip dhcp pool "newpoolname"
network x.x.x.x
dns server x.x.x.x
default route x.x.x.x
0
 

Author Comment

by:fbrown333
ID: 19664608
Sorry one last question what does the network ip address point to
0
 
LVL 8

Expert Comment

by:Jim_Coyne
ID: 19664674
If you are giving out ip's in the 192.168.1.0/24 range  it would say 192.168.1.0 (basically the network that is going to recieve IP leases) Atleast one interface on the router must also be in this network.
0
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 
LVL 8

Expert Comment

by:Jim_Coyne
ID: 19664686
you can also exclude ip address with this command

ip dhcp excluded-address 192.168.1.1 192.168.1.10 (this says don't assign .1 to .10)
0
 

Author Comment

by:fbrown333
ID: 19665690
ok this were im stuck
when i put in the ip of my untrust router say its x.x.x.138 this is serial 0
the router makes the network ip x.x.x.136
0
 

Author Comment

by:fbrown333
ID: 19666178
!
ip tcp synwait-time 10
no ip dhcp use vrf connected
ip dhcp excluded-address 70.164.104.3 70.164.104.16
!
ip dhcp pool untrusted
   network 70.167.180.136 255.255.255.252
   dns-server 209.242.128.100
   default-router 70.164.104.1 255.255.255.224
!
!
here is the config but i dont get a ip from it
0
 
LVL 8

Expert Comment

by:Jim_Coyne
ID: 19666283
for a /30 network, 136 is the network number, the next network is 140, then 144 ...etc.

70.167.180.136 is the network number
70.167.180.137 host
70.167.180.138 host
70.167.180.139 broadcast

So with this config you can only send 1 lease since this side plus the lease is two hosts.
Are you sure that is what you want to do?

maybe ip unnumbered is what you want?
0
 

Author Comment

by:fbrown333
ID: 19666410
what is ip unnumbered
0
 
LVL 8

Expert Comment

by:Jim_Coyne
ID: 19666900
It basically saves IP addresses, you can have a point to point link with no ip addresses. The following is a basic example.

Side A:
int s1/0
encap ppp
ip unnumbered e0/0

Side B:
int s1/0
encap ppp
ip unnumbered e0/0

http://www.cisco.com/warp/public/701/20.html
0
 

Author Comment

by:fbrown333
ID: 19667013
no, I had this working at one time but I forgot how I had it
my internet router is pluged into a untrust switch and thats were I pug in vistors or when I need a out side ip, this way the visitors dont become part of my network.

this is how it works
internet - router - switch - firewall

my dchp address should be for the users pluged into the switch.
0
 
LVL 8

Accepted Solution

by:
Jim_Coyne earned 150 total points
ID: 19668870
ip dhcp excluded-address 70.167.180.137 70.167.180.137 <----exclude only the routers address

ip dhcp pool UNTRUSTED
   network 70.167.180.136 255.255.255.252
   dns-server 209.242.128.100
   default-router 70.167.180.137 255.255.255.252   <----Default router should be on same network, and since only this routers interface and the one guest take up all of the IPs in the network it must be 70.167.180.137 255.255.255.252
!
int fa0/1
description connected to guest VLAN
ip address 70.167.180.137 255.255.255.252

Now the router will assign the 70.167.180.138 address to the client. Also note that 70.167.180.136 255.255.255.252 is a completely different network then 70.164.104.1 255.255.255.224, so you may need to configure routing.

 
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question