|I want to set up my main machine - a WinXP Pro SP2 desktop - as a gateway and DHCP server for my LAN. The desktop has two ethernet adapters set up - a wired adapter, and a usb wireless adapter. The wireless adapter connects to the DSL modem/router, using a static IP. The gateway and DNS server for the wireless adapter are set to the DSL router's LAN IP address (ie, 192.168.123.254). Specifically, the wireless adapter is set with the following settings:|
IP - 192.168.123.200
Gateway - 192.168.123.254
DNS - 192.168.123.254
I want to set up a bunch of linux desktops on a second lan, using the WinXP machine as the gateway. I need to do things this way because the DSL router is across the apartment, and in order to hook up the linux desktops directly to the DSL router, I would have to run cable across the apartment. My roommate doesn't want me to do that, so I want to use the wired adapter on the WinXP machine as the gateway to my LAN.
I tried using TFTPD32 since it has a DHCP server, but I couldn't get it to work. Here's what I tried: 1) I set the wired adapter to use a static IP of 192.168.200.1, with the gateway and DNS set to 192.168.123.200. 2) I installed TFTPD32 and set it with the following settings:
Server Interface: 192.168.123.200
Router address: 192.168.200.1
DNS/WINS server: 192.168.123.200
Bind DHCP to address: 192.168.200.1
I then connected the wired adapter to a hub, and another WinXP Pro laptop to the hub as well. I booted up the laptop, and the wired adapter on the laptop was able to connect and get an IP address. It had the gateway set to 192.168.200.1, and the DNS server set to 192.168.123.200. The problem was that I then couldn't surf the internet. I could ping localhost on the laptop, and 192.168.200.1, but I couldn't ping 192.168.123.200, nor 192.168.123.254, or anything outside of that.
Any ideas on what I did wrong? Or any suggestions on how I can set my WinXP Pro desktop as a DHCP server and gateway? Thanks.