LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-13-2007, 05:32 PM   #1
namit
Member
 
Registered: Aug 2005
Distribution: Debian
Posts: 355

Rep: Reputation: 30
2 dhcp servers 1 network.


So i have 2 dhcp servers on my network (router and pxe server).
Router for actual network and server runs dhcp for pxe server.

Router 1:
Just setup normally
Internet comes in on 1 nic and goes out to switch on another nic.

Server 2 and all other computers are connected into this switch.
Server 2:
Server 2 only has 1 nic.
Code:
default-lease-time 86400;
max-lease-time 604800;

authoritative;

subnet 192.168.0.0 netmask 255.255.255.0 {
        range 192.168.0.10 192.168.0.49;
        option subnet-mask 255.255.255.0;
        option broadcast-address 192.168.0.255;
        option routers 192.168.0.1;
        filename "pxelinux.0";
        next-server 192.168.0.130;
}
"""
now i plug my laptop into switch and its picking up on the pxe servers ip list. Would prefer if this was not the case.

Anyone know what i can do?

Thanks
 
Old 07-13-2007, 08:26 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,972
Blog Entries: 11

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
You can lock the PXE down to supply leases only to machines
with certain MAC addresses.

Another approach might be to force the client to talk to
a specific server, but that depends on the client software
you're using.


Cheers,
Tink
 
Old 07-14-2007, 06:31 AM   #3
namit
Member
 
Registered: Aug 2005
Distribution: Debian
Posts: 355

Original Poster
Rep: Reputation: 30
is there no way to lock down pxe server only to lease to pxe requests?
 
Old 07-14-2007, 03:27 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,972
Blog Entries: 11

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
Looks like there might be, I've never had to try to set it
up like that myself, but did find a few references on google
that suggest it can be done ...

http://danhomolka.wordpress.com/how-...pensuse-linux/
looks quite promising.


Cheers,
Tink
 
  


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
DHCP with several servers trovatou Linux - Server 3 05-10-2007 03:58 AM
Two DHCP Servers mesh2005 Linux - Networking 3 10-16-2005 05:26 AM
DHCP problems - multiple DHCP servers sat86 Linux - Networking 4 10-02-2005 05:43 AM
2 DHCP servers on a network olefemmy Linux - Networking 2 11-19-2004 10:27 AM
2 dhcp servers, 1 network... 330Pilot Linux - Networking 5 10-12-2003 04:10 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration