Re: [OSL | CCIE_Voice] DHCP server just one pool on router

2013-03-15 Thread Chrysostomos Christofi
Thank you Jamie

From: Jamie Parr (jamparr) [mailto:jamp...@cisco.com]
Sent: 14 March 2013 10:35
To: Chrysostomos Christofi; sanity insanity; ccie_voice@onlinestudylist.com
Subject: RE: [OSL | CCIE_Voice] DHCP server just one pool on router

I would check these:

Phone is getting the correct vlan
CDP is running
CDP advertisement
Vlan is created
Vlan is assigned
If a switch is being used check the trunk is allowing the vlan, and the native 
vlan is correct
Voice interface is up and you can ping from the local router

Being that everything is local to the site that's the best I can give off the 
top of my head

Jamie Parr
Engineer - IT
jamp...@cisco.commailto:jamp...@cisco.com
Phone: +44 20 8824 2641
Mobile: +44 7590622049

From: Chrysostomos Christofi [mailto:ch.christ...@logicom.net]
Sent: 14 March 2013 08:08
To: Jamie Parr (jamparr); sanity insanity; 
ccie_voice@onlinestudylist.commailto:ccie_voice@onlinestudylist.com
Subject: RE: [OSL | CCIE_Voice] DHCP server just one pool on router

Hi

Yeap the below process look  correct

But what is the next step if the below process is not assign an ip to the 
ipphones?

With show ip dhcp binding everything looks ok. But the phones never get any ip

What troubleshooting need it for that

Regards

From: 
ccie_voice-boun...@onlinestudylist.commailto:ccie_voice-boun...@onlinestudylist.com
 [mailto:ccie_voice-boun...@onlinestudylist.com] On Behalf Of Jamie Parr 
(jamparr)
Sent: 14 March 2013 10:05
To: sanity insanity; 
ccie_voice@onlinestudylist.commailto:ccie_voice@onlinestudylist.com
Subject: Re: [OSL | CCIE_Voice] DHCP server just one pool on router

You need to use a database file to achieve this

My process if to configure a standard DHCP pool, in this case
  ip dhcp pool S1
   network 14.10.66.0 255.255.255.0
   default-router ip addr of sc router
   option 150 ip ip addr of cucm 
Then configure
  ip dhcp database flash:database.txt
  No service dhcp
  Service dhcp
  More flash:database.txt
You will see the output of the file as below

  *time* Feb 03 2013 02:13 AM
  *version* 4
  !IP address Type  Hardware address   Lease expiration   VRF
  14.10.66.183   id0100.0750.5284.8f  Feb 04 2013 02:12 AM

  !IP address  Type Hardware address  Interface-name


  !IP address Interface-name  Lease expiration  Server IP address  
Hardware address  Vrf
  *end*

Open a new text file and change the addresses of the phones to match what you 
want and the lease expiration to Infinite, as below

  *time* Jan 21 2013 09:42 PM
  *version* 4
  !IP address Type  Hardware address   Lease expiration   VRF
  14.10.66.185   id  0100.0750.5284.8f   Infinite

  !IP address  Type Hardware address  Interface-name


  !IP address Interface-name  Lease expiration  Server IP address  
Hardware address  Vrf
  *end*

Remove the ip dhcp database command and stop the dhcp service
Upload the text file to CUCM and copy down to routers flash, then amend the 
dhcp pool to
  ip dhcp pool S1
   origin file flash:newdatabase.txt
   default-router ip addr of sc router
   option 150 ip ip addr of cucm 
Start your dhcp service and check with show ip dhcp bind

Hope this helps

Jamie Parr
Engineer - IT
jamp...@cisco.commailto:jamp...@cisco.com
Phone: +44 20 8824 2641
Mobile: +44 7590622049

From: 
ccie_voice-boun...@onlinestudylist.commailto:ccie_voice-boun...@onlinestudylist.com
 [mailto:ccie_voice-boun...@onlinestudylist.com] On Behalf Of sanity insanity
Sent: 14 March 2013 00:30
To: ccie_voice@onlinestudylist.commailto:ccie_voice@onlinestudylist.com
Subject: [OSL | CCIE_Voice] DHCP server just one pool on router

hi Guys,


I want to configure a dhcp server on a router . The requirement
is that just 1 dhcp pool is required for the phone. I am also
asked to assign ip addresses of 14.10.66.13 and 14.10.66.14 for
my phones.

Current I have the following config on the router but I am forced
to have 2 pools.

ip dhcp pool S1
   host 14.10.66.13 255.255.255.0
   client-identifier 01a9.ef64.9f52.0d
   default-router ip addr of sc router
   option 150 ip ip addr of cucm 
ip dhcp pool S2
   host 14.10.66.14 255.255.255.0
   client-identifier 0108.26d8.3b68.achttp://0108.26d8.3b68.ac
   option 150 ip ip addr of cucm 
   default-router ip addr of sc router

The above config works but is this the right way since only 1 pool is required? 
Could you elaborate
the correct process that needs to be followed ?


-MJ


___
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

Re: [OSL | CCIE_Voice] DHCP server just one pool on router

2013-03-15 Thread ikizoo4 kwon
Hi Jamie,i thought i verified this questions before, but what is purpose of ip 
dhcp database, first database file and etccould you provide any detail for 
reason being?i think below is enough to work .
Upload the text file to CUCM and copy down to routers flash, then amend the 
dhcp pool to  ip dhcp pool S1
   origin file flash:newdatabase.txt
   default-router ip addr of sc router
   option 150 ip ip addr of cucm Start your dhcp service and check with show 
ip dhcp bind
From: ch.christ...@logicom.net
To: jamp...@cisco.com; networksanitytoinsan...@gmail.com; 
ccie_voice@onlinestudylist.com
Date: Fri, 15 Mar 2013 08:08:57 +
Subject: Re: [OSL | CCIE_Voice] DHCP server just one pool on router









Thank you Jamie
 


From: Jamie Parr (jamparr) [mailto:jamp...@cisco.com]


Sent: 14 March 2013 10:35

To: Chrysostomos Christofi; sanity insanity; ccie_voice@onlinestudylist.com

Subject: RE: [OSL | CCIE_Voice] DHCP server just one pool on router


 
I would check these:
 
Phone is getting the correct vlan
CDP is running
CDP advertisement
Vlan is created
Vlan is assigned
If a switch is being used check the trunk is allowing the vlan, and the native 
vlan is correct
Voice interface is up and you can ping from the local router
 
Being that everything is local to the site that’s the best I can give off the 
top of my head
 

Jamie Parr

Engineer - IT

jamp...@cisco.com

Phone: +44 20 8824 2641

Mobile: +44 7590622049

 


From: Chrysostomos Christofi [mailto:ch.christ...@logicom.net]


Sent: 14 March 2013 08:08

To: Jamie Parr (jamparr); sanity insanity; 
ccie_voice@onlinestudylist.com

Subject: RE: [OSL | CCIE_Voice] DHCP server just one pool on router


 
Hi
 
Yeap the below process look  correct
 
But what is the next step if the below process is not assign an ip to the 
ipphones?
 
With show ip dhcp binding everything looks ok. But the phones never get any ip
 
What troubleshooting need it for that
 
Regards
 


From:
ccie_voice-boun...@onlinestudylist.com 
[mailto:ccie_voice-boun...@onlinestudylist.com]
On Behalf Of Jamie Parr (jamparr)

Sent: 14 March 2013 10:05

To: sanity insanity; ccie_voice@onlinestudylist.com

Subject: Re: [OSL | CCIE_Voice] DHCP server just one pool on router


 
You need to use a database file to achieve this
 
My process if to configure a standard DHCP pool, in this case
  ip dhcp pool S1

   network 14.10.66.0 255.255.255.0

   default-router ip addr of sc router

   option 150 ip ip addr of cucm 
Then configure

  ip dhcp database flash:database.txt
  No service dhcp
  Service dhcp
  More flash:database.txt
You will see the output of the file as below
 
  *time* Feb 03 2013 02:13 AM
  *version* 4

  !IP address Type  Hardware address   Lease expiration   VRF
  14.10.66.183   id0100.0750.5284.8f  Feb 04 2013 02:12 AM 

 
  !IP address  Type Hardware address  Interface-name

 
 
  !IP address Interface-name  Lease expiration  Server IP address  
Hardware address  Vrf
  *end*
 
Open a new text file and change the addresses of the phones to match what you 
want and the lease expiration to Infinite, as below
 
  *time* Jan 21 2013 09:42 PM
  *version* 4

  !IP address Type  Hardware address   Lease expiration   VRF
  14.10.66.185   id  0100.0750.5284.8f   Infinite
 
  !IP address  Type Hardware address  Interface-name

 
 
  !IP address Interface-name  Lease expiration  Server IP address  
Hardware address  Vrf
  *end*
 
Remove the ip dhcp database command and stop the dhcp service
Upload the text file to CUCM and copy down to routers flash, then amend the 
dhcp pool to
  ip dhcp pool S1

   origin file flash:newdatabase.txt

   default-router ip addr of sc router

   option 150 ip ip addr of cucm 
Start your dhcp service and check with show ip dhcp bind
 
Hope this helps
 
Jamie Parr

Engineer - IT

jamp...@cisco.com

Phone: +44 20 8824 2641

Mobile: +44 7590622049
 
From:
ccie_voice-boun...@onlinestudylist.com 
[mailto:ccie_voice-boun...@onlinestudylist.com]
On Behalf Of sanity insanity

Sent: 14 March 2013 00:30

To: ccie_voice@onlinestudylist.com

Subject: [OSL | CCIE_Voice] DHCP server just one pool on router
 
hi Guys,





I want to configure a dhcp server on a router . The requirement

is that just 1 dhcp pool is required for the phone. I am also

asked to assign ip addresses of 14.10.66.13 and 14.10.66.14 for

my phones.



Current I have the following config on the router but I am forced

to have 2 pools.



ip dhcp pool S1

   host 14.10.66.13 255.255.255.0

   client-identifier 01a9.ef64.9f52.0d

   default-router ip addr of sc router

   option 150 ip ip addr of cucm 

ip dhcp pool S2

   host 14.10.66.14 255.255.255.0

   client-identifier 0108.26d8.3b68.ac

   option 150 ip ip addr of cucm 

   default-router ip addr of sc router



The above config works but is this the right way since only 1 pool is required? 
Could you elaborate

the correct process that needs to be followed ?





-MJ

Re: [OSL | CCIE_Voice] DHCP server just one pool on router

2013-03-15 Thread Jamie Parr (jamparr)
The reason I use ip dhcp database, is to generate the file in the correct 
format with the correct phone mac identifiers. My process works like this:

Set up the dhcp pool as normal
Generate a database file for the addresses learned in the existing pool
Copy the database file, changing the addresses and lease expirations
Add the new file to the router
Under the dhcp pool change network to origin file

For me this is the easiest way, I don't have to worry about the format of the 
file as the router generated it, I am just changing addresses and expiration 
times

Hope this helps

Jamie Parr
Engineer - IT
jamp...@cisco.commailto:jamp...@cisco.com
Phone: +44 20 8824 2641
Mobile: +44 7590622049

From: ikizoo4 kwon [mailto:ikiz...@hotmail.com]
Sent: 15 March 2013 17:30
To: Chrysostomos Christofi; Jamie Parr (jamparr); sanity insanity; 
ccie_voice@onlinestudylist.com
Subject: RE: [OSL | CCIE_Voice] DHCP server just one pool on router

Hi Jamie,
i thought i verified this questions before, but what is purpose of ip dhcp 
database, first database file and etc
could you provide any detail for reason being?
i think below is enough to work .

Upload the text file to CUCM and copy down to routers flash, then amend the 
dhcp pool to
  ip dhcp pool S1
   origin file flash:newdatabase.txt
   default-router ip addr of sc router
   option 150 ip ip addr of cucm 
Start your dhcp service and check with show ip dhcp bind


From: ch.christ...@logicom.netmailto:ch.christ...@logicom.net
To: jamp...@cisco.commailto:jamp...@cisco.com; 
networksanitytoinsan...@gmail.commailto:networksanitytoinsan...@gmail.com; 
ccie_voice@onlinestudylist.commailto:ccie_voice@onlinestudylist.com
Date: Fri, 15 Mar 2013 08:08:57 +
Subject: Re: [OSL | CCIE_Voice] DHCP server just one pool on router
Thank you Jamie

From: Jamie Parr (jamparr) [mailto:jamp...@cisco.com]
Sent: 14 March 2013 10:35
To: Chrysostomos Christofi; sanity insanity; 
ccie_voice@onlinestudylist.commailto:ccie_voice@onlinestudylist.com
Subject: RE: [OSL | CCIE_Voice] DHCP server just one pool on router

I would check these:

Phone is getting the correct vlan
CDP is running
CDP advertisement
Vlan is created
Vlan is assigned
If a switch is being used check the trunk is allowing the vlan, and the native 
vlan is correct
Voice interface is up and you can ping from the local router

Being that everything is local to the site that's the best I can give off the 
top of my head

Jamie Parr
Engineer - IT
jamp...@cisco.commailto:jamp...@cisco.com
Phone: +44 20 8824 2641
Mobile: +44 7590622049

From: Chrysostomos Christofi [mailto:ch.christ...@logicom.net]
Sent: 14 March 2013 08:08
To: Jamie Parr (jamparr); sanity insanity; 
ccie_voice@onlinestudylist.commailto:ccie_voice@onlinestudylist.com
Subject: RE: [OSL | CCIE_Voice] DHCP server just one pool on router

Hi

Yeap the below process look  correct

But what is the next step if the below process is not assign an ip to the 
ipphones?

With show ip dhcp binding everything looks ok. But the phones never get any ip

What troubleshooting need it for that

Regards

From: 
ccie_voice-boun...@onlinestudylist.commailto:ccie_voice-boun...@onlinestudylist.com
 [mailto:ccie_voice-boun...@onlinestudylist.com] On Behalf Of Jamie Parr 
(jamparr)
Sent: 14 March 2013 10:05
To: sanity insanity; 
ccie_voice@onlinestudylist.commailto:ccie_voice@onlinestudylist.com
Subject: Re: [OSL | CCIE_Voice] DHCP server just one pool on router

You need to use a database file to achieve this

My process if to configure a standard DHCP pool, in this case
  ip dhcp pool S1
   network 14.10.66.0 255.255.255.0
   default-router ip addr of sc router
   option 150 ip ip addr of cucm 
Then configure
  ip dhcp database flash:database.txt
  No service dhcp
  Service dhcp
  More flash:database.txt
You will see the output of the file as below

  *time* Feb 03 2013 02:13 AM
  *version* 4
  !IP address Type  Hardware address   Lease expiration   VRF
  14.10.66.183   id0100.0750.5284.8f  Feb 04 2013 02:12 AM

  !IP address  Type Hardware address  Interface-name


  !IP address Interface-name  Lease expiration  Server IP address  
Hardware address  Vrf
  *end*

Open a new text file and change the addresses of the phones to match what you 
want and the lease expiration to Infinite, as below

  *time* Jan 21 2013 09:42 PM
  *version* 4
  !IP address Type  Hardware address   Lease expiration   VRF
  14.10.66.185   id  0100.0750.5284.8f   Infinite

  !IP address  Type Hardware address  Interface-name


  !IP address Interface-name  Lease expiration  Server IP address  
Hardware address  Vrf
  *end*

Remove the ip dhcp database command and stop the dhcp service
Upload the text file to CUCM and copy down to routers flash, then amend the 
dhcp pool to
  ip dhcp pool S1
   origin file flash:newdatabase.txt
   default-router ip addr of sc router
   option 150 ip ip addr of cucm 
Start your dhcp service

Re: [OSL | CCIE_Voice] DHCP server just one pool on router

2013-03-15 Thread ikizoo4 kwon
Hi Jamie,thanks for explanation, i understand, personally i prefer find format 
in the document and edit it upload it.BK 

From: jamp...@cisco.com
To: ikiz...@hotmail.com; ch.christ...@logicom.net; 
networksanitytoinsan...@gmail.com; ccie_voice@onlinestudylist.com
Subject: RE: [OSL | CCIE_Voice] DHCP server just one pool on router
Date: Fri, 15 Mar 2013 17:59:40 +









The reason I use ip dhcp database, is to generate the file in the correct 
format with the correct phone mac identifiers. My process works like this:
 
Set up the dhcp pool as normal
Generate a database file for the addresses learned in the existing pool
Copy the database file, changing the addresses and lease expirations
Add the new file to the router
Under the dhcp pool change network to origin file
 
For me this is the easiest way, I don’t have to worry about the format of the 
file as the router generated it, I am just changing addresses and expiration 
times
 
Hope this helps
 

Jamie Parr

Engineer - IT

jamp...@cisco.com

Phone: +44 20 8824 2641

Mobile: +44 7590622049

 


From: ikizoo4 kwon [mailto:ikiz...@hotmail.com]


Sent: 15 March 2013 17:30

To: Chrysostomos Christofi; Jamie Parr (jamparr); sanity insanity; 
ccie_voice@onlinestudylist.com

Subject: RE: [OSL | CCIE_Voice] DHCP server just one pool on router


 

Hi Jamie,

i thought i verified this questions before, but what is purpose of ip dhcp 
database, first database file and etc


could you provide any detail for reason being?


i think below is enough to work .


 

Upload the text file to CUCM and copy down to routers flash, then amend the 
dhcp pool to
  ip dhcp pool S1

   origin file flash:newdatabase.txt

   default-router ip addr of sc router

   option 150 ip ip addr of cucm 
Start your dhcp service and check with show ip dhcp bind
 




From:
ch.christ...@logicom.net

To: jamp...@cisco.com; 
networksanitytoinsan...@gmail.com; 
ccie_voice@onlinestudylist.com

Date: Fri, 15 Mar 2013 08:08:57 +

Subject: Re: [OSL | CCIE_Voice] DHCP server just one pool on router

Thank you Jamie
 


From: Jamie Parr (jamparr) [mailto:jamp...@cisco.com]


Sent: 14 March 2013 10:35

To: Chrysostomos Christofi; sanity insanity; 
ccie_voice@onlinestudylist.com

Subject: RE: [OSL | CCIE_Voice] DHCP server just one pool on router


 
I would check these:
 
Phone is getting the correct vlan
CDP is running
CDP advertisement
Vlan is created
Vlan is assigned
If a switch is being used check the trunk is allowing the vlan, and the native 
vlan is correct
Voice interface is up and you can ping from the local router
 
Being that everything is local to the site that’s the best I can give off the 
top of my head
 

Jamie Parr

Engineer - IT

jamp...@cisco.com

Phone: +44 20 8824 2641

Mobile: +44 7590622049

 


From: Chrysostomos Christofi [mailto:ch.christ...@logicom.net]


Sent: 14 March 2013 08:08

To: Jamie Parr (jamparr); sanity insanity; 
ccie_voice@onlinestudylist.com

Subject: RE: [OSL | CCIE_Voice] DHCP server just one pool on router


 
Hi
 
Yeap the below process look  correct
 
But what is the next step if the below process is not assign an ip to the 
ipphones?
 
With show ip dhcp binding everything looks ok. But the phones never get any ip
 
What troubleshooting need it for that
 
Regards
 


From:
ccie_voice-boun...@onlinestudylist.com 
[mailto:ccie_voice-boun...@onlinestudylist.com]
On Behalf Of Jamie Parr (jamparr)

Sent: 14 March 2013 10:05

To: sanity insanity; ccie_voice@onlinestudylist.com

Subject: Re: [OSL | CCIE_Voice] DHCP server just one pool on router


 
You need to use a database file to achieve this
 
My process if to configure a standard DHCP pool, in this case
  ip dhcp pool S1

   network 14.10.66.0 255.255.255.0

   default-router ip addr of sc router

   option 150 ip ip addr of cucm 
Then configure

  ip dhcp database flash:database.txt
  No service dhcp
  Service dhcp
  More flash:database.txt
You will see the output of the file as below
 
  *time* Feb 03 2013 02:13 AM
  *version* 4

  !IP address Type  Hardware address   Lease expiration   VRF
  14.10.66.183   id0100.0750.5284.8f  Feb 04 2013 02:12 AM 

 
  !IP address  Type Hardware address  Interface-name

 
 
  !IP address Interface-name  Lease expiration  Server IP address  
Hardware address  Vrf
  *end*
 
Open a new text file and change the addresses of the phones to match what you 
want and the lease expiration to Infinite, as below
 
  *time* Jan 21 2013 09:42 PM
  *version* 4

  !IP address Type  Hardware address   Lease expiration   VRF
  14.10.66.185   id  0100.0750.5284.8f   Infinite
 
  !IP address  Type Hardware address  Interface-name

 
 
  !IP address Interface-name  Lease expiration  Server IP address  
Hardware address  Vrf
  *end*
 
Remove the ip dhcp database command and stop the dhcp service
Upload the text file to CUCM and copy down to routers flash, then amend the 
dhcp pool to
  ip dhcp pool S1

   origin file

Re: [OSL | CCIE_Voice] DHCP server just one pool on router

2013-03-14 Thread Jamie Parr (jamparr)
You need to use a database file to achieve this

My process if to configure a standard DHCP pool, in this case
  ip dhcp pool S1
   network 14.10.66.0 255.255.255.0
   default-router ip addr of sc router
   option 150 ip ip addr of cucm 
Then configure
  ip dhcp database flash:database.txt
  No service dhcp
  Service dhcp
  More flash:database.txt
You will see the output of the file as below

  *time* Feb 03 2013 02:13 AM
  *version* 4
  !IP address Type  Hardware address   Lease expiration   VRF
  14.10.66.183   id0100.0750.5284.8f  Feb 04 2013 02:12 AM

  !IP address  Type Hardware address  Interface-name


  !IP address Interface-name  Lease expiration  Server IP address  
Hardware address  Vrf
  *end*

Open a new text file and change the addresses of the phones to match what you 
want and the lease expiration to Infinite, as below

  *time* Jan 21 2013 09:42 PM
  *version* 4
  !IP address Type  Hardware address   Lease expiration   VRF
  14.10.66.185   id  0100.0750.5284.8f   Infinite

  !IP address  Type Hardware address  Interface-name


  !IP address Interface-name  Lease expiration  Server IP address  
Hardware address  Vrf
  *end*

Remove the ip dhcp database command and stop the dhcp service
Upload the text file to CUCM and copy down to routers flash, then amend the 
dhcp pool to
  ip dhcp pool S1
   origin file flash:newdatabase.txt
   default-router ip addr of sc router
   option 150 ip ip addr of cucm 
Start your dhcp service and check with show ip dhcp bind

Hope this helps

Jamie Parr
Engineer - IT
jamp...@cisco.commailto:jamp...@cisco.com
Phone: +44 20 8824 2641
Mobile: +44 7590622049

From: ccie_voice-boun...@onlinestudylist.com 
[mailto:ccie_voice-boun...@onlinestudylist.com] On Behalf Of sanity insanity
Sent: 14 March 2013 00:30
To: ccie_voice@onlinestudylist.com
Subject: [OSL | CCIE_Voice] DHCP server just one pool on router

hi Guys,


I want to configure a dhcp server on a router . The requirement
is that just 1 dhcp pool is required for the phone. I am also
asked to assign ip addresses of 14.10.66.13 and 14.10.66.14 for
my phones.

Current I have the following config on the router but I am forced
to have 2 pools.

ip dhcp pool S1
   host 14.10.66.13 255.255.255.0
   client-identifier 01a9.ef64.9f52.0d
   default-router ip addr of sc router
   option 150 ip ip addr of cucm 
ip dhcp pool S2
   host 14.10.66.14 255.255.255.0
   client-identifier 0108.26d8.3b68.achttp://0108.26d8.3b68.ac
   option 150 ip ip addr of cucm 
   default-router ip addr of sc router

The above config works but is this the right way since only 1 pool is required? 
Could you elaborate
the correct process that needs to be followed ?


-MJ





___
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

Re: [OSL | CCIE_Voice] DHCP server just one pool on router

2013-03-14 Thread Chrysostomos Christofi
Hi

Yeap the below process look  correct

But what is the next step if the below process is not assign an ip to the 
ipphones?

With show ip dhcp binding everything looks ok. But the phones never get any ip

What troubleshooting need it for that

Regards

From: ccie_voice-boun...@onlinestudylist.com 
[mailto:ccie_voice-boun...@onlinestudylist.com] On Behalf Of Jamie Parr 
(jamparr)
Sent: 14 March 2013 10:05
To: sanity insanity; ccie_voice@onlinestudylist.com
Subject: Re: [OSL | CCIE_Voice] DHCP server just one pool on router

You need to use a database file to achieve this

My process if to configure a standard DHCP pool, in this case
  ip dhcp pool S1
   network 14.10.66.0 255.255.255.0
   default-router ip addr of sc router
   option 150 ip ip addr of cucm 
Then configure
  ip dhcp database flash:database.txt
  No service dhcp
  Service dhcp
  More flash:database.txt
You will see the output of the file as below

  *time* Feb 03 2013 02:13 AM
  *version* 4
  !IP address Type  Hardware address   Lease expiration   VRF
  14.10.66.183   id0100.0750.5284.8f  Feb 04 2013 02:12 AM

  !IP address  Type Hardware address  Interface-name


  !IP address Interface-name  Lease expiration  Server IP address  
Hardware address  Vrf
  *end*

Open a new text file and change the addresses of the phones to match what you 
want and the lease expiration to Infinite, as below

  *time* Jan 21 2013 09:42 PM
  *version* 4
  !IP address Type  Hardware address   Lease expiration   VRF
  14.10.66.185   id  0100.0750.5284.8f   Infinite

  !IP address  Type Hardware address  Interface-name


  !IP address Interface-name  Lease expiration  Server IP address  
Hardware address  Vrf
  *end*

Remove the ip dhcp database command and stop the dhcp service
Upload the text file to CUCM and copy down to routers flash, then amend the 
dhcp pool to
  ip dhcp pool S1
   origin file flash:newdatabase.txt
   default-router ip addr of sc router
   option 150 ip ip addr of cucm 
Start your dhcp service and check with show ip dhcp bind

Hope this helps

Jamie Parr
Engineer - IT
jamp...@cisco.commailto:jamp...@cisco.com
Phone: +44 20 8824 2641
Mobile: +44 7590622049

From: 
ccie_voice-boun...@onlinestudylist.commailto:ccie_voice-boun...@onlinestudylist.com
 [mailto:ccie_voice-boun...@onlinestudylist.com] On Behalf Of sanity insanity
Sent: 14 March 2013 00:30
To: ccie_voice@onlinestudylist.commailto:ccie_voice@onlinestudylist.com
Subject: [OSL | CCIE_Voice] DHCP server just one pool on router

hi Guys,


I want to configure a dhcp server on a router . The requirement
is that just 1 dhcp pool is required for the phone. I am also
asked to assign ip addresses of 14.10.66.13 and 14.10.66.14 for
my phones.

Current I have the following config on the router but I am forced
to have 2 pools.

ip dhcp pool S1
   host 14.10.66.13 255.255.255.0
   client-identifier 01a9.ef64.9f52.0d
   default-router ip addr of sc router
   option 150 ip ip addr of cucm 
ip dhcp pool S2
   host 14.10.66.14 255.255.255.0
   client-identifier 0108.26d8.3b68.achttp://0108.26d8.3b68.ac
   option 150 ip ip addr of cucm 
   default-router ip addr of sc router

The above config works but is this the right way since only 1 pool is required? 
Could you elaborate
the correct process that needs to be followed ?


-MJ




___
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

Re: [OSL | CCIE_Voice] DHCP server just one pool on router

2013-03-14 Thread Jamie Parr (jamparr)
I would check these:

Phone is getting the correct vlan
CDP is running
CDP advertisement
Vlan is created
Vlan is assigned
If a switch is being used check the trunk is allowing the vlan, and the native 
vlan is correct
Voice interface is up and you can ping from the local router

Being that everything is local to the site that's the best I can give off the 
top of my head

Jamie Parr
Engineer - IT
jamp...@cisco.commailto:jamp...@cisco.com
Phone: +44 20 8824 2641
Mobile: +44 7590622049

From: Chrysostomos Christofi [mailto:ch.christ...@logicom.net]
Sent: 14 March 2013 08:08
To: Jamie Parr (jamparr); sanity insanity; ccie_voice@onlinestudylist.com
Subject: RE: [OSL | CCIE_Voice] DHCP server just one pool on router

Hi

Yeap the below process look  correct

But what is the next step if the below process is not assign an ip to the 
ipphones?

With show ip dhcp binding everything looks ok. But the phones never get any ip

What troubleshooting need it for that

Regards

From: 
ccie_voice-boun...@onlinestudylist.commailto:ccie_voice-boun...@onlinestudylist.com
 [mailto:ccie_voice-boun...@onlinestudylist.com] On Behalf Of Jamie Parr 
(jamparr)
Sent: 14 March 2013 10:05
To: sanity insanity; 
ccie_voice@onlinestudylist.commailto:ccie_voice@onlinestudylist.com
Subject: Re: [OSL | CCIE_Voice] DHCP server just one pool on router

You need to use a database file to achieve this

My process if to configure a standard DHCP pool, in this case
  ip dhcp pool S1
   network 14.10.66.0 255.255.255.0
   default-router ip addr of sc router
   option 150 ip ip addr of cucm 
Then configure
  ip dhcp database flash:database.txt
  No service dhcp
  Service dhcp
  More flash:database.txt
You will see the output of the file as below

  *time* Feb 03 2013 02:13 AM
  *version* 4
  !IP address Type  Hardware address   Lease expiration   VRF
  14.10.66.183   id0100.0750.5284.8f  Feb 04 2013 02:12 AM

  !IP address  Type Hardware address  Interface-name


  !IP address Interface-name  Lease expiration  Server IP address  
Hardware address  Vrf
  *end*

Open a new text file and change the addresses of the phones to match what you 
want and the lease expiration to Infinite, as below

  *time* Jan 21 2013 09:42 PM
  *version* 4
  !IP address Type  Hardware address   Lease expiration   VRF
  14.10.66.185   id  0100.0750.5284.8f   Infinite

  !IP address  Type Hardware address  Interface-name


  !IP address Interface-name  Lease expiration  Server IP address  
Hardware address  Vrf
  *end*

Remove the ip dhcp database command and stop the dhcp service
Upload the text file to CUCM and copy down to routers flash, then amend the 
dhcp pool to
  ip dhcp pool S1
   origin file flash:newdatabase.txt
   default-router ip addr of sc router
   option 150 ip ip addr of cucm 
Start your dhcp service and check with show ip dhcp bind

Hope this helps

Jamie Parr
Engineer - IT
jamp...@cisco.commailto:jamp...@cisco.com
Phone: +44 20 8824 2641
Mobile: +44 7590622049

From: 
ccie_voice-boun...@onlinestudylist.commailto:ccie_voice-boun...@onlinestudylist.com
 [mailto:ccie_voice-boun...@onlinestudylist.com] On Behalf Of sanity insanity
Sent: 14 March 2013 00:30
To: ccie_voice@onlinestudylist.commailto:ccie_voice@onlinestudylist.com
Subject: [OSL | CCIE_Voice] DHCP server just one pool on router

hi Guys,


I want to configure a dhcp server on a router . The requirement
is that just 1 dhcp pool is required for the phone. I am also
asked to assign ip addresses of 14.10.66.13 and 14.10.66.14 for
my phones.

Current I have the following config on the router but I am forced
to have 2 pools.

ip dhcp pool S1
   host 14.10.66.13 255.255.255.0
   client-identifier 01a9.ef64.9f52.0d
   default-router ip addr of sc router
   option 150 ip ip addr of cucm 
ip dhcp pool S2
   host 14.10.66.14 255.255.255.0
   client-identifier 0108.26d8.3b68.achttp://0108.26d8.3b68.ac
   option 150 ip ip addr of cucm 
   default-router ip addr of sc router

The above config works but is this the right way since only 1 pool is required? 
Could you elaborate
the correct process that needs to be followed ?


-MJ



___
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com