[SATLUG] dhcpd + assistance + 1000 users

Bruce Dubbs bdubbs at swbell.net
Thu Jan 12 15:59:59 CST 2006


K. Spoon wrote:
> On Thu, Jan 12, 2006 at 12:09:41PM -0600, twistedpickles wrote:
> 
>>Many thanks for your replies. I'm not a network admin just forced to be and
>>act as one. I'm trying to swallow as much info as I can to get the dhcp
>>server working for this weekend.
>>
>>I thought 10.0.200.x and 10.0.203x where on the same subnet and simply
> 
> 
> As long as the netmask is 255.255.252.0  (or /22) it is.
> 
> 
>>assigning the correct subnet mask of 255.255.252.0 would make things work.
> 

Right.

> And like Art mentioned, as long as the routers and switches know to use
> the right netmask, it should.

Switches done't use netmasks.  They work at layer 2.

> But if the switch you're hooked into thinks you're running on
> 10.0.200.0/24, then you either need to fix your networking gear's
> netmask or look into using multiple network cards.

I think you mean router here.  Again switches are layer 2 and don't use
IP addresses for switching.  They use MAC addresses.

> Run ifconfig eth0 (or whatever the interface you're using is) and make
> sure that the netmask is set to 255.255.252.0 instead of 255.255.255.0.
> 
>  
> 
>>Will changing it to the following make it work:
>>
>>subnet 10.0.0.0 netmask 255.255.255.0 {
>>option routers 10.0.0.1;
>>option subnet-mask 255.0.0.0;
>>option domain-name "satx.rr.com";
>>option domain-name-servers 10.0.0.1;
>>
>>range 10.0.0.1 10.0.3.255;
>>
>>}
> 
> 
> Nope.  :/  The problem is still the netmask in your "subnet" line.

Yup.  Try:

subnet 10.0.0.0 netmask 255.255.252.0 {
option routers 10.0.0.1;
option subnet-mask 255.255.252.0;
option domain-name "satx.rr.com";
option domain-name-servers 10.0.0.1;

range 10.0.0.2 10.0.3.255;

Note that your router is 10.0.0.1 and needs to be excluded from the
range.  Also, your domain is probably not satx.rr.com.  Use something else.

  -- Bruce



  -- Bruce




More information about the SATLUG mailing list