Elliot B. Posted June 7, 2012 Share Posted June 7, 2012 I have set a DMZ (I don't need a lecture thank you) on my router for my PC for 192.168.0.4. However, every day or two (it seems random), my PC changes the local IPv4 address! Sometimes it's 192.168.0.4, sometimes 192.168.0.5, sometimes 192.168.0.2 etc. How can I stop this from happening? It's probably related to my wireless printer or the parent's laptop or something. Link to comment Share on other sites More sharing options...
HoochieMamma Posted June 7, 2012 Share Posted June 7, 2012 Manually set your IP address and DNS? Link to comment Share on other sites More sharing options...
CPressland Posted June 7, 2012 Share Posted June 7, 2012 What Router do you have? Most support creating a DHCP Reservation by your MAC Address. Link to comment Share on other sites More sharing options...
Elliot B. Posted June 7, 2012 Author Share Posted June 7, 2012 Manually set your IP address and DNS? I'm not sure what to put where: What Router do you have? Most support creating a DHCP Reservation by your MAC Address. It's a D-Link router that came with Sky Broadband. Link to comment Share on other sites More sharing options...
Stokkolm Posted June 7, 2012 Share Posted June 7, 2012 If you have a Linksys router or similar, you can just assign your computer an IP outside of the DHCP pool and it won't change anymore. Link to comment Share on other sites More sharing options...
CPressland Posted June 7, 2012 Share Posted June 7, 2012 Right, firstly, don't set a Static IP Address. because if the DHCP Server assigns another IP you're going to run into connectivity issues. Login to the router and find the DHCP Settings, post a screenshot. In your example above your routers IP is 192.168.0.1 Link to comment Share on other sites More sharing options...
Stokkolm Posted June 7, 2012 Share Posted June 7, 2012 I'm not sure what to put where: It's a D-Link router that came with Sky Broadband. Check use the following IP address. Put the IP address you want your computer to have in that field, subnet mask should work with 255.255.255.0, and the default gateway is your router's IP address. Like I said above, choose an IP outside of your DHCP pool so you don't end up having any IP conflicts. Link to comment Share on other sites More sharing options...
CPressland Posted June 7, 2012 Share Posted June 7, 2012 Check use the following IP address. Put the IP address you want your computer to have in that field, subnet mask should work with 255.255.255.0, and the default gateway is your router's IP address. Like I said above, choose an IP outside of your DHCP pool so you don't end up having any IP conflicts. Again, you could do this, but it's better to have the Router handle everything. Static IP will break local DNS Resolution. Link to comment Share on other sites More sharing options...
Elliot B. Posted June 7, 2012 Author Share Posted June 7, 2012 If you have a Linksys router or similar, you can just assign your computer an IP outside of the DHCP pool and it won't change anymore. Where should I look? This is what I see in Advanced: Link to comment Share on other sites More sharing options...
CPressland Posted June 7, 2012 Share Posted June 7, 2012 Post screenshot of LAN IP SETUP page. Link to comment Share on other sites More sharing options...
Elliot B. Posted June 7, 2012 Author Share Posted June 7, 2012 Post screenshot of LAN IP SETUP page. Link to comment Share on other sites More sharing options...
CPressland Posted June 7, 2012 Share Posted June 7, 2012 See Address Reservation at the bottom there. Click Add, fill out the form. If you need any further information. just run CMD.exe and do ipconfig /all Easy as pie. Link to comment Share on other sites More sharing options...
Elliot B. Posted June 7, 2012 Author Share Posted June 7, 2012 See Address Reservation at the bottom there. Click Add, fill out the form. If you need any further information. just run CMD.exe and do ipconfig /all Easy as pie. What do I set as the MAC address? I presume that will physically be on the network card itself? Link to comment Share on other sites More sharing options...
Stokkolm Posted June 7, 2012 Share Posted June 7, 2012 Again, you could do this, but it's better to have the Router handle everything. Static IP will break local DNS Resolution. You're right. You have to exclude the IP from DHCP and then statically assign it. Alternatively, you could set the DNS servers to 8.8.8.8 and 8.8.4.4 (Google's Free DNS servers) and they will work everywhere no matter if you're on your home network or a public network. Link to comment Share on other sites More sharing options...
CPressland Posted June 7, 2012 Share Posted June 7, 2012 Yeah, when you do ipconfig /all you'll see your MAC address like this: Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : absolute.com Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection Physical Address. . . . . . . . . : 00-0C-29-97-9E-8C[/CODE] Physical Address is the MAC Address Link to comment Share on other sites More sharing options...
CPressland Posted June 7, 2012 Share Posted June 7, 2012 The router will still handle this traffic, it just won't try to assign the IP address dynamically. Static IP will most certainly not break local DNS resolution, you just keep the computer set to auto assign the DNS servers. Alternatively, you could set the DNS servers to 8.8.8.8 and 8.8.4.4 (Google's Free DNS servers) and they will work everywhere no matter if you're on your home network or a public network. So you're telling me that ANY soho router will be able to do local hostname resolution on something thats not in its DHCP Tables?! Without Active Directory?! Sure, you'll still get Internet DHCP Resolution, but local will be completely FUBAR. DHCP Reservation is there for a reason. Link to comment Share on other sites More sharing options...
Stokkolm Posted June 7, 2012 Share Posted June 7, 2012 You're right. You have to exclude the IP from DHCP and then statically assign it. Alternatively, you could set the DNS servers to 8.8.8.8 and 8.8.4.4 (Google's Free DNS servers) and they will work everywhere no matter if you're on your home network or a public network. Link to comment Share on other sites More sharing options...
reap3r Posted June 7, 2012 Share Posted June 7, 2012 Hey Buddy, Firstly, im not trying to be rude or a troll. :) Now, If you are unable to set a static ip on a machine I am concerned you dont understand the impact of the DMZ. it is VERY VERY dangerous. Yes im aware you said ou dont need a lecture. I get the feeling your trying to make it easier to access ports on your machine... instead of just forwarding a single port. is that correct? If so we can help you forward the port or ports required. Feel free to ignore. Link to comment Share on other sites More sharing options...
Stokkolm Posted June 7, 2012 Share Posted June 7, 2012 So you're telling me that ANY soho router will be able to do local hostname resolution on something thats not in its DHCP Tables?! Without Active Directory?! Sure, you'll still get Internet DHCP Resolution, but local will be completely FUBAR. DHCP Reservation is there for a reason. I edited my post, I was confused. Link to comment Share on other sites More sharing options...
CPressland Posted June 7, 2012 Share Posted June 7, 2012 Anyway - back on Topic. How'd you get on King Mustard? Stokkolm 1 Share Link to comment Share on other sites More sharing options...
Elliot B. Posted June 7, 2012 Author Share Posted June 7, 2012 Anyway - back on Topic. How'd you get on King Mustard? I am waiting for Max Payne 3 to finish downloading (45 minutes) before I click "Apply" as I believe it will temporarily disconnect me from the Web and this server doesn't support resumable downloads :p I'll let you know! Link to comment Share on other sites More sharing options...
CPressland Posted June 7, 2012 Share Posted June 7, 2012 Awesome. Link to comment Share on other sites More sharing options...
Elliot B. Posted June 7, 2012 Author Share Posted June 7, 2012 I have set the DMZ to, and reserved, 192.168.0.9 instead of 192.168.0.4 (because I doubt I'll ever have 9 devices connected to the router). Anyway, I did what you said but IPConfig still shows: Wireless LAN adapter Atheros WAN: Connection-specific DNS Suffix . : Home Description . . . . . . . . . . . : Qualcomm Atheros AR5007G Wireless Network Adapter #2 Physical Address. . . . . . . . . : xx-xx-xx-xx-xx-xx DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::cd4b:5c27:bd7f:44d9%14(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.0.4(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Lease Obtained. . . . . . . . . . : 07 June 2012 6:08:01 AM Lease Expires . . . . . . . . . . : 08 June 2012 6:08:03 AM Default Gateway . . . . . . . . . : 192.168.0.1 DHCP Server . . . . . . . . . . . : 192.168.0.1 DHCPv6 IAID . . . . . . . . . . . : 341108476 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-3B-D5-C4-48-5B-39-C2-4D-A9 DNS Servers . . . . . . . . . . . : 192.168.0.1 NetBIOS over Tcpip. . . . . . . . : Enabled I don't believe it should say 192.168.0.4, it should say 192.168.0.9. Link to comment Share on other sites More sharing options...
CPressland Posted June 7, 2012 Share Posted June 7, 2012 Run cmd.exe as admin and do the following: ipconfig /release ipconfig /renew Link to comment Share on other sites More sharing options...
Elliot B. Posted June 7, 2012 Author Share Posted June 7, 2012 Run cmd.exe as admin and do the following: ipconfig /release ipconfig /renew Fantastic, tar! (Y) Link to comment Share on other sites More sharing options...
Recommended Posts