-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnet2.json
51 lines (43 loc) · 1004 Bytes
/
net2.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"description" : "Topology #1: 3 IPv4 subnets",
"endpoint" :{ "hostname" : "H1" ,"netifs" :{
"peer" : "veth0@R1",
"address" : "10.0.1.1/24" ,
"ifname" : "veth0"
},
"route" : {"address" : "any", "gw" : "10.0.1.2"}
},
"router" : {
"hostname" : "R1" ,
"route" : {"address" : "10.0.3.0/24", "gw" : "10.0.2.2"},
"netifs" : [
{
"address" : "10.0.1.2/24", "ifname": "veth0",
"peer" : "veth0@H1"
},
{
"ifname": "veth1", "peer" : "veth0@R2", "address" : "10.0.2.1/24"
}
]
},
"router" : {
"hostname" : "R2" ,
"route" : {"address" : "10.0.1.0/24", "gw" : "10.0.2.1"},
"netifs" : [
{
"address" : "10.0.2.2/24", "ifname": "veth0",
"peer" : "veth1@R1"
},
{
"ifname": "veth1", "peer" : "veth0@H2", "address" : "10.0.3.1/24"
}
]
},
"endpoint" :{ "hostname" : "H2" ,"netifs" :{
"ifname" : "veth0",
"peer" : "veth1@R2",
"address" : "10.0.3.2/24"
},
"route" : {"address" : "any", "gw" : "10.0.3.1"}
}
}