-
Notifications
You must be signed in to change notification settings - Fork 10
/
lan.conf
73 lines (57 loc) · 2.57 KB
/
lan.conf
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
# lan.conf
# A configuration file for lanserv or ipmi_sim to configure the various
# communication parameters for the device.
# This is a name used to identify this instance, and used to create
# the default name of the emulator startup command file and eventually
# the storage facility for permanent storage.
name "IPMI-SIM-SERVER"
#
# Work on the BMC first
set_working_mc 0x20
# Define a LAN channel on channel 1 (eth1)
startlan 1
# Define an IP address and port to listen on. You can define more
# than one address/port to listen on multiple addresses. The ::
# listens on all addresses.
addr 0.0.0.0 623
# Maximum privilege limit on the channel.
priv_limit admin
# Allowed IPMI 1.5 authorization types
allowed_auths_callback none md2 md5 straight
allowed_auths_user none md2 md5 straight
allowed_auths_operator none md2 md5 straight
allowed_auths_admin none md2 md5 straight
# guid for IPMI 2.0 authorization You can also use a string
guid a123456789abcdefa123456789abcdef
# You can specify a BMC key for IPMI 2.0 authorization. See the
# spec for details.
#bmc_key "abcdefghijklmnopqrst"
# A program to get and set the LAN configuration of the interface.
lan_config_program "/etc/ipmi/lancontrol eth1"
endlan
# Define a LAN channel on channel 2 (eth0)
startlan 2
# We don't define a listen address, as it is not necessary, the
# one from channel 1 covers everything.
# Maximum privilege limit on the channel.
priv_limit admin
# Allowed IPMI 1.5 authorization types
#allowed_auths_callback none md2 md5 straight
#allowed_auths_user none md2 md5 straight
#allowed_auths_operator none md2 md5 straight
#allowed_auths_admin none md2 md5 straight
# guid for IPMI 2.0 authorization You can also use a string
guid a123456789abcdefa123456789abcdef
# You can specify a BMC key for IPMI 2.0 authorization. See the
# spec for details.
#bmc_key "abcdefghijklmnopqrst"
# A program to get and set the LAN configuration of the interface.
lan_config_program "/etc/ipmi/lancontrol eth0"
endlan
chassis_control "/tmp/ipmisim/bin/chassis_control.sh 0x20"
# Now add some users. User 0 is invalid, user 1 is the special "anonymous"
# user and cannot take a username. Note that the users here are only
# used if the persistent user config doesn't exist.
# # valid name passw priv-lim max-sess allowed-auths
user 1 false "" "test" user 10 none md2 md5 straight
user 2 true "ADMIN" "ADMIN" admin 10 none md2 md5 straight