-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path10-cloud-init.yaml
More file actions
191 lines (178 loc) · 4.22 KB
/
Copy path10-cloud-init.yaml
File metadata and controls
191 lines (178 loc) · 4.22 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
# Network Architecture for RoCE (RDMA over Converged Ethernet)
# This configuration is designed to support a high-performance network setup
# for GPU traffic using x8 GPUs and x8 NICs. Each NIC is configured with a
# static IP address that corresponds to its device name, ensuring efficient
# and parallel data transfer between GPUs and NICs. The ens51f0np0 and
# ens51f1np1 interfaces are configured to use DHCP for IPv4 to allow dynamic
# IP assignment for external customer traffic. The MTU is set to 9100 to support jumbo frames, which is
# essential for high-throughput, low-latency communication in RoCE environments.
network:
version: 2
ethernets:
ens11np0:
addresses:
- 192.168.11.1/24
routes:
- to: default
via: 192.168.11.254
table: 101
routing-policy:
- from: 192.168.11.1
table: 101
mtu: 9100
match:
macaddress: d4:04:e6:78:03:84
optional: true
ens12np0:
addresses:
- 192.168.12.1/24
routes:
- to: default
via: 192.168.12.254
table: 102
routing-policy:
- from: 192.168.12.1
table: 102
mtu: 9100
match:
macaddress: d4:04:e6:0e:8a:38
optional: true
ens21np0:
addresses:
- 192.168.21.1/24
routes:
- to: default
via: 192.168.21.254
table: 103
routing-policy:
- from: 192.168.21.1
table: 103
mtu: 9100
match:
macaddress: d4:04:e6:0e:87:54
optional: true
ens22np0:
addresses:
- 192.168.22.1/24
routes:
- to: default
via: 192.168.22.254
table: 104
routing-policy:
- from: 192.168.22.1
table: 104
mtu: 9100
match:
macaddress: d4:04:e6:0e:93:c0
optional: true
ens31np0:
addresses:
- 192.168.31.1/24
routes:
- to: default
via: 192.168.31.254
table: 105
routing-policy:
- from: 192.168.31.1
table: 105
mtu: 9100
match:
macaddress: d4:04:e6:0e:79:d0
optional: true
ens32np0:
addresses:
- 192.168.32.1/24
routes:
- to: default
via: 192.168.32.254
table: 106
routing-policy:
- from: 192.168.32.1
table: 106
mtu: 9100
match:
macaddress: d4:04:e6:0e:9b:04
optional: true
ens41np0:
addresses:
- 192.168.41.1/24
routes:
- to: default
via: 192.168.41.254
table: 107
routing-policy:
- from: 192.168.41.1
table: 107
mtu: 9100
match:
macaddress: d4:04:e6:0e:9c:80
optional: true
ens42np0:
addresses:
- 192.168.42.1/24
routes:
- to: default
via: 192.168.42.254
table: 108
routing-policy:
- from: 192.168.42.1
table: 108
mtu: 9100
match:
macaddress: d4:04:e6:0e:84:c0
optional: true
ens50f0:
addresses:
- 192.168.50.1/24
routes:
- to: default
via: 192.168.50.254
table: 109
routing-policy:
- from: 192.168.50.1
table: 109
mtu: 9100
match:
macaddress: 3c:ec:ef:e1:96:a4
optional: true
ens50f1:
addresses:
- 192.168.51.1/24
routes:
- to: default
via: 192.168.51.254
table: 110
routing-policy:
- from: 192.168.51.1
table: 110
mtu: 9100
match:
macaddress: 3c:ec:ef:e1:96:a5
optional: true
ens51f0np0:
# DHCP configuration for ens51f0np0
dhcp4: true
dhcp6: false
mtu: 9100
match:
macaddress: d4:04:e6:e9:39:c0
ens51f1np1:
# DHCP configuration for ens51f1np1
dhcp4: true
dhcp6: false
mtu: 9100
match:
macaddress: d4:04:e6:e9:39:c1
usb0:
addresses:
- 192.168.60.1/24
routes:
- to: default
via: 192.168.60.254
table: 111
routing-policy:
- from: 192.168.60.1
table: 111
mtu: 9100
match:
macaddress: 00:00:00:00:00:00