Hi everyone.
Im new in linux and networking, and i try to mount my 1 dhcp server, i have a task to split my net to 32 subnets with 172.16/12, in internal network.
I start virual mashines on 2 subnets named linux and windows.
Then to divide 172.16/12 on 32 subnets, i take 5 bits for it - 172,16/17, my mask become 255.255.128.0
My interfaces configuration:
Code:
auto lo
iface lo inet lopback
auto eth2
iface eth2 inet static
address 172.16.128.0
netmask 255.255.128.0
auto eth1
iface eth1 inet static
address 172.16.0.0
netmask 255.255.128.0
My dhcp configuration:
Code:
subnet 172.16.0.0 netmask 255.255.128.0{
interface eth1;
range 172.16.0.0 172.16.127.254//im not sure if thats good
option subnet mask 255.255.128.0
option routers 172.16.0.0//im not sure if thats good
}
subnet 172.16.128.0 netmask 255.255.128.0{
interface eth2;
range 172.16.128.0 172.16.255.254
option subnet mask 255.255.128.0
option routers 172.16.128.0
}
dhcp start without problems, but my others virtual machines dont receive any ip,in fact they dont receive any packet from dhcp, if anyone could help, it would be apreciated, thanks in advance.