static IP problem for LAN

October 3, 2009 at 20:55:24
Specs: Windows Vista

I have a laptop connected wirelessly to my router. If I want to assign a static IP address for my LAN, i choose the for eg on the TCP/IP properties. I chose my gateway (router) and my DNSs. But it does not connect to internet. It works fine if i choose 'obtain these automatically'. How can i assign a static IP for my LAN?

See More: static IP problem for LAN

Report •

October 3, 2009 at 21:20:31
The IP's you have listed are not in the same range.

When you set the client to "Obtain IP Automatically" What IP is it being assigned and what default gateway & DNS?

Run ipconfig /all in commandprompt to obtain the info.

Goin' Fishin' (Some day)

Report •

October 4, 2009 at 07:51:57
ipconfig/all gives:

IPv4: (Preferred)
Default Gateway :
DNS Servers:
DHCP Server:

Report •

October 5, 2009 at 05:48:09
Richard is correct, you're assigning an IP that's in the wrong subnet. Look at the IP you got from DHCP:

Notice the third octet has a 1 in it.

If you wish to statically assign an IP use something like:
and ensure you have a 1 in the 3'd octet.

Report •

Related Solutions

October 5, 2009 at 08:31:40
Thanks yes its okay for the static ip. What I want to do is assign a static IP for a server that runs DHCP and DNS. So I need to disable the DHCP and DNS on my router so that the server handles everything.

1) Hence, I guess I should assign the server a static IP as stated above.
2) And for my wireless laptop that is connected to the router, its DNS properties should be the server address right?

Report •

October 5, 2009 at 13:18:16
What I want to do is assign a static IP for a server that runs DHCP and DNS.

This is smart. Anything that provides a service (like a server) should always have a static IP address.

So I need to disable the DHCP and DNS on my router so that the server handles everything.

Good thinking as you don't want either enabled on two machines at once. However, since I firmly believe in "if it ain't broke, don't fix it" I have to wonder why you would want to do this if the present setup is working??

1) Always, always ALWAYS use static IP's for servers, network printers, network appliances like switches and routers.........ALWAYS

2) Only if you change it. If you're not creating an Active Directory integrated windows domain, I wouldn't change anything.

Report •

October 5, 2009 at 15:50:55
Thanks for your reply Curt. Does clarify things. I need to change the present settings because I am running VPN server so the latter should be responsible for distributing IPs instead of the router. All PCs, whether remote or local, should be handled by the server's DHCP. I mean I would have loved if the router could do it, but the requirements need that it be done by the VPN server. That's why I need to switch it over to the server.

Yes I have Active Directory setup as I need to locate resources on my VPN. Some more clarifications I need maybe:

1) I have a router already connected to several PCs at the office. The server is connected to the internet and shares the connection. Now I need VPN. The present Internet Connection is just a usb ADSL modem. But when you setup VPN using the Windows 2003 wizard it asks you for 2 network connections. So that wont work with the present modem right? Do I need to get another modem router? The present modem is not a wireless access point as well so I wanted to change it so that wireless laptops can connect as well.

2) If I need another Access Point, how would I go about connecting it to the existing router and what configuration settings need to be done? (gateway IP, gateway for the other PCs on the network or should they be configured automatically)

Report •

October 6, 2009 at 06:12:18
1) It's asking for two NIC's because it's looking for RRAS and in order to provide VPN, you would require one external NIC and another internal as the traffic will pass through that server. You might be able to make it work with a USB interface but I really couldn't tell you. I'm not a fan of USB network interfaces and won't touch them myself. I suspect you might need to get a modem that uses and RJ-45 connector in order to make it work. I would recommend it to be honest.

Is the modem a combo unit? For example, I upgraded my DSL some time in the past and they sent me a new combo device which is the modem, a router and does wireless. If it is and it doesn't do wireless, and you have to replace it, certainly get a combo unit if you can. If you can't, you can always get a wireless access point at some point in the future and add it to your network.

2) All the AP's I've worked with were pretty basic. The require LAN settings so you'd give them an IP that's outside the DHCP scope and all the rest of the settings (DNS, gateway, subnet mask) would be the same as all the other clients in your network. Do not use DHCP to assign TCP/IP settings to any network device, server, or network printer.

Report •

October 6, 2009 at 07:26:36
- Yes, that's a combo router I want to buy and one which has a good wireless range so that it can be used easily at different areas of the building.
- Okay, I will just connect the combo router to 1 interface card of the server that connects to the internet while the other goes into the existing router. Then, I will assign its DNS to that of the server and a static IP like you mentioned. Will post again if there are problems

Report •

Ask Question