help or guide for setting up static ip's

Vad3r

Senior member
Nov 25, 2000
274
0
0
I've had a wireless routers for years now, and always have used auto DHCP. It's worked, so i've never learned how to setup static ip's for each.

I'm sure some/many of you have done this, and it's second nature. I know how to setup static ip for one (my) computer. I did it for installing Tomato. If i want static ip's for all, must i manually do to each client in the same way ?.

Each of us have 2 clients these days, PC and cell phone. The Xbox, PS3. The wireless printer,...

In my head, it seems very time consuming. Is there an easy way of doing this.

I have TomatoUSB firmware, and really need to take a stab at getting qos working. And it sounds like, static ip's will be useful to have in place.
 

AllWhacked

Senior member
Nov 1, 2006
236
0
0
First find out the range of the DHCP server on your router (eg. 192.168.1.50-100). Then assign your computers an IP address outside the range. Make sure that none of the computers/devices has a conflicting IP address.

In the subnet mask, you can probably just assign 255.255.255.0
In the gateway, assign the IP address of the router (eg. 192.168.1.1)

In the DNS Address, you can either leave it on automatic or you can assign it a static address. Usually the router will assign it the same address as the gateway. Or you can do like me and assign the DNS assigned by your ISP. You can usually find this in the router section that shows the network status of the WAN.

Or you can simply use Google's public DNS which are 8.8.8.8 / 8.8.4.4

Another way of doing this though, is to go through your router and see if it can assign static IPs to the MAC address of your network device. I don't use Tomato so I can't walk you through it, but if it's like DD-WRT it should have that function.
 
Last edited:

AnonymouseUser

Diamond Member
May 14, 2003
9,943
107
106
really need to take a stab at getting qos working. And it sounds like, static ip's will be useful to have in place.

If you need static IPs just for QoS, then you don't need them for everything. Assuming you just need QoS for one or two devices, give those static IPs and leave everything else on DHCP.

To make sure there are no IP conflicts, set the one or two devices at much higher IP addresses than what DHCP starts at. In other words, if DHCP starts at 192.168.1.2, set one QoS device at 192.168.1.100 another at 192.168.1.101, etc. Now you can configure QoS for those static IPs, and everything else is left alone.
 

Vad3r

Senior member
Nov 25, 2000
274
0
0
If you need static IPs just for QoS, then you don't need them for everything. Assuming you just need QoS for one or two devices, give those static IPs and leave everything else on DHCP.

Oh, that will work ?. Ya i pretty much just want qos for myself gaming on the wired PC, and for my son thats plays online with xbox. So giving just the 2 of us static will give us priority on the network ?.
I thought i had to add all connected clients, and then set priorities for services (game/web/download/....)

My wife watching Soap opera's online now that they canceled some from tv. Neither of us can play games during this. She all round video junkie online now.

thanks for help.
 

AnonymouseUser

Diamond Member
May 14, 2003
9,943
107
106
Oh, that will work ?. Ya i pretty much just want qos for myself gaming on the wired PC, and for my son thats plays online with xbox. So giving just the 2 of us static will give us priority on the network ?.
I thought i had to add all connected clients, and then set priorities for services (game/web/download/....)

My wife watching Soap opera's online now that they canceled some from tv. Neither of us can play games during this. She all round video junkie online now.

thanks for help.

No, just having them static will not give them priority. You will still need to set the QoS settings to use that/those IP addresses, but at least you won't have to set everything to static.
 

evti

Member
Aug 7, 2012
39
0
0
Vad3r said:
So giving just the 2 of us static will give us priority on the network ?

No, that will just assign a static IP so you can use it to define a rule with it in the QoS settings. You cannot assign a rule for a certain device if you cannot define the device. Since the router uses IPs to recognize devices, that is why it must be static.

Just use DHCP reservations in Tomato.

Yes, this is how you define static IPs in the router settings. You assign the IPs using the MAC address of the device.
 

Vad3r

Senior member
Nov 25, 2000
274
0
0
No, that will just assign a static IP so you can use it to define a rule with it in the QoS settings. You cannot assign a rule for a certain device if you cannot define the device. Since the router uses IPs to recognize devices, that is why it must be static.



Yes, this is how you define static IPs in the router settings. You assign the IPs using the MAC address of the device.

thanks, fairly sure i will get this right ;)
 

imagoon

Diamond Member
Feb 19, 2003
5,199
0
0
Also remember you can only (effectively) QoS outbound. All the QoS settings in the world won't keep servers on the other side of the like from sending you packets. The is some minor inbound tuning but you have to trust that the sending servers pay attention. Many don't.
 

kevnich2

Platinum Member
Apr 10, 2004
2,465
8
76
Just use DHCP reservations in Tomato.

As this poster said, use static dhcp reservations in tomato firmware. Best of both worlds. This is how my network is setup. Dhcp is there for a reason so use it to your advantage and tomato has awesome dhcp reservation setup.
 

Vad3r

Senior member
Nov 25, 2000
274
0
0
ok, so far so good. I have given myself on my PC, and my son on his Laptop and Xbox a Static IP. This works, and was easy to do.

Enabled QOS, have done the speed-test a few times, and entered the figures for Max Bandwidth. I have entered them a tad lower than actual results. From what i read, many enter those numbers a little lower.

Now the rules, i thought i got it. But i guess i do not. For myself, I tested with quake live. I searched quake live ports, and used them in rule. Asked my wife to do her thing viewing videos, and boom, instant lag. Went from 45 ping to 155 ping.

It's hard to believe, but wireless clients seem to default priority over wired. I am only client directly plugged into router, and wireless steals all bandwidth somehow.

Can someone tell me how, now that i have static ip, that I am priority. I am plugged in via network, i pay the bills ;).
 

Vad3r

Senior member
Nov 25, 2000
274
0
0
Down is 6.25 local from speedtest.net

I turned off QOS for now, i seem to have made things worse :/ At least for me and my son playing games.

My wife still enjoys her video's just fine :(
 

AnonymouseUser

Diamond Member
May 14, 2003
9,943
107
106
Tell your wife to turn down the quality settings. HD video will use up to 8Mbps.

The reason QoS is making things worse is that you are reducing your total bandwidth slightly, which leaves the overhead for those you've configured to have priority. You could try reducing the max bandwidth a little more so your wife can't use it all.

EDIT>> CBS uses 3.5Mbps
 
Last edited:

Vad3r

Senior member
Nov 25, 2000
274
0
0
while i can't "fix" ping spikes in games, it does work. I just don't have enough download bandwidth to fix it. It can make it better. For anyone starting out as i did.

In TomotoUSB, the are live graphs showing where bandwidth is going. It separates it in classes in a pie chart. Being live, you and view the graph while network is under heavy load. That shows what classes are using and how much BW.

From there, you can adjust classes in percentages, bring up or down. So while my wife was viewing videos online, i could see what class was hogging all the BW. And i lowered it.

I then gave myself a static ip via mac address. And put my ip in the class of Voip/games. Then raised it's percentage.

I'm not sure i've done this right, but i can see a difference. I have 5Mbps down at best of times, so not much bw to shape. But as said, it does work.

So, thanks for all help and suggestions.