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

Notices



Reply
 
Search this Thread
Old 09-18-2002, 10:00 AM   #1
yrraja
Member
 
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, 08:08 PM   #2
tarballedtux
Member
 
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.

--tarballedtux
 
Old 09-18-2002, 11:59 PM   #3
yrraja
Member
 
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, 11:33 PM   #4
bbeers
Member
 
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260

Rep: Reputation: 30
Whatever your client gets should be in the /etc/dhcpc/dhcpcd-eth0.info 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.

-bbeers
 
  


Reply


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 12:30 PM
DHCP Server: Is there a Classid option equivilant Swakoo Linux - Networking 2 10-24-2005 05:17 AM
pring option in DHCP salahuddin_66 Slackware 1 06-26-2004 04:50 AM
dhcp, option routers lalu Linux - General 1 09-13-2001 09:07 AM
DHCP-server. option routers lalu Linux - General 0 09-13-2001 02:46 AM


All times are GMT -5. The time now is 03:55 PM.

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