carta
update-cluster-maccollect(8)

update-cluster-maccollect8

Collects mac addresses and generates output

Usage

update-cluster-maccollect [entry] ... < input-filename

Overview

update-cluster-maccollect listens to the network interface, and collects MAC addresses. It will auto-generates a list of hostnames and IPs by the information, to generate a list of hosts which were sending packets to the network.

Useful for creating a template for list of nodes in the LAN automatically.

Options

--prefix [pc]

Sets the hostname prefix to be pc. Every generated hostname will be in the form of pcXX, where XX is a numeral.

--ipprefix [192.168.0.]

Network IP prefix. A number will be appended.

--ipstart [2]

Start value for IP. Default is 2.

--hoststart [2]

Start value for the numeric part of hostname. Default is 2.

--domainsuffix [.domain.org]

Specify a domain name to use. Start with a period.

The default is .cluster. It is possible to suppress the domain part by specifying --domainsuffix ""

--interface [eth0]

Network interface to listen to. MAC addresses are collected from packets that are received on that interface.

--clusterxml [clusterml]

Specifies the cluster.xml file to use instead of the default.

Examples

update-cluster-maccollect --domainsuffix .hoge.org --prefix machine --interface eth0 --ipstart 1 --hoststart 1

Collect MAC addresses on interface eth0.

History

  • Debian 5.0 (Lenny) to Debian 4.0 (Etch): the text shown here
  • Debian 3.1 (Sarge)

Bugs

Only really supports network with less than 256 hosts. Only really supports IPv4 networks. Assumes a lot of things.

Author

Written by Junichi Uekawa <[email protected]>, <[email protected]>, <[email protected]> for Debian Project.

From update-cluster 0.41.5-5 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.