ich habe eine Frage zu DNSmasq.
Ich habe ein neues Netzwerk erstellt aus welchem Clients per PXE Booten sollen.
Das Problem ist der PXE/TFTP Server ist in Netzwerk A die Clients in Netzwerk B.
Bei einem Netzwerk Boot mit dieser Config :
Code: Alles auswählen
listen-address=127.0.0.1
listen-address=10.5.200.254
local=/debrou.com/
expand-hosts
domain=debrou.com
dhcp-range=10.5.200.100,10.5.200.200,48h
dhcp-option=option:router,10.5.200.254
dhcp-option=19,1
dhcp-authoritative
dhcp-boot=smsboot\x64\wdsmgfw.efi,MUCSVCM01,40.4.200.218
Code: Alles auswählen
pxe-e79 nbp is too big to fit in free base memory
Namensauflösung auf PXE-Server geht.
Meinen Recherchen zu folge muss ich eine relay option bei dnsmasq hinzufügen.
Problem dabei ist dass der DHCP welche die Clients versorgt in Netzwerk B (Client-Netzwer) steht.
nach dieser Commandbeschreibung: von http://www.thekelleys.org.uk/dnsmasq/do ... q-man.html
"--dhcp-relay=<local address>,<server address>[,<interface]
Configure dnsmasq to do DHCP relay. The local address is an address allocated to an interface on the host running dnsmasq. All DHCP requests arriving on that interface will we relayed to a remote DHCP server at the server address. It is possible to relay from a single local address to multiple remote servers by using multiple dhcp-relay configs with the same local address and different server addresses. A server address must be an IP literal address, not a domain name. In the case of DHCPv6, the server address may be the ALL_SERVERS multicast address, ff05::1:3. In this case the interface must be given, not be wildcard, and is used to direct the multicast to the correct interface to reach the DHCP server."
wird ja neben der Bootp (welche ich will) auch die DHCP anfrage umgewandelt... was ja nicht in meinem Interesse liegt.
Gibt es eine möglichkeit dem relay Agent zu sagen nur Bootp Anfragen umzuwandeln?
Netwzerk:
Netwzerk A-------------Router--------------NetzwerkB
40.4.200.0/24---------10.5.200.254-------10.5.200.0/24
Router hat
Schnittstelle A:enp0s25 (40.4.200.252)
Schnittstelle B:enp16s0 (10.5.200.254)
Vielen Dank im voraus für die Hilfe
