Home Network with mixed static ip and dynamic ip clients using linksys wrt54gs router
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Home Network with mixed static ip and dynamic ip clients using linksys wrt54gs router
My question is this:
I have a Linksys WRT54GS Wireless Router
I have a Kubuntu 7 desktop client that i want to set with a static ip
I have a CentOS 4.4 LAMPS server (educational purposes) that i want a static ip
My brothers PC runs WinXP Home with a dynamic ip
My lil sister comes over from time to time with her laptop and it is also dynamic ip
I will be sharing file between all PC's with the CentOS 4.4 server being a file server at some point.
before i set up samba i want to set up the static ip's, but i need to have a mixed set up.
How can I do this? Is it possible?
Thanks for any advice.
Last edited by ghostrider.002; 05-10-2007 at 10:50 PM.
If you are using a NAT router as the dhcp server, it may have a setting that determines the low IP address assigned. On Linksys by default, the assigned IP address start at 192.168.1.100. So, if you configure a computer to user an IP address in the range 192.168.1.2-99, there won't be a conflict.
If you running a dhcp server on your linux computer instead, you can configure it to assign a fixed address for an interface based on its MAC address.
I'm not sure the stock linksys firmware supports this, but either openwrt or x-wrt does: You can pass to your linksys a MAC-address and specify which ip-address should be assigned to that mac-addres.
It also has a built-in DNS server for your LAN, so you can refer to all your hosts by name, instead of by IP. Hence, there is no real need for static ip's any more, since you'll be referring to other hosts by name anyway.
The only use I've found for static ips in this configuration, is to make port forwarding work. Why do you need static ips?
Sorry about the delay in getting back but work calls.
I forgot to mention that I am running Thibor HyperWRT firmware. Not the default Linksys firmware. As for the IP Range that the router uses it is currently set to start at 192.168.1.100 as you stated, so i am going to go the easy route and assign my CentOS box with a low IP Address and finish editing my http.conf file and see if all my clients can access the apache test page tomorrow, along with a ping test.
As for DNS, I have Bind9 installed on my CentOS box to learn how to use it. but i am going to also check if my firmware has DNS capabilities.
As for wanting to use static ip addresses, i wanted to setup my clients with static addresses since I will have to be able to do it in the near future (business and commercial networks).
Thanks for the help and advice.
I'll post the out come tomorrow (later today).
It is recommended to use fixed IP addresses for servers on the network. Using DHCP for desktop clients and fixed address for a DNS, file, or media server is a good plan.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.