The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
linux netconsole, macaddr of next hop
2019-01-07, 22:19 (This post was last modified: 2019-01-08 00:38 by matthewconolly.)
Post: #1
linux netconsole, macaddr of next hop
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:
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
linux netconsole, macaddr of next hop - matthewconolly - 2019-01-07 22:19



User(s) browsing this thread: 2 Guest(s)