LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-10-2007, 10:48 PM   #1
ghostrider.002
LQ Newbie
 
Registered: May 2007
Posts: 21

Rep: Reputation: 15
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.
 
Old 05-11-2007, 12:14 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
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.
 
Old 05-11-2007, 03:19 AM   #3
kees-jan
Member
 
Registered: Sep 2004
Distribution: Debian, Ubuntu, BeatrIX, OpenWRT
Posts: 273

Rep: Reputation: 30
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?

Groetjes,

Kees-Jan
 
Old 05-11-2007, 09:00 PM   #4
rcx11
Member
 
Registered: Oct 2006
Location: Louisana, USA
Distribution: Fedora 28 x86_64
Posts: 63

Rep: Reputation: 15
I'd go with jschiwal on this one. It's simple and effective for what you will be needing.
 
Old 05-12-2007, 12:44 AM   #5
ghostrider.002
LQ Newbie
 
Registered: May 2007
Posts: 21

Original Poster
Rep: Reputation: 15
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).
 
Old 05-12-2007, 07:53 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
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.

Last edited by jschiwal; 05-12-2007 at 07:54 AM.
 
Old 05-14-2007, 01:01 PM   #7
ghostrider.002
LQ Newbie
 
Registered: May 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Well i set my server to a low IP address and i was able to ping and connect to it from all my clients.

Thanks for the help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot access Linux server through Linksys WRT54GS router William1955 Linux - Hardware 5 11-04-2005 05:33 PM
Static Server / Dynamic IP Router? Sapient Linux - Networking 19 10-28-2005 01:33 AM
Home network: connecting to a Linksys router for DHCP IP address - no ping gunther Linux - Networking 28 05-20-2005 10:14 PM
Home Network Setup Help Linux Server running Windoze XP clients + ADSL router BeaverusIV Linux - Networking 10 04-22-2005 04:07 PM
Home network using linksys router -- DHCP server? GoinEasy9 Linux - General 12 04-01-2004 11:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration