LinuxQuestions.org
Help answer threads with 0 replies.
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 08-02-2006, 03:40 PM   #1
vj2k
LQ Newbie
 
Registered: Aug 2006
Posts: 6

Rep: Reputation: 0
shifting from a p2p to Client server network using DHCP


Hi,

I work in an educational institution which currently has a p2p network with static addressing.

IP 192.168.11.0- 192.168.11.255
subnet: 255.255.255.0

We have a mixture of a wired and wireless networks connected to a gateway

gateway 192.168.11.250

We want to move to a DHCP system using linux.

I am a newbie with networking and I have broadly outlined the steps to do it

1. Have a DHCP server with the following configuration

# A slightly different configuration for an internal subnet.
subnet 192.168.10.0 netmask 255.255.254.0 {
range 192.168.10.3 192.168.10.250;
option domain-name-servers 202.54.1.30, 202.54.9.1;
option domain-name "mail.iiswbm.edu";
option routers 192.168.11.250;
option broadcast-address 192.168.11.255;
default-lease-time 600;
max-lease-time 7200;

2. Change the subnet masks of all devices to 255.255.254.0

3. Keep Static IPs for all routers.

Pls tell me if iam right or missing something
thanks and regards
vijay
 
Old 08-03-2006, 08:00 AM   #2
friskydrifter
Member
 
Registered: Jan 2003
Location: AU
Distribution: Whatever - mainly Red Hat
Posts: 32

Rep: Reputation: 15
You might need to add ddns-update-style to the top of your dhcpd.conf

This is and old dhcpd.conf of mine:

ddns-update-style interim;
subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option domain-name "daemon.sh";
option domain-name-servers 203.220.6.130, 139.130.4.4;
range 192.168.0.4 192.168.0.200;
}

Quote:
option domain-name "mail.iiswbm.edu
wouldnt the domain be just iiswbm.edu ? Im assuming mail is the mail server??

Quote:
3. Keep Static IPs for all routers.
Do you want dhcpd to do this? if not just assign the routers a static IP and change the range to not assign the addresses you give the routers. Or you can configure dhcpd to assign ip's based on MAC addresses i think - been a while since i used dhcp.

Last edited by friskydrifter; 08-03-2006 at 08:06 AM.
 
  


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
dhcp client not getting IP from dhcp server jkmartha Linux - Networking 2 06-17-2005 08:12 AM
how can a DHCP client get the DHCP server IP? AshesOfTime Linux - Networking 3 11-24-2004 06:50 AM
Refresh client user list at autentication client/server network. robertoneto123 Linux - Networking 0 11-11-2003 10:38 AM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM
dhcp server and client diveguy Linux - Networking 4 02-20-2002 06:40 PM

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

All times are GMT -5. The time now is 10:08 AM.

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