TechSpot

Help needed enabling dhcp maybe???

By mattyman
Mar 10, 2005
  1. Hello there

    Can anyone solve this?

    I have two pcs both running xp that share a router but are not networked.
    Basically one is fine the other cannot get online at all I have tried everything.I can ping fine from it and the adapter is working and connected.

    Here is the ipconfig for the working pc.

    Host Name . . . . . . . . . . . . : your-wl3li91rxu
    Primary Dns Suffix . . . . . . . :
    Node Type . . . . . . . . . . . . : Hybrid
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No

    Ethernet adapter Local Area Connection:

    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Eth
    ernet NIC
    Physical Address. . . . . . . . . : 00-02-3F-80-DC-CF
    Dhcp Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    IP Address. . . . . . . . . . . . : 192.168.0.2
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.0.1
    DHCP Server . . . . . . . . . . . : 192.168.0.1
    DNS Servers . . . . . . . . . . . : 192.168.0.1
    194.72.9.38
    Lease Obtained. . . . . . . . . . : 08 March 2005 15:30:01
    Lease Expires . . . . . . . . . . : 11 March 2005 15:30:01

    Here is the ipconfig for the non working pc.

    Windows IP Configuration

    Host Name . . . . . . . . . . . . : matt-n5nnmaid7i
    Primary Dns Suffix . . . . . . . :
    Node Type . . . . . . . . . . . . : Unknown
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No

    Ethernet adapter Local Area Connection 4:

    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethe
    rnet NIC
    Physical Address. . . . . . . . . : 00-30-BD-B2-F7-91
    Dhcp Enabled. . . . . . . . . . . : No
    IP Address. . . . . . . . . . . . : 192.168.0.3
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.0.1
    DNS Servers . . . . . . . . . . . : 192.168.0.1


    The only difference seems to be dhcp enabled no,but I haven't a clue how to change that.

    Thanks very much

    Matt
     
  2. fishhookz

    fishhookz TS Rookie Posts: 79

    This "DNS Servers . . . . . . . . . . . : 192.168.0.1" could be the problem. DNS should be your ISP's, unless you're the ISP.

    Yep, enable DHCP. Increase "Number of DHCP Users:" to 4. Lastly, set router as Gateway. These are for Linksys.

    What is your router brand & model?
     
  3. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    Home routers usually act as slaves to DNS servers to the ones they receive from the ISP so your setup is OK unless it's a very weird router.
    You can test it from the working PC with the nslookup utility. You can tell nslookup what name server to use and you can perform name lookups using that server.

    I understand that you can ping the router and the other computer from the non-working PC?

    Can you resolve internet names from the pesky PC with nslookup?
    Can you ping internet hosts?

    You ought to disable all firewalls on the router and the computer when troubleshooting.
     
  4. mattyman

    mattyman TS Rookie Topic Starter

    Thanks guys.

    In answer to your questions which I gratefully received:
    I have the DSL 504. I can ping fine but cannot ping a host. I have no firewalls operating.
    Not sure how to use nlookup or how to enable dhcp but I really appreciate any guidance.

    Thanks


    Matt
     
  5. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    Let's do this on the "bad" PC.

    Open Windows command prompt by typing "cmd" in Start->Run prompt. Press OK.
    In the command prompt type "nslookup" (and hit enter of course).
    It will tell you what name server it is using and gives you the nslookup prompt. The server's IP should be the same as your router has as this is how you configured your computer.
    Now enter an internet name like www.google.com
    You should get a response that among other things says what www.google.com's IP address is.
    If it says "No response from server" then the DNS server you have configured is not working (you have a stupid router).
    To make nslookup use some other server type "server <IP adress>" a la "server 194.72.9.38" to make it use your ISP's name server.
    Try an internet name again. Different than the previous one just in case.

    If it works with the 194.72.9.38 address then this is the IP you have to put into this computer's TCP/IP DNS configuration.
     
  6. mattyman

    mattyman TS Rookie Topic Starter

    Here's the response from nslookup.

    F:\Documents and Settings\Matt>nslookup
    *** Can't find server name for address 192.168.0.1: No response from server
    *** Can't find server name for address 194.72.9.38: No response from server
    *** Default servers are not available
    Default Server: UnKnown
    Address: 192.168.0.1

    > www.google.com
    Server: UnKnown
    Address: 192.168.0.1

    *** UnKnown can't find www.google.com: No response from server
    >
    I appreciate you think the router is the problem but it works fine on one of the pcs. I have tried reconfiguring d link by going to http//192.168.1.1 as I did originally but their is no response.
    For some reason on internet explorer/tools/connections/ Lan settings - the address in their is 213.120.157.3 This is for both pcs, I don't know if this throws any light on the subject.

    Thanks very much
     
  7. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    In LAN settings you have a proxy server's address.. It would affect only web browsing with IE.

    Obviously the pesky PC can't get across the router.
    Are you sure you can ping the router's address?
    Have you set up any packet filtering or address limitations on the router?

    Or since you seem to be active ATM could you join the #3dspotlight IRC channel at starchat and we could walk through some stuff together? That is if you happen to have access to the problem right now.
     
  8. mattyman

    mattyman TS Rookie Topic Starter

    I run a ping program called Pings x2 which on both pcs seems okay. It uses the resolved address 127.0.0.1 ??
    Anyway you're right I cannot ping 192.168.1.1 or 194.72.9.38 from command.
    As for the other suggestion I will be away from this system for a few days.I will contact you then. Cheers
     
  9. mattyman

    mattyman TS Rookie Topic Starter

    If you're still there Nodsu I could still use your help with this problem.

    Thanks
     
  10. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    Can't think of any obvious solution to point at.
    As I suggested before we could try some realtime troubleshooting via IRC or IM.
     
  11. HoopaJoop

    HoopaJoop TS Rookie Posts: 90

    Can you ping 4.2.2.2 from the bad machine?
     
  12. nickc

    nickc TechSpot Paladin Posts: 923   +11

    obvious thing I can think of. put the settings from the working network computer into the one is not working except the IP address that will stay different no matter what kind of a network you have. the subnet mask, the default gateway, and the dns server should be the same on each computer on the same network.
     
  13. nickc

    nickc TechSpot Paladin Posts: 923   +11

    correct me if I am wrong the dns server #'s are the server that the computer looks for, for your internet service. to change anythink you need to go into Control Panel to Network Connections click Properties, then click internet protocal and click properties.
     
  14. HoopaJoop

    HoopaJoop TS Rookie Posts: 90

    DNS resolves hostnames into IPs. The reason I asked to ping 4.2.2.2 is because it is a valid external IP address. If he can ping it then he has a name resolution problem. If not then we'll move forward from there.

    Enabling DHCP in Windows XP:
    1.)Open 'Control Panel'
    2.)Double-Click 'Network Connections'
    3.)Right click on the network connection (in this case Local Area Connection 4)
    4.)Select 'Properties'
    5.)Highlight (single left click) 'Internet Protocol [TCP/IP]'
    Important! Do NOT uncheck the box on the left here.
    6.)Click 'Properties'
    7.)Select the radial buttons for the following:
    Obtain an IP address automatically
    Obtain DNS server address automatically
     
  15. RealBlackStuff

    RealBlackStuff TS Rookie Posts: 6,503

    I'll add my $0.02 to this.
    Have a look at the attachment here:
    Basics-networking
     
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...