FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Server Development

 
 
LinkBack Thread Tools
 
Old 04-09-2010, 07:14 AM
"Abdul Razzak"
 
Default Required help in configuring dhcp.....................

Hi Ubuntu,


*


*In am creating a domain server with Connecting only one
Windows Machine(XP OS) with its Ubuntu’s Servers domain name.


*


a)Do I need to configure dhcp,if so I get errors* such as


*


* # pool {


* #**** deny members of “foo”;


* #*** range 10.0.29.10 10.0.29.230;


**# }


*Subnet 192.10.1.104 netmask 255.255.255.0 {


*Range 192.10.1.105 192.10.1.150;


*}


*


b)Secondly I was unable to install and work ebox as u have suggested
but I used webmin.


*


Can u Just help in resolve this.


*


*


With regards


G.Abdul Razzak


Unlimited Innovations


*







--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 04-09-2010, 08:28 PM
Preston Hagar
 
Default Required help in configuring dhcp.....................

On Fri, Apr 9, 2010 at 2:14 AM, Abdul Razzak <Razzak@uiasiapac.com> wrote:
> Hi Ubuntu,
>
>
> *In am creating a domain server with Connecting only one Windows Machine(XP
> OS) with its Ubuntu’s Servers domain name.
>
>
>
> a)Do I need to configure dhcp,if so I get errors* such as
>
>
>
> * # pool {
>
> * #**** deny members of “foo”;
>
> * #*** range 10.0.29.10 10.0.29.230;
>
> **# }
>
> *Subnet 192.10.1.104 netmask 255.255.255.0 {
>
> *Range 192.10.1.105 192.10.1.150;
>
> *}
>

Is there any other DHCP server on the network (a router, a Windows
server, etc.)? I haven't read your previous posts, so I am unsure of
your exact setup, but are there many machines on your network or just
one (the Windows XP machine) in addition to the Ubuntu server? If it
is just the server and the Windows XP machine, you might consider just
setting them both staticly and not worrying with setting up a DHCP
server.

That being said, your "errors" posted above really just look like part
of a dhcpd.conf file. Without seeing the whole file, it is hard to
know what all errors may be in it, but from just your snippet two
things pop out at me:

First, your IP range is not an IANA private range:
http://en.wikipedia.org/wiki/Private_network

You need something in the 192.168.0.0 - 192.168.255.255 area (if you
want a 192 network instead of 10. or 17.16.)

Secondly, your subnet (192.10.1.104) isn't really a subnet, but rather
a specific IP address. Here is a correct subnet definition:

subnet 192.168.1.0 netmask 255.255.255.0 {

range 192.168.1.105 192.168.1.150;
}

This would have the dhcp server give out addresses from 192.168.1.105
- 192.168.150

You will probably also want an option routers and an option
domain-name servers somewhere in there.

For example, say your gateway/router is at 192.168.1.254 and your name
server is also the same as your gateway/router (192.168.1.254) . A
mini config file for this might look something like this:


# Begin file
option domain-nameservers 192.168.1.254;
option routers 192.168.1.254;

subnet 192.168.1.0 netmask 255.255.255.0 {

range 192.168.1.105 192.168.1.150;

}

# End file


Anything with a # in front of it is consindered a comment and is not
used to configure the dhcp server. Also, be sure that your dhcp
address range doesn't include any devices you might set statically
(like your gateway or router). This is a common mistake.

> b)Secondly I was unable to install and work ebox as u have suggested but I
> used webmin.
>
>

I am not sure what ebox or webmin are, sorry.
>
> Can u Just help in resolve this.
>
>
> With regards
>
> G.Abdul Razzak
>
> Unlimited Innovations
>
>

Hope this helps,

Preston

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 

Thread Tools




All times are GMT. The time now is 09:31 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org