Interfaces are now assigned to specific nodes

This commit is contained in:
Loic Guegan 2023-06-29 09:37:27 +02:00
parent 9a1578ae75
commit e082a7b519
33 changed files with 64 additions and 18 deletions

View file

@ -7,6 +7,7 @@ nodes:
interfaces:
wlan0:
type: "wireless"
nodes: all
links:
- all 1Bps 0s all
- 0 0bps 0s 2 # Sender cannot reach n2 on wlan0
@ -14,15 +15,18 @@ interfaces:
- all 1Bps 0s
wlan1:
type: "wireless"
nodes: all
links:
- all 1Bps 0s all # Sender can reach n1 AND n2 on wlan1
txperfs:
- all 1Bps 0s
eth0:
type: "wired"
nodes: all
links:
- all 1Bps 0s all
eth1:
type: "wired"
nodes: all
links:
- all 2Bps 0s all # On eth1 sender can reach receiver twice faster than eth0