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


  Search this Thread
Old 12-30-2004, 03:36 PM   #1
Registered: Aug 2003
Location: Ottawa, Ontario, Canada
Distribution: Kubuntu
Posts: 50

Rep: Reputation: 15
Question Linksys DHCP Server

I have a Linksys BEFW11S4 WAP Router with two machines connected to the wired swtich: a linux box (Mandrake 10.0) in port 1 and a WinXP laptop in port 2. The DHCP server is enabled with the starting IP address at On the linux box I added these lines to /etc/hosts
The laptop does not have a hosts file.
On the laptop the linuxbox shows up as Mdkgroup, mylinuxbox, (shares) - all via samba.
This setup works. However, I would like to disable the DHCP server (in the router) and have the router assign static IP addresses for the LAN (not the WAN). On the DHCP tab of the router's configuation page there is the option to disable the DHCP Server. If I turn this off will my linux box (at least) still see the router? (I don't want to turn it off and have neither machine see the router. I want to avoud resetting the router.) How do I set up the DCHP Server and my computers to use static IP addresses for the LAN?

Thanks in advance.
Old 01-21-2005, 07:28 PM   #2
LQ Newbie
Registered: May 2004
Location: Chicago area
Distribution: debian at home - fedora at work
Posts: 15

Rep: Reputation: 0
First change both computers to use static addresses THEN
turn off the DHCP server.

In windows right click "my network places", select properties,
select TCP/IP, and select Properties again. Enter IP address
and subnet mask at a minimum.

In Linux use ifconfig or your distribution's network config scripts.
Old 01-21-2005, 07:54 PM   #3
Registered: Aug 2002
Posts: 117

Rep: Reputation: 15
And after you have the Ip adresses set and you have turned off the dhcp server you have to assign the default gateway (this functionality is what you called ("seeing the router"). In your case the default gateway you want will be
Old 01-22-2005, 12:53 AM   #4
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
Don't do it . ..

If this setup is connected to the outside world .. I would suggest don't do it.
You will have a mess on your hands .. you will have to configure the DNS on each machine by hand .. and if the service provider "ever" changed
that on you ... you will have to do this whole thing all over again..
as a matter of fact there would be no way of finding the dns .. unless you went back in and looked at your linksys router, it willl know .. but your
computers won't :-))

Not using DHCP has to be for a very good reason .. and I don't think you should disable it to solve some minro configuration issue.
Old 01-23-2005, 06:02 PM   #5
Registered: Aug 2003
Location: Ottawa, Ontario, Canada
Distribution: Kubuntu
Posts: 50

Original Poster
Rep: Reputation: 15
Thanks for the replies.
I think I will leave things as they are. The main reason why I was looking at static ip was that the DHCP server on the router assigns the first local ip to whichever machine it sees first (ie. whichever machine is turned on first.) Since my /etc/hosts uses the local ip (192.168.1.*) to assign the dns names to the local machines, it is important to know which ip will be assigned to which machine. Since my network has only 2 machines this is not a real issue, more a nuisance which I can live with.
Old 01-24-2005, 03:56 AM   #6
Registered: Jul 2004
Distribution: Fedora c2
Posts: 89

Rep: Reputation: 15
with a full-fledged dhcp server, the way you solve this is by setting an address reservation, ensuring that a given MAC address will always receive the same IP. I'm not sure you have that possibility with the Linksys dhcp server, it might be worth it to investigate, though.


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
linksys DHCP same every time true_atlantis Linux - Hardware 5 09-21-2004 10:48 AM
can't connect linksys+dhcp newbe45 Linux - Networking 0 09-05-2004 09:32 AM
Home network using linksys router -- DHCP server? GoinEasy9 Linux - General 12 04-02-2004 12:32 AM
dhcp server in linksys router maxvenum Linux - Networking 3 09-02-2003 08:56 AM
DHCP on Linksys router Wood Cock Linux - Networking 10 04-14-2002 03:29 PM > Forums > Linux Forums > Linux - Networking

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

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