File: update-cluster-maccollect.8.in

package info (click to toggle)
update-cluster 0.41.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,080 kB
  • ctags: 61
  • sloc: sh: 3,955; ansic: 538; xml: 468; makefile: 192
file content (77 lines) | stat: -rw-r--r-- 2,043 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
.TH "update-cluster-maccollect" 8 "21 Mar 2004" "Debian-Beowulf" "Debian" "Debian"
 \" #NOTICE#
 \" $Id: update-cluster-maccollect.8.in,v 1.4 2004/03/20 16:25:17 dancer Exp $
.SH "NAME"
update-cluster-maccollect \- collects mac addresses and generates output
.SH "SYNOPSIS"
.BI "update-cluster-maccollect [" "entry" "] ... < " "input-filename" 
.SH "DESCRIPTION"
.B "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.

.SH "OPTIONS"
.TP
.BI "--prefix [" "pc" "]"

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

.TP
.BI "--ipprefix [" "192.168.0." "]"

Network IP prefix. A number will be appended.

.TP
.BI "--ipstart [" "2" "]"

Start value for IP.
Default is 2.

.TP
.BI "--hoststart [" "2" "]"

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

.TP
.BI "--domainsuffix [" ".domain.org" "]"

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

.TP
.BI "--interface [" "eth0" "]"

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

.TP
.BI "--clusterxml [" "clusterml" "]"

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

.SH "EXAMPLES"

.TP
.B "update-cluster-maccollect --domainsuffix .hoge.org --prefix machine --interface eth0 --ipstart 1 --hoststart 1"
Collect MAC addresses on interface eth0.

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

.SH "AUTHOR"
Written by 
.B "Junichi Uekawa <dancer@debian.org>, <dancer@netfort.gr.jp>, <dancer@mikilab.doshisha.ac.jp>"
for Debian Project.
.SH "SEE ALSO"
.RI "update-cluster-add (" "8" "), "
.RI "update-cluster-remove (" "1" "), "
.RI "update-cluster-regenerate (" "8" "), "
.RI "tcpdump (" "8" ") "