Hey, I’m trying to subnet my computers in my house. I have a 2wire 2701HG-B. It functions as a router, wireless AP, and DHCP server. Seemingly basic stuff for a home user who doesn’t know too much about networking. Like I said I’m trying to subnet my computers (so one’s I’m using don’t show up to other users so it’ll be on a 10.10.10.x instead of 192.168.1.x) and I have a partially working DHCP server. What I can’t figure out is who do I point to for the name server and router.
Before I get to far let me say what is on my computer. I have two cards. eth0 is configured to obtain an IP via DHCP. This is connected to wireless router. The eth1 has a static IP and is working as the DHCP server.
Back to pointing. I’ve tried pointing to the router, my own machine, and the DNS server that the router talks to.
Am I just way off or what? I’ve tried looking online for a solution but I can’t seem to find a similar situation to help out.
I’ll give you an example. Here is my dhcpd.conf on the DHCP server:
option domain-name-servers 82.208.254.62, 82.208.254.63;
option routers 192.168.0.254; //important! the servers (static)IP adress
ddns-update-style none;
default-lease-time 3600;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.104; // the IP scope. I have just a few machines
}
Here is my configuration on the client side ( stored in the file: /etc/sysconfig/network/ifcfg-eth0 )