You are not logged in.
I am a bit confused about static IP and router IP even after reading some guides from searching. What I would like to do if possible is, I have one server and 2 desktops (one arch one win7) and I would like to assign one 192.168.1.10? IP per each. So for example I want to make sure that my server is always 192.168.1.100, even after a power outage or something, when it restarts its network and tries to get IP from router it is always 192.168.1.100, and no other device connected to the network can possibly take that spot. How exactly do I accomplish this? Is this static IP or a bit different? TIA for any help
Last edited by colbert (2010-02-19 21:07:43)
Offline
I configured this in my router's software. I'm assuming you can as well through your routers software as well.
Hofstadter's Law:
It always takes longer than you expect, even when you take into account Hofstadter's Law.
Offline
Depends on the router - you should be able to assign a local IP address by MAC.
Offline
You can set static ip addresses on the clients, or you can configure static dhcp leases on your router (if it supports static leases, of course).
Offline
Okay I am in my Linksys (WRT54GS) control panel in browser, but I am unsure of where to proceed.
or
Any of those? In the first pic I was thinking maybe Static DNS section, dunno.
edit: image size
Last edited by colbert (2010-02-19 19:41:07)
Offline
Please use an image hoster, and post a thumbnail here. Large images like that are not allowed.
I don't see any static lease settings on those pages.
Offline
Change the router "start IP address" from 100 to 150
Then give your Server and PCs the static IPs you want (192.168.1.100 etc)
Offline
Sorry for image size! Resized hopefully is OK.
Change the router "start IP address" from 100 to 150
Then give your Server and PCs the static IPs you want (192.168.1.100 etc)
Okay, how do I do the second part though, how do I give the pc the static IP? Is that this: http://wiki.archlinux.org/index.php/Net … _Static_IP ??
Offline
Sorry for image size! Resized hopefully is OK.
vacant wrote:Change the router "start IP address" from 100 to 150
Then give your Server and PCs the static IPs you want (192.168.1.100 etc)
Okay, how do I do the second part though, how do I give the pc the static IP? Is that this: http://wiki.archlinux.org/index.php/Net … _Static_IP ??
Yes.
For your server 192.168.1.100, assuming a wired interface on eth0, in /etc/rc.conf
#Static IP example
eth0="eth0 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(eth0)
gateway="default gw 192.168.1.1"
ROUTES=(gateway)
For your Arch PC do the same but change the IP address to 192.168.1.101
For you Windows PC, something like right click on the network connection, properties, TCP, IPV4, then uncheck "automatic" or DHCP and fill in the IP address as 192.168.1.102, broadcast 192.168.1.255, netmask 255.255.255.0, gateway & DNS 192.168.1.1
Last edited by vacant (2010-02-19 20:06:50)
Offline
Thanks so much vacant! I did that on both rc.conf's of server and desktop Arch boxes, now they are at the correct IPs Thanks a lot!!!
Offline
Colbert - glad you got it worked out, but you'd have got there a lot faster if you'd just followed the wiki - you even found the right page, and it says exactly what vacant just said.
Offline
Oh for sure, but again my concern was whether or not what I wanted was static IP setting Been having so many net issues last couple weeks just didn't want to make changes unless I knew the right path to go down...
Offline