... | @@ -74,12 +74,9 @@ In here, the UUID is also visible which we need for the next step:![Lab00_mne_li |
... | @@ -74,12 +74,9 @@ In here, the UUID is also visible which we need for the next step:![Lab00_mne_li |
|
|
|
|
|
### Switch 0
|
|
### Switch 0
|
|
|
|
|
|
#### Modify interface eth1
|
|
#### Modify interfaces eth1 and eth2
|
|
```bash
|
|
```bash
|
|
mne path set <UUID of Switch0> interfaces/interface[name=eth1] --file <path to Lab01>/s0-eth1.json --force-push
|
|
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
|
|
mne path set <UUID of Switch0> interfaces/interface[name=eth2] --file <path to Lab01>/s0-eth2.json --force-push
|
|
```
|
|
```
|
|
#### Insert the routes
|
|
#### Insert the routes
|
... | @@ -89,12 +86,9 @@ mne path set <UUID of Switch0> network-instances/network-instance[name=default]/ |
... | @@ -89,12 +86,9 @@ mne path set <UUID of Switch0> network-instances/network-instance[name=default]/ |
|
|
|
|
|
### Switch 1
|
|
### Switch 1
|
|
|
|
|
|
### Modify interface eth1
|
|
### Modify interfaces eth1 and eth2
|
|
```bash
|
|
```bash
|
|
mne path set <UUID of Switch1> interfaces/interface[name=eth1] --file <path to Lab01>/s1-eth1.json --force-push
|
|
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
|
|
mne path set <UUID of Switch1> interfaces/interface[name=eth2] --file <path to Lab01>/s1-eth2.json --force-push
|
|
```
|
|
```
|
|
### Insert the routes
|
|
### Insert the routes
|
... | @@ -123,9 +117,6 @@ ip address add 10.0.0.100/24 dev eth1 |
... | @@ -123,9 +117,6 @@ ip address add 10.0.0.100/24 dev eth1 |
|
ip route del default
|
|
ip route del default
|
|
ip route add default via 10.0.0.1 dev eth1
|
|
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
|
|
ip route add 10.50.0.2/32 via 10.0.0.1 dev eth1
|
|
```
|
|
|
|
Afterwards, exit the bash:
|
|
|
|
```bash
|
|
|
|
exit
|
|
exit
|
|
```
|
|
```
|
|
#### Client Centos1
|
|
#### Client Centos1
|
... | @@ -142,9 +133,6 @@ ip address add 192.168.0.100/24 dev eth1 |
... | @@ -142,9 +133,6 @@ ip address add 192.168.0.100/24 dev eth1 |
|
ip route del default
|
|
ip route del default
|
|
ip route add default via 192.168.0.1 dev eth1
|
|
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
|
|
ip route add 10.50.0.1/32 via 192.168.0.1 dev eth1
|
|
```
|
|
|
|
Afterwards, exit the bash:
|
|
|
|
```bash
|
|
|
|
exit
|
|
exit
|
|
```
|
|
```
|
|
|
|
|
... | | ... | |