Assigning Static IPs within a network

Hello, right now I have 2 PCs connected wirelessly to a router (Linksys BEFW11S4), and also another one connected with CAT5. Anyway, I have to forward many different port ranges to different PCs, and lately the IPs assigned change (due to lease time?).

I need help setting up the PCs so that the first one gets, the second, and the thrid

Here's what I did so far for the first PC: went to connection properties, then properties of TCP/IP, under general tab, I checked "use the folowing IP address," and entered...

IP Address:
Subnet Mask:
Default Gateway:

But what do I enter for Preferred, and Alternate DNS server addresses? When I go to the STATUS section of the router setup, I get all this information, including the subnet mask; however, it's, and I've been told to enter

Under SETUP section of the router, do I take DNS1 as the preferred DNS, and DNS2 as the alternate?

If I reset my cable modem does this (subnet mask, dns1, dns2) stuff gets changed? How about reseting(or turning off, then on) the router? Upgrading firmware on router?

Thanks a bunch
18 answers Last reply
More about assigning static network
  1. For simplicity just use these IPs as your DNS:

    I want my epitaph to be: "Moved to /dev/null"
  2. Thanks, Dev. I've also done a little research and found that some people just enter their rounter's address for DNS1 and leave DNS2 blank, is that correct too?
  3. The Linksys will not serve as a DNS server or DNS fowarder. Atlest mine does not. So I would not point your pc to look for it's first DNS as

    I would get away from the range, by default the linksys grants by 100, 101, 102 etc to the next pc that asks for an IP address. When I want to add a static I start at and work down from there leaving the and up for the dhcp server to worry about. You can always add an exception but that is alot ot explain. You could always disable the DHCP service in the router but that will cause problems if you have friends stop in with their systems.

    Ignore the nonstandard subnet mask, it is on the WAN port not the LAN port. The lan port will always be unless you do some real funky stuff.

  4. Flagg,

    quetion for you...won't setting static IP's be a problem for when his computer later. If he get's a new IP addy from the dhcp won't that mess up everything?
  5. Thanks for responding, Flagg7771234! So let's see here, I have more questions if you don't mind ...

    1) How do I change the scheme to something else? What can I change it to? Is there a tutorial somewhere for this? The only relevant thing I see in the setup of router is "Local IP Address," which can be manually altered, and is currently set to

    2) If I disable DHCP, will I be able to assign "any" address to the PCs manually? Like I can also do this with DHCP enabled, right? Making sure they don't overlap?

    3) So, what should I use for Preferred, and Alternate DNS server addresses? Like Dev said:,

    One other somewhat related question, while we're on the topic of routers :)

    4) Should I enable "Filter Multicast?" How about "Filter Internet NAT Redirection?" I could never find clear answers for these, and currently I have them set to enabled and disabled, respectively.

    Thanks again :)
  6. Yes it will. That is why I suggested to try and bellow. The Linksys will grant via dhcp 100,101, 102, 1,3 in that order up to 150 (by default on most linksys routers).

    However if he is set to static then his PC will not request an IP, but another PC can and get the same IP. Check your DHCP, make sure it is set to give the first out at 100, then climb to 150.

  7. for the first part of your question:
    Prperties on your NIC will show your IP. It is mostlikly set for Dyanamic. Give yourself an IP of, second line, then gate way, NOW you must enter a valid DNS server, the one your isp gives you are the that I have seen posted here many times. once you save these cvhanges you should automaticaly browse the internet and recieve your pop email. Remember to check that DNS server, it is important.

    You only need one DNS server, the other is in case the first does not respond. A good test of your DNS is when your connected to the internet pull up a command prompt and enter "ping" you should see automaticaly that the DNS server resolved your "" request to" wether it went through or not your DNS is correct if you see this IP.

    Note: IP is extremly simple once you have an understanding of it. You must have and IP and Sub net getout, the DNS server is ONLY used when you plug a name in like or you really do not need the DNS setup if you knew off the top of your head what the IP address was to or In this case you could just type in "hyyp://" to go directly to <- bad example here they have an "a" recorder fowarder.

    Filter multicast? this is a broadcast. this will be sent out via I would not mess with this, never have myself. This filter should be enabled by default and if it is not then you are prone to that old "ping of death". My theroy is if a broadcast does come through your PC will recieve it but it will not loop (broadcast out then in then out) <- i.e ping of death

    third question:
    Yes, your router started at, so you can not use that. But up to (253) is OK to use. Good to not use above 250 but you can with some planning. Remember your DNS is not granted, you will need to put one in so find a good one. [0~255, 0=unusable 255=broadcast, 254=unsuable]

    AND last but not least the "filter internet nat", simplicity stated this should stop you broadcasting that your PC Ip address is 192.168.x.x <-nated address. This helps in some (older) games that when you hosted a game on the internet the host would display a return path to 192.168.x.x. However the new games have taken this into consideration. The best example I can think of is if you have an FTP server up and it has a 192.168.x.x and is nated, the return adress could show 192.168.x.x rather than the public IP and go no where.... of course this requires much more explaination.

    Hope this helped...
    (yea, I'm dizzy after reading this post... )
    Yahoo IM me @ flagg7771234

  8. Thank you very much for the lengthy reply. I will digest it, apply it, and let you know if I have trouble.

  9. Look what I found...

    <A HREF=",10647776~mode=flat?hilite=" target="_new">,10647776~mode=flat?hilite=</A> and gets ~10ms

    So, the DNS pretty much helps us turn something like into an IP, right?
  10. Damn, I just realized that neighbors can just assign static IPs and join. AH! Well, I have MAC filtering on, with the 2 PCs that are allowed to connect. But, MACs can be spoofed, right? Also got WEP :)

    What software can I use to see who's connected to my network? The router only shows DHCP people connected. I've heard about AirSnare and Kismet, any recommendations on any other?
  11. WEP has holes too, the good thing about the mac is it can, in it's self be a password. Do not let others know your MAK. Some of my clients use PDAs (2002 ppc) I warn them all the time to not let anyone know their mac.

    My mom just this year had verizon setup a wireless network at home (she is in FL I'm in OH) I went to visit her and with my laptop got on her net and went directly to her PC and pulled up everything on the C$ share... boy was she spooked!

    Yes... the DNS server resolve names, they have tables of names and what IP coreasponds to what, these all conform to "interNIC" and that is why we pay the $30 per year to keep that DNS name in thoes lists. the 4.2.2.x (correct me if I'm wrong) are the DOD first level name servers.

    Not to confuse this but DNS is not just the resolution of to an IP address, they also can forward email. These are all stored in that datavbase as a record, one name, like can have an "A" record for the web page and an "MX" record for their email. and both can point to dif servers.

    hope this helps, but once you get a clear understanding of IP this all becomes simple, you would be amazed how simple!


    YAHOO IM @ flagg7771234
  12. When you say, that 4.2.2.x are "DOD first level name servers," do you mean that every time I go to a website, I let the Department of Defense know about it?
  13. interesting, and in a way that is true... the DNS servers can log every request you do, so can every router your connection moves through. BUT consider the amount of data that would be for just a mere secound, would mostlikly fill the the largest server in less than a sec.... so this would not be feasable.

    However I do not think the DOD servers would care, and at this time it might not even be dod. Remember in the 70s DOD drove the internet then droped it then picked it backup.

    It was a total guess on my part the the 4.2.2.x DNS server are the DOD servers i learned about in CIS class...

    YAHOO IM @ flagg7771234
  14. One of my questions wasn't answered, can someone help ...

    "What software can I use to see who's connected to my network? The router only shows DHCP people connected. I've heard about AirSnare and Kismet, any recommendations on any other?"

  15. "The Linksys will not serve as a DNS server or DNS fowarder. Atlest mine does not. So I would not point your pc to look for it's first DNS as"

    My BEFW11S4 actually does (as long as it's the only DNS server entered), but the tech support said that it's better to enter the DNS1 and DNS2 servers that appear in the router's setup. Apparently, these are provided by my ISP. But, they take a long time to respond, >75ms! Compared to 4.2.2.x, which take ~10ms.

    Also, for some reason all 3 PCs now have problems with DNS (does not display IP, when I run "ping"). I entered and, and it worked for 2 days, but then just stopped. Then I tried the ones provided by the ISP, and they worked (as well as

  16. There are alot of porscanning software out there that can scann your segment for active IPs, go to and find a portscanner, when you use it make sure you enter thr entire range like 192.168.0 ~254. What this will do is a real time scan of who has a valid IP and is connected. THEN you can use the nmap utility to retrieve mac, computername, what ports are in use, etc. I think I found nmap v3.5 on try a google, it will be out there somewhere.


    YAHOO IM @ flagg7771234
  17. If you have in as dns1 and nothing for dns2 and go to a website you have never gone before will it actualy qury and get that IP?

    The servers are in use every where, not sure why you had problems with them. I know of a small office with about 10 users, all on a linksys with the PCs all set to go to and they have had no problem getting out and browsing.

    As I was writing this post I connected a PC and set dns to and was able to browse, new sites never browsed before (incase of cache). You are 100% right, you can use the linksys as a dns fowarder.

    I never tried it before nore have I ever seen documentation from linksys on this.

    I believe you have helped me more that I have helped you..

    YAHOO IM @ flagg7771234
  18. I'm sorry I haven't responded before, but lightning struck and took out the CO of my internet provider :(

    I'll give you a quick run down of the questions I have seen so far, even though some have been answered before.

    Assigning static IP addresses which are in a DHCP range is generally not a problem since the DHCP server will verify that no hosts are using an address before it is assigned. However, the easiest way to manage this is to create DHCP reservations that reserve a particular address for a specific host.
    This is done by reserving an IP for the MAC address (which is unique for every NIC) of the disired host. This should be easy to configure in your router.

    The 4.x.x.x range now belongs to Verizon and I think it used to belong to Digital or DEC. So these are Verizons DNS Servers.

    DNS maps a name (domain) to an IP address. This is how a human readable address like is translated to an machine readable address.

    You can find who is connected to your PC with the `netstat -a` command in the dos prompt. There should be something similar in your router, but you may need to use a telnet or console connection in order to get access to that. You can also use a sniffer to see what inforamtion is traveling over your network. Ethereal is a good free one, and so is Ettercap which can find spoofers on your network. Sourceforge has them both.

    If I missed something you can just ask.

    I want my epitaph to be: "Moved to /dev/null"
Ask a new question

Read More

Routers PCS Networking