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 03-04-2009, 08:02 AM   #1
danyee22
LQ Newbie
 
Registered: Mar 2009
Posts: 5

Rep: Reputation: 0
Smile configuration of DHCP server in windows server 2003 with GateWay


Hi, guys how are you doing?

I am new for linuxquestions website and i have several questions regarding WINDOWS server 2003 and i have no experience about how to configure DHCP server with GateWay

1. during the configuration of DHCP from the server, can i include the server IP Address in the Range of address that the scope Distributes? and what if i exculde from the range of IP Address that the scope distrubites?
2. My server IP Address is 10.62.0.1 ( calss A ) and the Router to be configured IP Address is 192.168.1.1 ( calss C ) that is (G.Way) which is DYNAMIC IP-ADDRESS. SO, is it possible to configure this class C gateway in to calss A, IP Address?

3. If the DHCP is already configured from the server, and Aoutorized that means i have now DHCP server and DHCP client. so, what would happen to the client if i removed and reinstalled again the DHCP?

Please Guys i need your help?


THANK YOU VERY MUCH AND GOD BLESS YOU

Last edited by danyee22; 03-04-2009 at 08:04 AM.
 
Old 03-04-2009, 09:17 AM   #2
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 876

Rep: Reputation: 184Reputation: 184
This is a LINUX forum, you might want to try a Windows forum!

1. In general terms you must exclude any IP addresses within the scope that you have manually configured onto devices.
2. No you can't give a class A host a class C gateway, it breaks the basic rules of IP. The configured gateway must belong to the same IP network as the host, with the same mask.

3. If you remove and re-install the DHCP, the client will retain the IP it was given until it is reset or its lease expires. When it renews the new server will learn about it.
Other devices will ping the offered address before accepting it, so it shouldn't matter that the new server is unaware of existing leases until they are renewed.
 
Old 03-04-2009, 09:18 AM   #3
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,817

Rep: Reputation: 2630Reputation: 2630Reputation: 2630Reputation: 2630Reputation: 2630Reputation: 2630Reputation: 2630Reputation: 2630Reputation: 2630Reputation: 2630Reputation: 2630
Quote:
Originally Posted by danyee22 View Post
Hi, guys how are you doing?

I am new for linuxquestions website and i have several questions regarding WINDOWS server 2003 and i have no experience about how to configure DHCP server with GateWay

1. during the configuration of DHCP from the server, can i include the server IP Address in the Range of address that the scope Distributes? and what if i exculde from the range of IP Address that the scope distrubites?
2. My server IP Address is 10.62.0.1 ( calss A ) and the Router to be configured IP Address is 192.168.1.1 ( calss C ) that is (G.Way) which is DYNAMIC IP-ADDRESS. SO, is it possible to configure this class C gateway in to calss A, IP Address?

3. If the DHCP is already configured from the server, and Aoutorized that means i have now DHCP server and DHCP client. so, what would happen to the client if i removed and reinstalled again the DHCP?

Please Guys i need your help?


THANK YOU VERY MUCH AND GOD BLESS YOU

1. You can include the server address in a DHCP range, but why would you? You should have a separate range of addresses blocked off for static use (things like printers, servers, etc., which need to stay the same).
2. Yes, addresses can be routed wherever you'd like, as long as you have a path.
3. The client would keep the address, until the lease time expired. It would then try to renew the lease, by contacting the DHCP server. If it couldn't find it, bad things happen.

Also, this is LINUX questions....you say you're running a WINDOWS server. You may want to contact Microsoft for help with their DHCP offerings.
 
Old 03-04-2009, 10:07 AM   #4
danyee22
LQ Newbie
 
Registered: Mar 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you very much Guys, but for question number 2, TBOne says i can configure any calss gateway as long as i have a path. so, do you think that the G.Way will work in DHCP CLIENT?
 
Old 03-04-2009, 11:59 AM   #5
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,817

Rep: Reputation: 2630Reputation: 2630Reputation: 2630Reputation: 2630Reputation: 2630Reputation: 2630Reputation: 2630Reputation: 2630Reputation: 2630Reputation: 2630Reputation: 2630
Quote:
Originally Posted by danyee22 View Post
Thank you very much Guys, but for question number 2, TBOne says i can configure any calss gateway as long as i have a path. so, do you think that the G.Way will work in DHCP CLIENT?
Well, I said you can configure what you want, but you need a PATH from point a to point b. But baldy3105 is right on the money with his answer to point 2.

And again, this is LINUX QUESTIONS...you're asking questions about a WINDOWS server. Try a Windows forum.
 
Old 03-04-2009, 05:17 PM   #6
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 876

Rep: Reputation: 184Reputation: 184
Well, we're both right, two halves of the same story. To clarify, you can route packets to anywhere from your client, as long as you have a route that points the way. For the client the default-gateway is the first hop in any path to anywhere except the local ip network which the client accesses directly. The client must be able to communicate with the gateway to send packets to it for routing, so the gateway (or router, under IP they are the same thing) MUST share an ip subnet with the client, so that the client can give it packets which it has to forward on to other networks.

So for a network of 10.2.2.x you might define a dhcp scope of 10.2.1.1 to 10.2.1.254 for your DHCP scope. If your gateway on this network is 10.2.1.1 then this would need to be excluded from this scope. Different kit does this in different ways. In Cisco you define a network and exclude static addresses for example. If you have lots of network to play with you might keep 10.2.0.x for routers, 10.2.1.x for servers 10.2.2.x for DHCP clients etc.

So in my example if your client is going to be offered an address of 10.2.1.2, the gateway 10.2.1.1 that I assigned must be specified in the scope as the default gateway, so that the host can find it, and its address must be excluded from the DHCP range to be offered to the clients. The gateway, (be it a router or a server which also routes or a L3 switch or whatever) then needs to have routes to the other networks to which that hosts wants to communicate.

Obviously for another host on the opposite side of the router the whole configuration must be similar for bidirectional routing.

Just remember all hosts on a subnet must share the same mask. The default gateway must be in the same network as the clients it needs to route for.

There are (as always) exceptions to these rules, but you need to know what you are doing if you try to invoke them or you will kill the network dead.
 
  


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
k12linux and windows 2003 dhcp server treyhphp Linux - Newbie 0 02-19-2009 02:24 PM
import users from Windows LDAP server to Windows 2003 server kpachopoulos General 2 11-26-2008 06:23 PM
RH 4 Enterprise Server Joining windows 2003 Domain configuration campol76 Linux - Newbie 2 01-31-2008 05:19 AM
LTSP and Windows 2003 server DHCP newsflash Linux - Networking 0 04-22-2007 10:23 AM
Making Redhat Linux server work with Windows Server 2000 & 2003 vietdiesel Linux - Newbie 1 04-28-2006 12:36 AM


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