PC Works with DHCP, but not in static IP setup

OK, this has probably been asked a million times, but my search brings me about 5000+ hits. I read over a dozen articles of which none applied to my situation.

What I'm running:
Win XP SP2
Linksys Router
Realtek NIC built into P5B Mobo.
McAfee's Personal Firewall 2006
FireFox 1.5.0.6
SPYWARE DOCTOR 4.x

I've been using Static IP setting for over 10 yrs. The other day all I did was power down my system, upgraded the RAM from 1GB to 2GB. I turned the system back on & no internet access. I pinged myself 192.168.1.5, OK, I pinged 127.0.0.1, OK, I could ping the router 192.168.1.1, OK, but I couldn't ping out such as yahoo.com. I got timeouts on this part. I turned on my other PC, PC-2, which is connected to the same router, works OK. But that PC is using DHCP in the network config for it's NIC.
I switched the problem child known as PC-2 to use DHCP & it works with no problem.
I turned off the firewall, turned off SPYWARE DR. on PC-1 & switched the NIC back to static mode, ran Repair, no good.
I switched it back to use DHCP, no good.
I ran IPCONFIG /ALL. I matched up the settings from both PC's.
The working PC's info (PC-2) & the problemed PC (PC-1) match except the one is using DHCP & PC-1 is using Static.

My network setting witihin the TCP/IP settings in Local Area connection Properties for the REALTEK NIC are as follows:

PC-1: (Bad system): 192.168.1.5 (STATIC)
PC-2: (WORKING system): 192.168.1.100 (DHCP)
Both use DNS-1: 24.19.133.10
Both use DNS-2: 24.19.133.11
Gateway: 192.168.1.1

What gives?
H-E-L-P?
7 answers Last reply
More about works dhcp static setup
  1. Try using the real gateway, not the routers gateway.
  2. First of, please post the output from: netstat -r on both computers.

    Quote:
    OK, this has probably been asked a million times, but my search brings me about 5000+ hits. I read over a dozen articles of which none applied to my situation.

    What I'm running:
    Win XP SP2
    Linksys Router
    Realtek NIC built into P5B Mobo.
    McAfee's Personal Firewall 2006
    FireFox 1.5.0.6
    SPYWARE DOCTOR 4.x

    I've been using Static IP setting for over 10 yrs. The other day all I did was power down my system, upgraded the RAM from 1GB to 2GB. I turned the system back on & no internet access. I pinged myself 192.168.1.5, OK, I pinged 127.0.0.1, OK, I could ping the router 192.168.1.1, OK, but I couldn't ping out such as yahoo.com. I got timeouts on this part. I turned on my other PC, PC-2, which is connected to the same router, works OK. But that PC is using DHCP in the network config for it's NIC.
    I switched the problem child known as PC-2 to use DHCP & it works with no problem.
    I turned off the firewall, turned off SPYWARE DR. on PC-1 & switched the NIC back to static mode, ran Repair, no good.
    I switched it back to use DHCP, no good.
    I ran IPCONFIG /ALL. I matched up the settings from both PC's.
    The working PC's info (PC-2) & the problemed PC (PC-1) match except the one is using DHCP & PC-1 is using Static.

    My network setting witihin the TCP/IP settings in Local Area connection Properties for the REALTEK NIC are as follows:

    PC-1: (Bad system): 192.168.1.5 (STATIC)
    PC-2: (WORKING system): 192.168.1.100 (DHCP)
    Both use DNS-1: 24.19.133.10
    Both use DNS-2: 24.19.133.11
    Gateway: 192.168.1.1

    What gives?
    H-E-L-P?
  3. Quote:
    First of, please post the output from: netstat -r on both computers.



    Even better so as not to drive myself crazy. I just kept switching my problemed PC back & forth from Static config to DHCP config to make my screen captures easier. Unfortunately I don't have a means of attaching the text file to this post or is there away? So here's the output. I hope you can read it.

    Here are the outputs from both NETSTAT -r & IPCONFIG /ALL for both working & non-working configs on my PC.

    *****-----*****-----*****-----*****-----*****-----*****-----*****-----*****


    PC-1's NETSTAT -r Route Table using STATIC-TCP/IP CONFIG, which doesn't work.

    Route Table
    ===========================================================================
    Interface List
    0x1 ........................... MS TCP Loopback interface
    0x40002 ...00 17 31 ed ee 1c ...... Realtek RTL8168/8111 PCI-E Gigabit Ethernet
    NIC #2 - Packet Scheduler Miniport
    ===========================================================================
    ===========================================================================
    Active Routes:
    Network Destination Netmask Gateway Interface Metric
    0.0.0.0 0.0.0.0 192.168.1.2 192.168.1.6 1
    127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
    192.168.1.0 255.255.255.0 192.168.1.6 192.168.1.6 20
    192.168.1.6 255.255.255.255 127.0.0.1 127.0.0.1 20
    192.168.1.255 255.255.255.255 192.168.1.6 192.168.1.6 20
    224.0.0.0 240.0.0.0 192.168.1.6 192.168.1.6 20
    255.255.255.255 255.255.255.255 192.168.1.6 192.168.1.6 1
    Default Gateway: 192.168.1.2
    ===========================================================================
    Persistent Routes:
    None

    *****-----*****-----*****-----*****-----*****-----*****-----*****-----*****


    PC-1's IPCONFIG /all output using DCHP-TCP/IP CONFIG, which doesn't work.
    ===========================================================================
    Windows IP Configuration

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

    Ethernet adapter Local Area Connection 1:

    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Realtek RTL8168/8111 PCI-E Gigabit Ethernet
    thernet NIC #2
    Physical Address. . . . . . . . . : 00-17-31-ED-EE-1C
    Dhcp Enabled. . . . . . . . . . . : No
    IP Address. . . . . . . . . . . . : 192.168.1.6
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.1.2
    DNS Servers . . . . . . . . . . . : 24.29.103.10
    24.29.103.11

    ===========================================================================

    *****-----*****-----*****-----*****-----*****-----*****-----*****-----*****


    PC-1's NETSTAT -r Route Table using DCHP-TCP/IP CONFIG, which works.

    Route Table
    ===========================================================================
    Interface List
    0x1 ........................... MS TCP Loopback interface
    0x40002 ...00 17 31 ed ee 1c ...... Realtek RTL8168/8111 PCI-E Gigabit Ethernet
    NIC #2 - Packet Scheduler Miniport
    ===========================================================================
    ===========================================================================
    Active Routes:
    Network Destination Netmask Gateway Interface Metric
    0.0.0.0 0.0.0.0 192.168.1.2 192.168.1.101 20
    127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
    192.168.1.0 255.255.255.0 192.168.1.101 192.168.1.101 20
    192.168.1.101 255.255.255.255 127.0.0.1 127.0.0.1 20
    192.168.1.255 255.255.255.255 192.168.1.101 192.168.1.101 20
    224.0.0.0 240.0.0.0 192.168.1.101 192.168.1.101 20
    255.255.255.255 255.255.255.255 192.168.1.101 192.168.1.101 1
    Default Gateway: 192.168.1.2
    ===========================================================================
    Persistent Routes:
    None


    PC-1's IPCONFIG /all output using DCHP-TCP/IP CONFIG, which works.
    ===========================================================================
    Windows IP Configuration

    Host Name . . . . . . . . . . . . : borg-p5
    Primary Dns Suffix . . . . . . . :
    Node Type . . . . . . . . . . . . : Hybrid
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No
    DNS Suffix Search List. . . . . . : nyc.rr.com

    Ethernet adapter Local Area Connection 1:

    Connection-specific DNS Suffix . : nyc.rr.com
    Description . . . . . . . . . . . : Realtek RTL8168/8111 PCI-E Gigabit Ethernet
    thernet NIC #2
    Physical Address. . . . . . . . . : 00-17-31-ED-EE-1C
    Dhcp Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    IP Address. . . . . . . . . . . . : 192.168.1.101
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.1.2
    DHCP Server . . . . . . . . . . . : 192.168.1.2
    DNS Servers . . . . . . . . . . . : 24.29.103.10
    24.29.103.11
    Primary WINS Server . . . . . . . : 192.168.1.6
    Lease Obtained. . . . . . . . . . : Tuesday, September 12, 2006 8:52:07
    PM
    Lease Expires . . . . . . . . . . : Wednesday, September 13, 2006 8:52:0
  4. The only difference is you are changing the IP when going to static.

    You might try resetting the router to clear the ARP cache.
  5. Quote:
    Try using the real gateway, not the routers gateway.


    Quote:
    The only difference is you are changing the IP when going to static.

    You might try resetting the router to clear the ARP cache.


    I tried a bit of what you both mentioned which was using the the gateway my ISP was handing my router & clearing the ARP cache.
    WALLLA!!! :D
    I still don't get how it's been working al this time using my router's gateway instead of my ISP's gateway for over 3-4 yrs. :? All I did was change the RAM & the net just stopped working.

    Thanks guys.
  6. I had my pc get hung on the same thing in dhcp. Once it started working I changed it back to where it was originally.
  7. Well, I thought it was fixed last night because it worked for about 3hrs. I came in this morning & found out it had stopped working again. This is a new system build now about 3wks old. It's the built in crap NIC on the ASUS p5B motherboard. I dropped in a spare Intel 100MB NIC I had which is what I had in my P4 & it's been working since about 4am without any hiccups.
    It's RMA time!!!!
    Sheesh!!! I've been networking & hardware & small routers for over 10+ yrs, I'm/was a CNE, MCSE, CCNA, A+, all that crap & I still know one thing that those certifications could never teach you... intermittent problems are a B-I-T-C-H!!!
Ask a new question

Read More

Static IP DHCP Networking