LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 05-10-2004, 11:54 PM   #1
honganhptit
LQ Newbie
 
Registered: May 2004
Posts: 4

Rep: Reputation: 0
Unhappy Help Me ! Subnet Selection On Sun 8 Dhcp Server !!!!


Good morning all !

First, I'm sorry for my little bad English !.
I used Sun 8 DHCP Server, I want to config my DHCP Server to allocate IP address for my Radius Server (My Radius Server is acting as DHCP Relay Agent). In Radius Server, I config to request the subnet 11.23.24.0 but DHCP Server only allocate on local subnet 10.70.75.0. So how I config my DHCP Server to support subnet selection option from dhcp client (or dhcp relay agen) ?. My Radius and DHCP server are locate on 10.70.75.0, and I want my DHCP server allocate IP adress to Radis request on 12.23.24.0, (with local subnet 10.70.75.0 it works very well)

I thing my dhcp server does not support subnet selection option, i know that option code 1-127 are standard, but in my /etc/dhcp/inittab have only code 1-97. So i don't know how to make my server support 118 option (I think this optoin is the "Subnet selection option").
When i config my server with range 11.23.24.0 ( I don't config with local range 10.70.75.0 ), then server create 3 macro like this :

Name Type Value
==================================================
11.23.24.0 Macro :Subnet=255.255.255.0:Broadcast=11.23.24.255:
testing Macro :Include=Locale:Timeserv=10.70.75.250:LeaseTim=259200:LeaseNeg:
Locale Macro :UTCoffst=28800:

What must i do to make my dhcp server support this 118 option ?
When running in debug mode, i have this error from dhcp server ( if i don't config local range 10.70.75.0 ) :

409a090a: Packet received from relay agent: 10.70.75.145
409a090b: There is no 10.70.75.0 dhcp-network table for DHCP client's network.

And this is the standard option in my server :
Subnet STANDARD, 1, IP, 1, 1, sdmi
UTCoffst STANDARD, 2, SNUMBER32, 1, 1, sdmi
Router STANDARD, 3, IP, 1, 0, sdmi
Timeserv STANDARD, 4, IP, 1, 0, sdmi
IEN116ns STANDARD, 5, IP, 1, 0, sdmi
DNSserv STANDARD, 6, IP, 1, 0, sdmi
Logserv STANDARD, 7, IP, 1, 0, sdmi
Cookie STANDARD, 8, IP, 1, 0, sdmi
Lprserv STANDARD, 9, IP, 1, 0, sdmi
Impress STANDARD, 10, IP, 1, 0, sdmi
Resource STANDARD, 11, IP, 1, 0, sdmi
Hostname STANDARD, 12, ASCII, 1, 0, si
Bootsize STANDARD, 13, UNUMBER16, 1, 1, sdmi
Dumpfile STANDARD, 14, ASCII, 1, 0, sdmi
DNSdmain STANDARD, 15, ASCII, 1, 0, sdmi
Swapserv STANDARD, 16, IP, 1, 1, sdmi
Rootpath STANDARD, 17, ASCII, 1, 0, sdmi
ExtendP STANDARD, 18, ASCII, 1, 0, sdmi
IpFwdF STANDARD, 19, UNUMBER8, 1, 1, sdmi
NLrouteF STANDARD, 20, UNUMBER8, 1, 1, sdmi
PFilter STANDARD, 21, IP, 2, 0, sdmi
MaxIpSiz STANDARD, 22, UNUMBER16, 1, 1, sdmi
IpTTL STANDARD, 23, UNUMBER8, 1, 1, sdmi
PathTO STANDARD, 24, UNUMBER32, 1, 1, sdmi
PathTbl STANDARD, 25, UNUMBER16, 1, 0, sdmi
MTU STANDARD, 26, UNUMBER16, 1, 1, sdmi
SameMtuF STANDARD, 27, UNUMBER8, 1, 1, sdmi
Broadcst STANDARD, 28, IP, 1, 1, sdmi
MaskDscF STANDARD, 29, UNUMBER8, 1, 1, sdmi
MaskSupF STANDARD, 30, UNUMBER8, 1, 1, sdmi
RDiscvyF STANDARD, 31, UNUMBER8, 1, 1, sdmi
RSolictS STANDARD, 32, IP, 1, 1, sdmi
StaticRt STANDARD, 33, IP, 2, 0, sdmi
TrailerF STANDARD, 34, UNUMBER8, 1, 1, sdmi
ArpTimeO STANDARD, 35, UNUMBER32, 1, 1, sdmi
EthEncap STANDARD, 36, UNUMBER8, 1, 1, sdmi
TcpTTL STANDARD, 37, UNUMBER8, 1, 1, sdmi
TcpKaInt STANDARD, 38, UNUMBER32, 1, 1, sdmi
TcpKaGbF STANDARD, 39, UNUMBER8, 1, 1, sdmi
NISdmain STANDARD, 40, ASCII, 1, 0, sdmi
NISservs STANDARD, 41, IP, 1, 0, sdmi
NTPservs STANDARD, 42, IP, 1, 0, sdmi
Vendor STANDARD, 43, OCTET, 1, 0, sdi
NetBNms STANDARD, 44, IP, 1, 0, sdmi
NetBDsts STANDARD, 45, IP, 1, 0, sdmi
NetBNdT STANDARD, 46, UNUMBER8, 1, 1, sdmi
NetBScop STANDARD, 47, ASCII, 1, 0, sdmi
XFontSrv STANDARD, 48, IP, 1, 0, sdmi
XDispMgr STANDARD, 49, IP, 1, 0, sdmi
ReqIP STANDARD, 50, IP, 1, 1, sdi
LeaseTim STANDARD, 51, UNUMBER32, 1, 1, sdmi
OptOvrld STANDARD, 52, UNUMBER8, 1, 1, sdi
DHCPType STANDARD, 53, UNUMBER8, 1, 1, sdi
ServerID STANDARD, 54, IP, 1, 1, sdi
ReqList STANDARD, 55, OCTET, 1, 0, sdi
Message STANDARD, 56, ASCII, 1, 0, sdi
DHCP_MTU STANDARD, 57, UNUMBER16, 1, 1, sdi
T1Time STANDARD, 58, UNUMBER32, 1, 1, sdmi
T2Time STANDARD, 59, UNUMBER32, 1, 1, sdmi
ClassID STANDARD, 60, ASCII, 1, 0, sdi
ClientID STANDARD, 61, OCTET, 1, 0, sdi
NW_dmain STANDARD, 62, ASCII, 1, 0, sdmi
NWIPOpts STANDARD, 63, OCTET, 1, 128, sdmi
NIS+dom STANDARD, 64, ASCII, 1, 0, sdmi
NIS+serv STANDARD, 65, IP, 1, 0, sdmi
TFTPsrvN STANDARD, 66, ASCII, 1, 64, sdmi
OptBootF STANDARD, 67, ASCII, 1, 128, sdmi
MblIPAgt STANDARD, 68, IP, 1, 0, sdmi
SMTPserv STANDARD, 69, IP, 1, 0, sdmi
POP3serv STANDARD, 70, IP, 1, 0, sdmi
NNTPserv STANDARD, 71, IP, 1, 0, sdmi
WWWservs STANDARD, 72, IP, 1, 0, sdmi
Fingersv STANDARD, 73, IP, 1, 0, sdmi
IRCservs STANDARD, 74, IP, 1, 0, sdmi
STservs STANDARD, 75, IP, 1, 0, sdmi
STDAservs STANDARD, 76, IP, 1, 0, sdmi
UserClas STANDARD, 77, ASCII, 1, 0, sdi
SLP_DA STANDARD, 78, OCTET, 1, 0, sdmi
SLP_SS STANDARD, 79, OCTET, 1, 0, sdmi
AgentOpt STANDARD, 82, OCTET, 1, 0, sdi
FQDN STANDARD, 89, OCTET, 1, 0, sdmi

Thanks alot.
Honganh
 
Old 05-11-2004, 09:27 PM   #2
honganhptit
LQ Newbie
 
Registered: May 2004
Posts: 4

Original Poster
Rep: Reputation: 0
troi oi sao hong ai tra loi het day troi
 
Old 05-25-2004, 11:04 PM   #3
honganhptit
LQ Newbie
 
Registered: May 2004
Posts: 4

Original Poster
Rep: Reputation: 0
that la khon nan
 
  


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: Bad subnet number/mask combination OliXNet Linux - Networking 4 01-07-2010 10:17 AM
ADSL DHCP A-OK, but Mandrake 10.1 to be DHCP for other subnet is a problem turnbui Linux - Networking 2 08-20-2005 09:34 AM
DHCP Subnet Problems Hunza Linux - Networking 14 06-14-2004 03:38 AM
how to join NIS server (SUN machine) to SUN NIS server? KoRiR Linux - Networking 3 04-28-2004 01:19 PM
unable to get out of my subnet w/o dhcp wendallsan Linux - Networking 8 10-13-2003 02:52 PM


All times are GMT -5. The time now is 09:27 AM.

Main Menu
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