[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dhcp server subnetting



Hi,
I have debian woody acting as a simple firewall/ipmasq box.
eth0 public IP
eth1 private IP.

I'm serving out IP's on eth1 but would like to go beyond 256 nodes.
Currently, this is the setup for eth1:

Network 10.0.0.0
IP address 10.0.0.1
Netmask 255.255.255.0
broadcast 10.0.0.255

My dhcpd.conf serves out IP's in this range:
10.0.0.20 - 10.0.0.254
(2-19 are reserved for other servers, printers etc)

Basically, is it OK networking practise to setup my eth1 as follows?:

Network 10.0.0.0
IP address 10.0.0.1
Netmask 255.255.254
broadcast 10.0.1.255

My dhcpd.conf would serve out IP's in this range:
10.0.0.20 - 10.0.1.254

Would this give me a Legal subnet of 512? (minus the network and broadcast IP's 
of course)
I understand that I probably should throw a 3rd nic in the box and have 2 
complete subnets on my private side, but I think my Motherboard is all out of 
PCI slots.

Any advice or help is greatly appreciated. :)
 
Cheers,
Mike





-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



Reply to: