Changes
Page history
Update Lab01
authored
Mar 22, 2024
by
Katharina Renk
Show whitespace changes
Inline
Side-by-side
Labs/Lab01.md
View page @
2e3527ab
...
...
@@ -74,12 +74,9 @@ In here, the UUID is also visible which we need for the next step:![Lab00_mne_li
### Switch 0
#### Modify interface eth1
#### Modify interface
s
eth1
and eth2
```
bash
mne path
set
<UUID of Switch0> interfaces/interface[name
=
eth1]
--file
<path to Lab01>/s0-eth1.json
--force-push
```
#### Modify interface eth2
```
bash
mne path
set
<UUID of Switch0> interfaces/interface[name
=
eth2]
--file
<path to Lab01>/s0-eth2.json
--force-push
```
#### Insert the routes
...
...
@@ -89,12 +86,9 @@ mne path set <UUID of Switch0> network-instances/network-instance[name=default]/
### Switch 1
### Modify interface eth1
### Modify interface
s
eth1
and eth2
```
bash
mne path
set
<UUID of Switch1> interfaces/interface[name
=
eth1]
--file
<path to Lab01>/s1-eth1.json
--force-push
```
### Modify interface eth2
```
bash
mne path
set
<UUID of Switch1> interfaces/interface[name
=
eth2]
--file
<path to Lab01>/s1-eth2.json
--force-push
```
### Insert the routes
...
...
@@ -123,9 +117,6 @@ ip address add 10.0.0.100/24 dev eth1
ip route del default
ip route add default via 10.0.0.1 dev eth1
ip route add 10.50.0.2/32 via 10.0.0.1 dev eth1
```
Afterwards, exit the bash:
```
bash
exit
```
#### Client Centos1
...
...
@@ -142,9 +133,6 @@ ip address add 192.168.0.100/24 dev eth1
ip route del default
ip route add default via 192.168.0.1 dev eth1
ip route add 10.50.0.1/32 via 192.168.0.1 dev eth1
```
Afterwards, exit the bash:
```
bash
exit
```
...
...
...
...