@@ -7,34 +7,24 @@ Because plain text is awesome, but sometimes cumbersome.
77
88Used by the Dreamhack Network Crew.
99
10- ## Example file
10+ ## File formating
1111
1212The file needs to use tabs for alignment, size 8 is recommended. UTF8 and UNIX line feed are required.
1313
14- #Name #Terminator #Net #VLAN #Options
15- DHTECH-TEST-1 R1 77.80.255.192/26 303 pkg=opsagent;flow=colo
16- #GW 77.80.255.193
17- #$ test.event.dreamhack.se 77.80.255.196 pkg=something
18-
19- #Name #Terminator #Net #VLAN #Options
20- DHTECH-TEST-2 R1 10.20.4.0/24 204 nat=1.2.3.4
21- #GW 10.20.4.1
22- #$ host.tech.dreamhack.local 10.20.4.3 os=esxi
23-
2414## How to define a network
2515
2616Each row in the file is either a comment (line starting with #) or a definition of a network. A network definition must always have 5 space-separated columns (many scripts depend on this).
2717
2818Example:
2919
30- C01 D-ASR-V 77.80.128.0/25 301 dhcp;resv=20;sw=abc;int=Te0/2/0/1
20+ C01 77.80.128.0/25 D-ASR-V 301 dhcp;resv=20;sw=abc;int=Te0/2/0/1
3121
3222` C01 ` is the name of the network, this is an table in hall C, table 1.
3323
34- ` D-ASR-V ` is the Layer 3 terminator of the network, the default gateway.
35-
3624` 77.80.128.0/25 ` is the network with the netmask in CIDR.
3725
26+ ` D-ASR-V ` is the Layer 3 terminator of the network, the default gateway.
27+
3828` 301 ` is the VLANID, all networks have an VLANID in case that is needed, otherwise use ` - ` . The IPv6 networks are calculated from the VLANID.
3929
4030The last column defines special options for the network. The format is ` option1=value1,value2,value3;option2=value4 ` and so on.
@@ -44,13 +34,15 @@ If you dont have any options use `none`.
4434
4535Example:
4636
47- #$ deploy.event.dreamhack.se 77.80.231.70 s=ssh64;c=ldap64,log64;l=tftp64,dhcp64
37+ #$ deploy.event.dreamhack.se 77.80.231.70 s=ssh64;c=ldap64,log64;l=tftp64,dhcp64
38+ #$ something.event.dreamhack.se ::1111 s=ssh64;c=ldap64,log64;l=tftp64,dhcp64
4839
4940` #$ ` is used to indicate that this is a host row.
5041
5142` deploy.event.dreamhack.se ` is the FQDN for the host.
5243
5344` 77.80.231.70 ` is the IPv4 address of the host. IPv6 is generated from this and the network's VLAN ID.
45+ Alternatively an IPv6 address can be specified which will make the host IPv6-only.
5446
5547The last column defines special options for the host. The format is ` option1=value1,value2,value3;option2=value4 ` and so on.
5648If you dont have any options use ` none ` .
0 commit comments