Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Networking
Reload this Page DHCP server questions on Ubuntu/Linksys
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Networking Hardware/Software related, Modems, Internet connection sharing, IPTables etc.

Reply
 
Thread Tools Display Modes
Old 02-12-2007   #1 (permalink)
Just Joined!
 
Join Date: Feb 2007
Posts: 3
Question DHCP server questions on Ubuntu/Linksys

Here is the scenario.. let me know if you can help.

Setup involved:

Ubuntu Box > Linksys WRT54GL > Thin Clients

I have a Linux box that is on Ubuntu. The DHCP server is turned ON on the Ubuntu box since I run thin client solutions from a Linksys WRT54GL router. Because of the way the thin client setup is programmed, I have to have the DHCP server turned OFF on the Linksys router. Now.. the Linux box is programmed with an IP of 192.168.151.10, WRT54GL is set to 192.168.151.1 and the thin clients connect via DHCP per the IP block of 192.168.151.100 – 192.168.151.125. I also have Windows boxes connected to the same Linksys router. Because the DHCP server is turned OFF on the Linksys, and ON on the Linux box, when the Windows computers attempt to get IP address settings via DHCP, the Windows boxes think that the Linux box is the gateway address (192.168.151.10), and therefore cannot connect to the internet.

As far as my question goes.. rather than have a second router thrown into the loop that has DHCP turned on, is there any way to make this work so the Windows computers gather the DHCP settings and use the 192.168.151.1 (Linksys) as the gateway? My thoughts on some ways to do this are rules based on:

1. MAC address of the Windows computers
2. Based on network ID card (eth0)
3. Based on OS type (thin client versus Windows OS)

Any help would be appreciated. You can reply here (I’m subscribed). Thanks in advance.
iconxnoci is offline   Reply With Quote
Old 02-13-2007   #2 (permalink)
Just Joined!
 
Join Date: Feb 2007
Location: Adelaide, Australia
Posts: 53
edit your dhcpd.conf file and under the scope add

option routers 192.168.151.1;

Save the file and restart dhcpd
WizRd is offline   Reply With Quote
Old 02-13-2007   #3 (permalink)
Just Joined!
 
Join Date: Feb 2007
Posts: 3
Unfortunately I am pretty sure I need that to stay at 192.168.151.10 so the LTSP thin clients know where to get their DHCP address (handed out by the Linux box). I'll give it a try tomorrow and post the results. If anyone has any other ideas to try in the meantime, please reply. Thank you so far WizRd.
iconxnoci is offline   Reply With Quote
Old 02-13-2007   #4 (permalink)
Just Joined!
 
Join Date: Feb 2007
Posts: 3
Tested and works. Forgot my LTSP clients were hard programmed to get the DHCP address from the server. So easy it hurts. Thanks.
iconxnoci is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 11:54 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0