Hi guys. I'm hoping someone can help me.
I have just set up my own DHCP server to manage IP addresses on the network. I have two subnets. The main network (192.168.0.0) is where the DHCP server sits and this network is also my gateway to the internet - all computers on this network aquire their IP addresses from my DHCP server with no problems.
My Linksys router is plugged into this network (at IP address 192.168.0.11 and has an IP address of 192.168.1.1 on its network). Behind my Linksys router is the network 192.168.1.1. The router is a WRT54GS and is set up as a router rather than a gateway. However none of the computers on this subnet can see the DHCP server and so cannot aquire IP addresses (they get them fine when using the routers DHCP server).
I have gone back to a really basic dhcpd.conf file as shown below:
I have a feeling it is something to do with broadcasts on the 192.168.1.0 network not being routed to the 192.168.0.0 network. - i can ping the DHCP server
any ideas? if it is to do with broadcasts not being routed to the lower networks is there a way to get round this by adding a new rule to the routing table?
thanks
I have just set up my own DHCP server to manage IP addresses on the network. I have two subnets. The main network (192.168.0.0) is where the DHCP server sits and this network is also my gateway to the internet - all computers on this network aquire their IP addresses from my DHCP server with no problems.
My Linksys router is plugged into this network (at IP address 192.168.0.11 and has an IP address of 192.168.1.1 on its network). Behind my Linksys router is the network 192.168.1.1. The router is a WRT54GS and is set up as a router rather than a gateway. However none of the computers on this subnet can see the DHCP server and so cannot aquire IP addresses (they get them fine when using the routers DHCP server).
I have gone back to a really basic dhcpd.conf file as shown below:
Code:
option domain-name-servers 192.168.0.12, 192.168.0.1;
ddns-update-style none;
subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.1;
pool {
range 192.168.0.11 192.168.0.14;
default-lease-time 14400;
max-lease-time 172800;
}
}
# Linksys network
subnet 192.168.1.0 netmask 255.255.255.0 {
# i dont know which interface to put here so just put both!
option routers 192.168.1.1, 192.168.0.11;
range 192.168.1.200 192.168.1.250;
}
I have a feeling it is something to do with broadcasts on the 192.168.1.0 network not being routed to the 192.168.0.0 network. - i can ping the DHCP server
any ideas? if it is to do with broadcasts not being routed to the lower networks is there a way to get round this by adding a new rule to the routing table?
thanks