Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

about dhcp

Status
Not open for further replies.

fffrrr

Technical User
Feb 18, 2009
24
MX
I have followed the next avaya pdf's about the topic:

and I obtained the next configuration on the g450:

##########POOL FOR PC's

G450-001(super)# ip dhcp pool 10
G450-001(super-DHCP 10)# name Desktop
G450-001(super-DHCP 10)# start-ip-addr 10.100.1.1
G450-001(super-DHCP 10)# end-ip-addr 10.100.1.125
G450-001(super-DHCP 10)# subnet-mask 255.255.255.128
G450-001(super-DHCP 10)# default-router 10.100.1.126
G450-001(super-DHCP 10)# dns-server 200.33.146.233
G450-001(super-DHCP 10)# exit

##########POOL FOR IP TELEPHONES

G450-001(super)# ip dhcp pool 20
G450-001(super-DHCP 20)# name IPphones
G450-001(super-DHCP 20)# start-ip-addr 10.200.1.1
G450-001(super-DHCP 20)# end-ip-addr 10.200.1.125
G450-001(super-DHCP 20)# subnet-mask 255.255.255.128
G450-001(super-DHCP 20)# default-router 10.200.1.126

##########FOR IP TELEPHONES 46xx

G450-001(super-DHCP 20)# option 172
G450-001(super-DHCP 20/option 172)# value ascii "MCIPADD=10.200.1.129, MCPORT=1719, L2Q=0, L2VLAN=200"
G450-001(super-DHCP 20/option 172)# exit

##########FOR IP TELEPHONES 92xx

G450-001(super-DHCP 20)# option 242
G450-001(super-DHCP 20/option 242)# value ascii "MCIPADD=10.200.1.129, MCPORT=1719, L2Q=0, L2VLAN=200"
G450-001(super-DHCP 20/option 242)# exit
G450-001(super-DHCP 20)# exit
G450-001(super)# ip dhcp activate pool 10
G450-001(super)# ip dhcp activate pool 20
G450-001(super)# ip dhcp-server
G450-001(super)# ip dhcp ping packets


when I reset the phone to test the dhcp service, the ip phone (4602) only catch some parameters like call servport (1719), router(10.100.1.126) and mask (255.255.255.128) but not phone IP and vlanID. The router parameter that it took is of the "Desktop" pool, after a few seconds the next message appears "No call-server address reseting".
What is wrong? How can I resolve that?

Thax.
 
You need to add the DHCP options, 176 and 242 to your desktop scope as well. You only need the L2Q=0 and L2QVLAN=200 strings, that way the phones will know they are on the wrong VLAN and reboot on VLAN 200. I always use L2Q=1, but I don't know that what you have won't work.

PG
 
Doubt 1.
the options added (option 176 and 242)in the desktop scope have to be exactly?

Doubt 2.
other thing, the "L2VLAN=200" parameter on Desktop scope indicates a different VLANid of the Desktop PC. Any problem with that? or I have to use the respective VLANid?

Doubt 3.
What is the differences between L2Q=1 and L2Q=0?

This is the dhcp sh runn:

ip dhcp-server
ip dhcp ping packets
exit
ip dhcp pool 10
name "DESKTOP"
start-ip-addr 10.100.1.1
end-ip-addr 10.100.1.125
subnet-mask 255.255.255.128
default-router 10.100.1.126
dns-server 200.33.146.233
option 172
exit
option 176
value ascii "L2Q=1,L2VLAN=200"
exit
option 242
value ascii "L2Q=1,L"VLAN=200"
exit
exit
ip dhcp activate pool 10
ip dhcp pool 20
name "IPphones"
start-ip-addr 10.200.1.1
end-ip-addr 10.200.1.125
subnet-mask 255.255.255.128
default-router 10.200.1.126
option 176
name "46xx Series IP phones"
value ascii "MCIPADD=10.200.1.129, MCPORT=1719, L2Q=1, L2VLAN=200"
exit
option 242
value ascii "MCIPADD=10.200.1.129, MCPORT=1719, L2Q=1, L2VLAN=200"
exit
exit
ip dhcp activate pool 20
!
!#
!# End of configuration file. Press Enter to continue.
 
Doubt 1: You only need teh VLAN info in the desktop scope. L2Q=1,L2VLAN=200

Doubt 2: You can have the L2VLAN=200 in the desktop scope because the desk tops won't be looking at option 176 or 224 and probably don't have the ability to tag anyway.

Doubt 3: 1= L2Q on, 0=L2q auto

The config you have up there looks good, did it work? The phones should boot up, then reboot on their own and show VLAN:200 and keep going.

By the way I don't see where you have a file server configured to load updates and the 46xxsettings file.

PG
 
I didnt configure any File server, I didnt think about it. But it is really necesary the File server parameter? In what cases is necesary?

Thnx.
 
A fileserver is ALWAYS needed, first and foremost to load yuor "46xxsettings.txt" file, to setup your IP phone parameters. Also, youwill most likely need to upgrade the firmware on the phones, and that is required for that as well.



Mitch

AVAYA Certified Expert
 
Ok, I understand that, but in this case, I mean, dynamic configuration for ip phones, I need to configure the file server parameter? if the answer is yes, how can I do that?
 
youcould setup AVAYA's "MVIptel" on a server, which serves out:

HTTP/HTTP for 96XX IP Phones
TFTP for 46XX IP Phones
FTP for backups

you would then jus tpoint your 2 option strings to the server:

Option 176 (46XX IP phones)
MCIPADD=x.x.x.x,MCPORT=1719,TFTPSRVR=y.y.y.y

and

Option 242 (96XX IP phones)
MCIPADD=x.x.x.x,MCPORT=1719,TLSSRVR=y.y.y.y (for HTTPS port 411)
or
MCIPADD=x.x.x.x,MCPORT-1719,HTTPSRVR=y.y.y.y (for HTTP port 80/81)

Mitch


Mitch

AVAYA Certified Expert
 

I took a 4602 to test the configuration. I followed your recommendations guys, but the phone get still parameters of "Desktop" scope. In the beginning of the displayed, appears the next:

(1)
DHCP: counting
VLAN ID=0

*the VLAN ID parameter is the only change compares to the initial configuration.

then

(2)
"No File server address",

then

(3)
no FileSv address
*to program

then

(4)
no call server address

and then, after a couple of attempts later this message is displayed:

"No Call Cerver Address-Reseting"

I dont know what is happening or what is wrong. Well, obviously the phone is taking parameters of the "Desktop" scope, but why it do that?

this is the new configuration:

Done!
G450-001(super)# sh runn
G450-001(super)#
! version 29.24.0
!
ip dhcp-server
ip dhcp ping packets
ip dhcp pool 10
name "DESKTOP"
start-ip-addr 10.100.1.1
end-ip-addr 10.100.1.125
subnet-mask 255.255.255.128
default-router 10.100.1.126
dns-server 200.33.146.233
option 172
exit
option 176
value ascii "L2Q=1,L2VLAN=200"
exit
option 242
value ascii "L2Q=1,L"VLAN=200"
exit
exit
ip dhcp activate pool 10
ip dhcp pool 20
name "IPphones"
start-ip-addr 10.200.1.1
end-ip-addr 10.200.1.125
subnet-mask 255.255.255.128
default-router 10.200.1.126
option 176
name "46xx Series IP phones"
value ascii "MCIPADD=10.200.1.129, MCPORT=1719, TFTPSRVR=10.200.1.130, L2Q=1, L2VLAN=200"
exit
option 242
value ascii "MCIPADD=10.200.1.129, MCPORT=1719, TFTPSRVR=10.200.1.130, L2Q=1, L2VLAN=200"
exit
exit
ip dhcp activate pool 20
!#
!# End of configuration file. Press Enter to continue.
 
you did not specify what type of ethernet switch you have, on the AVAYA application notes, they have lines for:

"set port vlan 200 6/1-24"
and
"set port static-vlan 6/1-24 201"

which sets the voice and data vlans to be on different VLANs. In the example, VLAN 200 is the data vlan (native), while VLAN 201 is the voice vlan (static-vlan).

I am pretty sure you are missing this step



Mitch

AVAYA Certified Expert
 
Wow Mitch, Im surprised, you are everywhere.

ok, Im using a Extreme summit X250e 24t, and with the next conf :

#configure "DataUsers" add ports 16 untagged
#configure "VoiceUsers" add ports 16 tagged

in the VLAN conf on the switch, I configure the VLANID 200 for voice and VLAN 100 for data.

In the avaya's apps. notes, the example configuration is about the c363 switch, and the static configuration is same on the extreme switch, I mean, avaya use "static-vlan" command to indicate that two VLANS will use the same port (voice and data), and extreme use "tagged" and "untagged" to indicate the same objetive. I dont see the difference between them. Can you show me my mistake?

thax.
 
If it's coming up on VLAN 0, I would suspect that the TESTVLAN timer ran out before it got an address and so it is using that value. Do a CLEAR# on the phone and try it again.

PG
 
I had done already in every single test. But the phone get still Desktop parameters.
 
I tested on a 5602 avaya phone. The same, the phone get still parameters of Desktop. After some attempts the next text is displayed:

"Contact DHCP/TFTP administrator, L2Q params in option 43/176 or XXX.scr script file have looping conditions"

only in 5602 phone appears that text. In the 4602 phones still appears the next:

"no call server address-reseting"

Why?
 


OBTAINED SOLUTION:

#### ENABLING THE OPTIONS ON THE DESKTOP SCOPE FOR IP PHONES IGNORE THIS POOL

G450-001(super-DHCP 10/option 172)# value ascii "L2Q=1,L2QVLAN=200"
G450-001(super-DHCP 10/option 172)# exit
G450-001(super-DHCP 10)# option 242
G450-001(super-DHCP 10/option 242)# value ascii "L2Q=1,L2QVLAN=200"
G450-001(super-DHCP 10/option 242)# exit



#### DHCP CONFIGURATION FOR 46xx & 96xx IP PHONE MODELS

G450-001(super-DHCP 20)# option 172
G450-001(super-DHCP 20/option 172)# name "46xx Series IP phones"

#### THIS PARAMETER "TFTPSRVR=0.0.0.0" ALLOWS A QUICK BOOT UP, IF THIS PARAMETER MISSING MAYBE YOU EXPERIENCE PROBLEMS

G450-001(super-DHCP 20/option 172)# value ascii "MCIPADD=10.200.1.129, MCPORT=1719, TFTPSRVR=0.0.0.0, L2Q=1, L2VLAN=200"
G450-001(super-DHCP 20/option 172)# exit
G450-001(super-DHCP 20)# option 242
G450-001(super-DHCP 20/option 242)# name "96xx Series IP phones"
G450-001(super-DHCP 20/option 242)# value ascii "MCIPADD=10.200.1.129, MCPORT=1719, TFTPSRVR=0.0.0.0, L2Q=1, L2VLAN=200"
G450-001(super-DHCP 20/option 242)# exit
G450-001(super-DHCP 20)# exit
 
The option for 46xx IP phones sould be "176", not "172". Also, Option 242 is for 96xx IP Phones, they do not understand TFTP protocol, the only valid strings there are: HTTPSRVR= or TLSSRVR=, not "TFTPSRVR=", that is meaningless.

Mitch


Mitch

AVAYA Certified Expert
 



That's right Mitch, wrinting error in both.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top