2019-01-07, 22:19
Hi,
I'm looking to use netconsole[1] for logging the early boot of linux machines.
Is it possible to get the MAC address of the gateway ip into a settings variable?
The netconsole network config very basic and requires the MAC address of the next hop if the destination machine is not on the same network as the log producing machine.
Here's an example of what I'd like to do:
[1] https://www.kernel.org/doc/Documentation...onsole.txt
I'm looking to use netconsole[1] for logging the early boot of linux machines.
Is it possible to get the MAC address of the gateway ip into a settings variable?
The netconsole network config very basic and requires the MAC address of the next hop if the destination machine is not on the same network as the log producing machine.
Here's an example of what I'd like to do:
Code:
dhcp
kernel http://fileserver/images/kernel
initrd http://fileserver/images/initrd.gz
imgargs kernel earlyprintk netconsole=4444@10.0.0.1/eth1,9353@10.0.0.2/${gateway-mac}
boot
[1] https://www.kernel.org/doc/Documentation...onsole.txt