LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-16-2008, 07:27 AM   #1
imax36581
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
assigning ip from windows dhcp server for specific class


hi my friends
some times in my network i have a ubuntu user that acquiring ip from microsoft dhcp server(2003).
how can i define new vendor class in my dhcp server that specific set any computer that use ubuntu as their os.
can i do this?
remember that i want to define vendor class not user class...
in the default setting dhcp have these vendor class:microsoft option,microsoft windows 2000,microsoft windows 98 and microsoft windows xp.
i want to define new one but i don't know witch class id must i set.
thanks in advance.
 
Old 07-16-2008, 08:38 AM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
According to the dhclient(8) man page, the -V option sets the vendor-class-identifier.

According to the dhcpcd(8) man page, the -i option sets the vendorClassID "dhcpcd uses the default vendor class identifier string (system name, system release, and machine type) if it is not specified."

So, it appears that you can manually set the vendor class ID to your site requirements.

This article describes how to set the vendor class ID for Windows 2000 DHCP server, but it may also apply to 2003:

How to Create a New DHCP User or Vendor Class
http://support.microsoft.com/?id=240247
 
Old 07-16-2008, 04:03 PM   #3
imax36581
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Original Poster
Rep: Reputation: 0
thanks but this article don't show me the specific vendor id for linux system.creating a class and set that is easy but vendor class id is specific name that match for that systems.
of course,if i want to use user class id i can do this with any name but for vendor class i must use the specific name that windows server detect any linux systems with that.i want that name.
for example the word "Sun" works fine for sun systems(in verndor class id) but "Linux" isn't work...
any idea?
 
Old 07-17-2008, 07:16 AM   #4
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
Quote:
"dhcpcd uses the default vendor class identifier string (system name, system release, and machine type) if it is not specified."
Do a tcpdump and see what your Linux distro is sending. This can also be set per what I posted previously according to the man pages.
 
  


Reply



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
Forcing a specific DHCP server mtecknology Linux - Networking 1 10-10-2007 04:31 AM
DHCP Server Not Assigning Addresses jimsproch Linux - Server 4 07-04-2007 09:18 AM
Question: Request a specific IP address from a DHCP server? haertig Linux - Software 2 09-13-2006 04:32 PM
sles 9.2 dhcp server not assigning default gateway pat45 Linux - Networking 1 05-07-2005 05:51 AM
Problem assigning class D IPADDR because of SIOCIFADDR: Invalid argument clu Slackware 3 02-01-2004 07:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:45 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
Open Source Consulting | Domain Registration