Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-18-2002, 09:00 AM   #1
Registered: Sep 2002
Distribution: RH, FC, Ubuntu, Solaris, AIX
Posts: 114

Rep: Reputation: 15
Question DHCP option for SIP

How can i use the DHCP client to get value for some particular option from the DHCP server (dhcpd) like the SIP server IP address. This is a new option added in DHCP options (by RFC 3361) and its option-number is 120.
Old 09-18-2002, 07:08 PM   #2
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
Well I'm not sure about Linux but for Windoze just use winipcfg or on NT/2000/XP use ipconfig /all at the command prompt.

Old 09-18-2002, 10:59 PM   #3
Registered: Sep 2002
Distribution: RH, FC, Ubuntu, Solaris, AIX
Posts: 114

Original Poster
Rep: Reputation: 15
Well i am grateful for yr reply but i need the solution for Linux 7.2

I have read that there are certain option numbers allocated for private use. And i have also read that DHCPd server in Linux also supports the use of options by simply entering value in the dhcpd.conf file in the format

option option-120 ae:11:11:11;

where 120 is the option number and rest is the information for that option to be given to client.

Now i want to know how can i tell my client in Linux to get the value of this option from the server.

Any comments/advices will be appreciated.
Old 09-19-2002, 10:33 PM   #4
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260

Rep: Reputation: 30
Whatever your client gets should be in the /etc/dhcpc/ file. I don't think you can force the server to tell you anything as the client. It will depend what is in the server's dhcpd.conf file. But look at the man for dhcpcd, there may be some option you can set.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP server not using 'option interface-mtu'? Moloko Linux - Networking 2 01-09-2010 11:30 AM
DHCP Server: Is there a Classid option equivilant Swakoo Linux - Networking 2 10-24-2005 04:17 AM
pring option in DHCP salahuddin_66 Slackware 1 06-26-2004 03:50 AM
dhcp, option routers lalu Linux - General 1 09-13-2001 08:07 AM
DHCP-server. option routers lalu Linux - General 0 09-13-2001 01:46 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration