LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-27-2001, 05:50 PM   #1
Danilda
LQ Newbie
 
Registered: Nov 2001
Location: Raleigh, NC
Posts: 1

Rep: Reputation: 0
Accessing DHCP from Windows 2000


I know absolutely nothing about Linux. I am coming into a new position where someone else set up DHCP on Linux, but I need to be able to match an IP address with a computer name. Is there a way for me to get this information in a GUI format? If not in a GUI format, how can I access this info without a lot of fuss?

Thanks for you help.

Danilda
 
Old 12-05-2001, 04:45 PM   #2
ryandelany
Member
 
Registered: Dec 2001
Location: Orange County, CA
Distribution: RedHat 7.2, 7.3, 8.0
Posts: 66

Rep: Reputation: 15
Danilda,

Your DHCP server configuration information should be in /etc/dhcpd.conf.

If you want to assign a specific address to a specific-named machine, you can add a section similar to the following (changing the IP address, MAC address, and hostname to suit your setup):

host gannon {
hardware ethernet 00:60:09:C5:9C:DB;
fixed-address 192.168.3.14;
}

In this specific example, gannon is the machine name, 00:60:09:C5:9C:DB is the MAC address, and 192.168.3.14 is the IP address you want to assign. This is often referred to as 'reserved addressing'.

For more info, check out this link:

http://www.linux.com/enhance/newsite...id=1&aid=11297

Sorry if I couldn't tell you an easier way to do it!

Ryan
 
Old 12-05-2001, 09:47 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
look at the /var/lib/dhcp/dhcpd.leases file,

It will contain the info for all machines that have been connected and given leases like this


lease 11.0.0.2 {
starts 4 2001/12/06 02:21:40;
ends 4 2001/12/06 11:21:40;
hardware ethernet 00:20:78:10:dd:5b;
uid 0g:00:38:34:57:00:3r;
client-hostname "WIN98";
}

lease 10.0.0.2 {
starts 4 2001/12/06 02:25:52;
ends 4 2001/12/06 11:25:52;
hardware ethernet 00:0t:6d:b5:39:ge;
uid 01:00:03:6d:13:39:11;
client-hostname "WINME";
}

use this to configure /etc/dhcpd.conf


The systems with the fixed address assigned in dhcpd.conf will not show up in the leases file.


You can open these files in your favorite gui editor. kate or gedit will work fine.


try this

gedit /var/lib/dhcp/dhcpd.leases


for the less fuss stuff select the line above with the left mouse button and center button click in a terminal or console



Last edited by DavidPhillips; 12-05-2001 at 09:59 PM.
 
  


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
Accessing a local windows 2000/xp filesystem from linux and vice versa kaplan71 Fedora 6 05-24-2005 08:46 AM
Wrong Hostname in the DNS and DHCP Address Leases of Windows 2000 saneax Linux - Networking 1 03-03-2005 03:14 AM
Accessing Tomcat on windows 2000 from linux caesarkim Linux - Networking 0 04-15-2004 01:12 PM
Accessing Linux files on one m/c from another Windows-2000 m/c rajeshdorai Linux - Networking 0 04-13-2004 10:06 AM
DNS from DHCP FC1+Xtrasys-2000 clar77 Linux - Wireless Networking 1 01-12-2004 11:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:59 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