More Related Content
More from Toshiki Tsuboi (11)
RyuBGPSpeakerを活用したOpenFlow簡易ルータを試してみた
- 11. Quagga
1
Quagga
2
OVS1
OVS2
AS65001
192.168.100.1/24
MED100
MED200
OVS3
Quagga
3
AS65002
root@Quagga-3:~#
ping
192.168.100.1
PING
192.168.100.1
(192.168.100.1):
56
data
bytes
64
bytes
from
192.168.100.1:
seq=0
ttl=254
time=1.999
ms
64
bytes
from
192.168.100.1:
seq=1
ttl=254
time=1.344
ms
64
bytes
from
192.168.100.1:
seq=2
ttl=254
time=1.272
ms
64
bytes
from
192.168.100.1:
seq=3
ttl=254
time=1.241
ms
64
bytes
from
192.168.100.1:
seq=4
ttl=254
time=1.217
ms
64
bytes
from
192.168.100.1:
seq=60
ttl=253
time=2.081
ms
64
bytes
from
192.168.100.1:
seq=61
ttl=253
time=1.414
ms
64
bytes
from
192.168.100.1:
seq=62
ttl=253
time=1.172
ms
64
bytes
from
192.168.100.1:
seq=63
ttl=253
time=1.364
ms
64
bytes
from
192.168.100.1:
seq=64
ttl=253
time=1.333
ms
64
bytes
from
192.168.100.1:
seq=65
ttl=253
time=1.323
ms
^C
---
192.168.100.1
ping
statistics
---
66
packets
transmitted,
11
packets
received,
83%
packet
loss
round-trip
min/avg/max
=
1.172/1.432/2.081
ms
192.168.101.1/24
Down
Pingも途中で通信断になったが、約1分後に回復できた
11
- 14. Quagga
1
Quagga
2
OVS1
OVS2
192.168.100.1/24
OVS3
Quagga
3
192.168.101.1/24
Status
codes:
*
valid,
>
best
Origin
codes:
i
-
IGP,
e
-
EGP,
?
-
incomplete
Network
Labels
Next
Hop
Reason
Metric
LocPrf
Path
*>
192.168.102.0/24
None
172.16.201.1
Only
Path
100
i
*>
172.16.103.0/24
None
192.168.201.1
Only
Path
100
65001
?
*>
172.16.102.0/24
None
192.168.201.1
Only
Path
100
65001
?
*>
192.168.202.0/24
None
192.168.201.1
Only
Path
100
65001
?
*>
192.168.100.0/24
None
192.168.201.1
Only
Path
100
65001
?
*>
0.0.0.0/0
None
192.168.201.1
Only
Path
100
65001
?
*>
10.0.0.2/32
None
192.168.201.1
Only
Path
100
65001
?
*>
172.16.201.101/32
None
172.16.201.1
Only
Path
100
i
*>
192.168.101.1/32
None
172.16.201.1
Only
Path
100
i
*>
172.16.202.101/32
None
172.16.201.1
Only
Path
100
i
*>
172.16.104.0/24
None
192.168.201.1
Only
Path
100
65001
?
*>
172.16.101.0/24
None
192.168.201.1
Only
Path
100
65001
?
*>
192.168.201.0/24
None
192.168.201.1
Only
Path
100
65001
?
*>
192.168.0.0/24
None
192.168.201.1
Only
Path
100
65001
?
*>
10.0.0.1/32
None
192.168.201.1
Only
Path
100
Show_rib_ipv4 in OVS1
192.168.201.0/24
192.168.202.0/24
172.16.203.0/24
172.16.201.0/24
172.16.202.0/24
14
- 15. http:/http http://www.nexcom-jp.com/FilData/getimg/5712caac-3256-4d8b-
b0ce-9c4ed262bed2://www.n http://www.nexcom-jp.com/FilData/getimg/
5712caac-3256-4d8b-b0ce-9c http://www.nexcom-jp.com/FilData/getimg/
5712caac-3256-4d8b-b0ce-9c4ed262bed2 4ed262bed2 excom-jp.com/FilData/
getimg/5712caac-3256-4d8b-b0ce-9c4ed262bed2/www.nexcom-jp.com/FilData/
getimg/5712caac-3256-4d8b-b0ce-9c4ed262bed2
Quagga
1
Quagga
2
OVS1
OVS2
192.168.100.1/24
OVS3
Quagga
3
192.168.101.1/24
Status
codes:
*
valid,
>
best
Origin
codes:
i
-
IGP,
e
-
EGP,
?
-
incomplete
Network
Labels
Next
Hop
Reason
Metric
LocPrf
Path
*
192.168.201.0/24
None
192.168.202.1
200
65001
?
*>
None
172.16.203.1
MED
100
200
65001
?
*
0.0.0.0/0
None
192.168.202.1
200
65001
?
*>
None
172.16.203.1
MED
100
200
65001
?
*
172.16.102.0/24
None
192.168.202.1
200
65001
?
*>
None
172.16.203.1
MED
100
200
65001
?
*
192.168.100.0/24
None
192.168.202.1
200
65001
?
*>
None
172.16.203.1
MED
100
200
65001
?
*
10.0.0.1/32
None
192.168.202.1
200
65001
?
*>
None
172.16.203.1
MED
100
200
65001
?
…(snip)
*>
192.168.102.0/24
None
172.16.202.1
Only
Path
100
i
*>
192.168.101.1/32
None
172.16.202.1
Only
Path
100
i
*>
172.16.202.101/32
None
172.16.202.1
Only
Path
100
i
*>
172.16.201.101/32
None
172.16.202.1
Only
Path
100
i
Show_rib_ipv4 in OVS2
192.168.201.0/24
192.168.202.0/24
172.16.203.0/24
172.16.201.0/24
172.16.202.0/24
15
- 16. Quagga
1
Quagga
2
OVS1
OVS2
192.168.100.1/24
OVS3
Quagga
3
192.168.101.1/24
Status
codes:
*
valid,
>
best
Origin
codes:
i
-
IGP,
e
-
EGP,
?
-
incomplete
Network
Labels
Next
Hop
Reason
Metric
LocPrf
Path
*>
192.168.0.0/24
None
172.16.201.101
Only
Path
100
300
65001
?
*>
172.16.202.101/32
None
0.0.0.0
Only
Path
i
*>
192.168.201.0/24
None
172.16.201.101
Only
Path
100
300
65001
?
*>
10.0.0.1/32
None
172.16.201.101
Only
Path
100
300
65001
?
*>
172.16.104.0/24
None
172.16.201.101
Only
Path
100
300
65001
?
*>
172.16.101.0/24
None
172.16.201.101
Only
Path
100
300
65001
?
*>
192.168.102.0/24
None
192.168.101.1
Only
Path
i
*>
172.16.201.101/32
None
0.0.0.0
Only
Path
i
*>
192.168.100.0/24
None
172.16.201.101
Only
Path
100
300
65001
?
*>
10.0.0.2/32
None
172.16.201.101
Only
Path
100
300
65001
?
*>
192.168.101.1/32
None
0.0.0.0
Only
Path
i
*>
192.168.202.0/24
None
172.16.201.101
Only
Path
100
300
65001
?
*>
172.16.103.0/24
None
172.16.201.101
Only
Path
100
300
65001
?
*>
172.16.102.0/24
None
172.16.201.101
Only
Path
100
300
65001
?
*>
0.0.0.0/0
None
172.16.201.101
Only
Path
100
300
65001
?
Show_rib_ipv4 in OVS3
192.168.201.0/24
192.168.202.0/24
172.16.203.0/24
172.16.201.0/24
172.16.202.0/24
16
- 17. Quagga
1
Quagga
2
OVS1
OVS2
192.168.100.1/24
OVS3
Quagga
3
192.168.101.1/24
Down
Show_rib_ipv4 in OVS1
Status
codes:
*
valid,
>
best
Origin
codes:
i
-
IGP,
e
-
EGP,
?
-
incomplete
Network
Labels
Next
Hop
Reason
Metric
LocPrf
Path
*>
192.168.102.0/24
None
172.16.201.1
Only
Path
100
i
*>
0.0.0.0/0
None
172.16.203.101
Only
Path
200
200
65001
?
*>
172.16.103.0/24
None
172.16.203.101
Only
Path
200
200
65001
?
*>
192.168.0.0/24
None
172.16.203.101
Only
Path
200
200
65001
?
*>
172.16.102.0/24
None
172.16.203.101
Only
Path
200
200
65001
?
*>
192.168.202.0/24
None
172.16.203.101
Only
Path
200
200
65001
?
*>
192.168.201.0/24
None
172.16.203.101
Only
Path
200
200
65001
?
*>
172.16.101.0/24
None
172.16.203.101
Only
Path
200
200
65001
?
*>
10.0.0.1/32
None
172.16.203.101
Only
Path
200
200
65001
?
*>
192.168.100.0/24
None
172.16.203.101
Only
Path
200
200
65001
?
*>
172.16.104.0/24
None
172.16.203.101
Only
Path
200
200
65001
?
*>
10.0.0.2/32
None
172.16.203.101
Only
Path
200
200
65001
?
*>
172.16.201.101/32
None
172.16.201.1
Only
Path
100
i
*>
192.168.101.1/32
None
172.16.201.1
Only
Path
100
i
*>
172.16.202.101/32
None
172.16.201.1
Only
Path
100
192.168.201.0/24
192.168.202.0/24
172.16.203.0/24
172.16.201.0/24
172.16.202.0/24
17
- 18. Quagga
1
Quagga
2
OVS1
OVS2
192.168.100.1/24
OVS3
Quagga
3
192.168.101.1/24
Down
Show_rib_ipv4 in OVS2
Status
codes:
*
valid,
>
best
Origin
codes:
i
-
IGP,
e
-
EGP,
?
-
incomplete
Network
Labels
Next
Hop
Reason
Metric
LocPrf
Path
*>
192.168.201.0/24
None
192.168.202.1
Only
Path
200
65001
?
*>
0.0.0.0/0
None
192.168.202.1
Only
Path
200
65001
?
*>
172.16.102.0/24
None
192.168.202.1
Only
Path
200
65001
?
*>
192.168.100.0/24
None
192.168.202.1
Only
Path
200
65001
?
*>
10.0.0.1/32
None
192.168.202.1
Only
Path
200
65001
?
*>
172.16.104.0/24
None
192.168.202.1
Only
Path
200
65001
?
*>
192.168.202.0/24
None
192.168.202.1
Only
Path
200
65001
?
*>
172.16.103.0/24
None
192.168.202.1
Only
Path
200
65001
?
*>
172.16.101.0/24
None
192.168.202.1
Only
Path
200
65001
?
*>
10.0.0.2/32
None
192.168.202.1
Only
Path
200
65001
?
*>
192.168.0.0/24
None
192.168.202.1
Only
Path
200
65001
?
*>
192.168.102.0/24
None
172.16.202.1
Only
Path
100
i
*>
192.168.101.1/32
None
172.16.202.1
Only
Path
100
i
*>
172.16.202.101/32
None
172.16.202.1
Only
Path
100
i
*>
172.16.201.101/32
None
172.16.202.1
Only
Path
100
i
192.168.201.0/24
192.168.202.0/24
172.16.203.0/24
172.16.201.0/24
172.16.202.0/24
18
- 19. Quagga
1
Quagga
2
OVS1
OVS2
192.168.100.1/24
OVS3
Quagga
3
192.168.101.1/24
Down
Show_rib_ipv4 in OVS3
Status
codes:
*
valid,
>
best
Origin
codes:
i
-
IGP,
e
-
EGP,
?
-
incomplete
Network
Labels
Next
Hop
Reason
Metric
LocPrf
Path
*>
192.168.100.0/24
None
172.16.202.101
Only
Path
200
100
65001
?
*>
172.16.202.101/32
None
0.0.0.0
Only
Path
i
*>
172.16.102.0/24
None
172.16.202.101
Only
Path
200
100
65001
?
*>
192.168.102.0/24
None
192.168.101.1
Only
Path
i
*>
172.16.201.101/32
None
0.0.0.0
Only
Path
i
*>
192.168.101.1/32
None
0.0.0.0
Only
Path
i
*>
0.0.0.0/0
None
172.16.202.101
Only
Path
200
100
65001
?
*>
172.16.101.0/24
None
172.16.202.101
Only
Path
200
100
65001
?
*>
192.168.201.0/24
None
172.16.202.101
Only
Path
200
100
65001
?
*>
192.168.0.0/24
None
172.16.202.101
Only
Path
200
100
65001
?
*>
172.16.104.0/24
None
172.16.202.101
Only
Path
200
100
65001
?
*>
10.0.0.1/32
None
172.16.202.101
Only
Path
200
100
65001
?
*>
10.0.0.2/32
None
172.16.202.101
Only
Path
200
100
65001
?
*>
172.16.103.0/24
None
172.16.202.101
Only
Path
200
100
65001
?
*>
192.168.202.0/24
None
172.16.202.101
Only
Path
200
100
65001
?
192.168.201.0/24
192.168.202.0/24
172.16.203.0/24
172.16.201.0/24
172.16.202.0/24
19