Hello guys,

How can I create one script to config static IP addr and chain to pxelinux.0? I did this but does not work, only works if I use dhcp.

Script is something like that:

#!ipxe
ifopen net0
set net0/ip 192.168.0.10
set net0/netmask 255.255.255.0
set net0/gateway 192.168.0.1
set net0/dns 8.8.8.8
set 209:string pxelinux.cfg/default
set 210:string http://some_server_elsewere/
chain ${210:string}pxelinux.0

Best regards

--
Marcus Alves Grando
Service Delivery
+55 (51) 3284-4238
Terra Latin America&  USA

_______________________________________________
ipxe-devel mailing list
[email protected]
https://lists.ipxe.org/mailman/listinfo/ipxe-devel

Reply via email to