This is a crude diagram of the network i want to obtain:
|-----------------| /\/\/\/\/\/\/\/\/\/\/\/\ ____________________
|Cable modem |-------|wireless router |---------|Computer/dhcp server |
|____________| |____________ |---------|___________________|
|
___|____
| | |
Comp1 | |
Comp2 |
Comp3
To make sense of this diagram. I have a cable modem that is connected to the wireless router, which is then connected to my desktop computer. I want to turn off the dhcp server within the router and use my computer to give out the dhcp leases. This is because my router will not bind mac addresses to ip addresses and therefore I can't have static ip's on my computers. This has caused a big problem with ssh and nfs. My computer only has one network card, so I am not able to do the routing on the computer. I was told that if i turned off the dhcp server within the router it would automatically use my pc as the dhcp server. Is this possible? if it is, is it possible to have the dhcp server (my computer) assign itself an ip address so it too can get on the internet?
I am trying to use dhcpd in order to setup the dhcp server. The computer Stealthy is the computer that I want to setup the dhcp server on. This is my dhcpd.conf
option domain-name "mainframe.org";
option domain-name-servers 192.168.1.254;
default-lease-time 600;
max-lease-time 7200;
ddns-update-style ad-hoc;
authoritative;
log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.0
{
range dynamic-bootp 192.168.1.125 192.168.1.140;
option subnet-mask 255.255.255.0;
# option netbios-name-servers 192.168.1.2;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
host Stealthy
{
hardware ethernet 00:A0:C9:86:8D:A6;
fixed-address 192.168.1.254;
}
}
If you can point me in the right direction and tell me why i am being stupid, i would really appreciate it!!!! Thank you and if you have any questions I will quickly respond with any needed info!!!
Thanks,
Joe

