ceslayer23
IN YOUR MIRROR
+142|6640|CLOSER THAN I APPEAR
I'm trying to setup a static IP address so I can forward some ports on my router, but ipconfig/all tells me that my primary and secondary DNS servers are the same (192.168.0.1), so I won't be able to setup a static IP Address.  Is there any way to fix this?
kylef
Gone
+1,352|6773|N. Ireland
Local Area Connection / TCP IPv4 (at least for me..!) - does that work for you? (changing preferred and alternate)

Last edited by kylef (2008-01-18 08:51:33)

steelie34
pub hero!
+603|6661|the land of bourbon
you'll have to turn off dynamic dhcp on your router, or at least create a dhcp reservation.  you can then set your local area connection to the ip of your choice, as long as it doesn't conflict with the dhcp settings in your router.  this isn't really a dns issue, but dhcp.
https://bf3s.com/sigs/36e1d9e36ae924048a933db90fb05bb247fe315e.png
=Karma-Kills=
"Don't post while intoxicated."
+356|6864|England
Are you saying you want a static IP on your internal (ie 192.168.0.*) network not your external right (ie 95.54.102.2).

In that case, your DNS server should just be given to you by your ISP. Or you could always use openDNS You then just put that number in your TCP/IPv4 settings.

From your router's interface you can then do (atleast on my netgear) "Lan IP Setup" to reserve IP addresses.

It may help if you post a few screenshots:
1. Your ipconfig /all
2. You router's status summary screen.
3. You Network Connections > TCP/IP settings.
aimless
Member
+166|6404|Texas
If you have a netgear router, go to LAN IP Setup and enter your computer's MAC address in there, and what IP you want for it.
steelie34
pub hero!
+603|6661|the land of bourbon

=Karma-Kills= wrote:

Are you saying you want a static IP on your internal (ie 192.168.0.*) network not your external right (ie 95.54.102.2).

In that case, your DNS server should just be given to you by your ISP. Or you could always use openDNS You then just put that number in your TCP/IPv4 settings.

From your router's interface you can then do (atleast on my netgear) "Lan IP Setup" to reserve IP addresses.

It may help if you post a few screenshots:
1. Your ipconfig /all
2. You router's status summary screen.
3. You Network Connections > TCP/IP settings.
dns has nothing to do with static IPs... setting a custom DNS just means your queries will be resolved through there instead of your ISPs default.  setting a static IP really has no bearing or impact on this.  unless he wants his own computer to be a dns server, in which case he would need a static ip, and then set the ip address as the loopback or static.  where are you OP?
https://bf3s.com/sigs/36e1d9e36ae924048a933db90fb05bb247fe315e.png
=Karma-Kills=
"Don't post while intoxicated."
+356|6864|England
^^

I know. I didnt understand why he was saying he couldnt have a static IP becuase of his DNS settings, so i thought it would be easier to tell him how his DNS and IP settings should be, without trying to confuse things further asking why it didnt work with his DNS as 192.168.0.1.

All he needs to do is go to his router and LAN IP setup - but he seems to be making  a meal of it.
killer21
Because f*ck you that's why.
+400|6870|Reisterstown, MD

If you are trying to use port forwarding with your router, all you need do is go into your router and setup the ports you want to use for port forwarding, i.e TCP and UDP.

Last edited by killer21 (2008-01-18 14:12:50)

Titch2349
iz me!
+358|6632|uk

ceslayer23 wrote:

I'm trying to setup a static IP address so I can forward some ports on my router, but ipconfig/all tells me that my primary and secondary DNS servers are the same (192.168.0.1), so I won't be able to setup a static IP Address.  Is there any way to fix this?
mmmmmmmmmmm

A DNS Server translates "www.google.co.uk", "www.bf2s.com" to the IP address of that server. Judging from your post, you don't need this- but IPCONFIG /all will tell you that its DNS server is 192.168.0.1, because unless you have changed it, The DNS server will be the computers local gateway. Any DNS Queries will be directed towards the Default Gateway, which will then pass the DNS query onto the DNS server it has been told to forward stuff to from your ISP.

Completely unrelatedly, You can create a "static IP" by either setting up address reservation via the Router which will currently be giving you the IP's, OR, you can disable DHCP entirely on the router, and assign IP's statically via the hosts (computers) themselves.

The best option will be to set address reservation up on the router- as described above, log onto the router, and look under Local Settings/ Address Reservation etc.

IP Designation, and DNS servers are completly unrelated (in the route you are taking)
Defiance
Member
+438|6950

Don't set an alternate DNS server.

Board footer

Privacy Policy - © 2025 Jeff Minard