Тёмный

How To:Send Traffic Streams for BGP destination emulated using RTBricks on Ubuntu towards Routers. 

Network Tips and Topics
Подписаться 40
Просмотров 26
50% 1

bgpupdate -f Q.bgp -a 1099 -l 100 -n 200.200.200.3 -N 1 -p 20.1.0.0/24 -P 10 -s streams.json --stream-pps 1000
bngblaster -S run.sock -C GAT1 -I -l bgp
cat streams.json
bngblaster-cli run.sock stream-info flow-id 10
{
"interfaces": {
"network": [
{
"interface": "ens20",
"address": "200.200.200.3/24",
"gateway": "200.200.200.1"
}
]
},
"bgp": [
{
"local-address": "200.200.200.3",
"peer-address": "200.200.200.1",
"local-as": 1099,
"peer-as": 5089,
"raw-update-file": "Q.bgp",
"family": [
"ipv4-unicast"
],
"network-interface": "ens20"
}
],
"streams": [
{
"name": "20.1.0.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"raw-tcp": true,
"destination-ipv4-address": "20.1.0.1"
},
{
"name": "20.1.1.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"destination-ipv4-address": "20.1.1.1"
},
{
"name": "20.1.2.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"destination-ipv4-address": "20.1.2.1"
},
{
"name": "20.1.3.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"destination-ipv4-address": "20.1.3.1"
},
{
"name": "20.1.4.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"destination-ipv4-address": "20.1.4.1"
},
{
"name": "20.1.5.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"destination-ipv4-address": "20.1.5.1"
},
{
"name": "20.1.6.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"destination-ipv4-address": "20.1.6.1"
},
{
"name": "20.1.7.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"destination-ipv4-address": "20.1.7.1"
},
{
"name": "20.1.8.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"destination-ipv4-address": "20.1.8.1"
},
{
"name": "20.1.9.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"destination-ipv4-address": "20.1.9.1"
}
]
}

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
You NEED to try Hyprland on Linux RIGHT NOW
24:36
Просмотров 75 тыс.
Редакция. News: 137-я неделя
42:24
Просмотров 621 тыс.
IPv6 from scratch - the very basics of IPv6 explained
14:34
Why Are Open Source Alternatives So Bad?
13:06
Просмотров 646 тыс.
A DAY (NIGHT) in the LIFE of a NOC ENGINEER!
12:36
Просмотров 1,8 млн
NixOS is Mindblowing
12:02
Просмотров 708 тыс.
The intro to Docker I wish I had when I started
18:27
Просмотров 134 тыс.
Редакция. News: 137-я неделя
42:24
Просмотров 621 тыс.