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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
AFAIK there's no possibility to do that since PXE relies on DHCP. What you could do is setup Static DHCP (DHCP reservation) or work with a DHCP server on a completely different subnet, not accessible from the 'static network'.
Looking forward to your participation in the forums. Have fun with Linux.
as mentioned PXE is a form of DHCP. if all your computers have static addresses allocated in their OS then that makes no difference to the presence of a pxe server.
i believe dhcpd3 can do pxe but im not 100% of the configuration. All you would need to do is set it up to serve pxe
In a round about way you could use gpxe/ipxe to solve this.
A normal static lan would not be impacted by a temporary dhcp pxe server. I do it all the time on a static lan. I just don't leave it on too long in case someone boots to lan.
What is “static network” in detail? All my nodes in the cluster have fixed addresses but get them from the dhcp server and hence also PXE is working. You can put rules inside dhcpd.conf like:
What you have set up is 'static DHCP' as I understand it. I don't know if you're asking or explaining that in your post but for those who don't know it:
Quote:
static allocation: The DHCP server allocates an IP address based on a table with MAC address/IP address pairs, which are manually filled in (perhaps by a network administrator). Only requesting clients with a MAC address listed in this table will be allocated an IP address. This feature (which is not supported by all DHCP servers) is variously called Static DHCP Assignment (by DD-WRT), fixed-address (by the dhcpd documentation), Address Reservation (by Netgear), DHCP reservation or Static DHCP (by Cisco/Linksys), and IP reservation or MAC/IP binding (by various other router manufacturers).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.