mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 04:33:00 +02:00
208 lines
3.6 KiB
JSON
208 lines
3.6 KiB
JSON
[
|
|
{
|
|
"type": "unicast",
|
|
"dst": "10.0.0.1",
|
|
"nhid": 33,
|
|
"gateway": "10.0.13.1",
|
|
"dev": "eth3",
|
|
"protocol": "ospf",
|
|
"scope": "global",
|
|
"metric": 20,
|
|
"flags": [],
|
|
"nh_info": {
|
|
"id": 33,
|
|
"gateway": "10.0.13.1",
|
|
"dev": "eth3",
|
|
"scope": "link",
|
|
"protocol": "zebra",
|
|
"flags": []
|
|
}
|
|
},
|
|
{
|
|
"type": "unicast",
|
|
"dst": "10.0.0.2",
|
|
"nhid": 34,
|
|
"gateway": "10.0.23.1",
|
|
"dev": "eth4",
|
|
"protocol": "ospf",
|
|
"scope": "global",
|
|
"metric": 20,
|
|
"flags": [],
|
|
"nh_info": {
|
|
"id": 34,
|
|
"gateway": "10.0.23.1",
|
|
"dev": "eth4",
|
|
"scope": "link",
|
|
"protocol": "zebra",
|
|
"flags": []
|
|
}
|
|
},
|
|
{
|
|
"type": "unicast",
|
|
"dst": "10.0.0.4",
|
|
"nhid": 35,
|
|
"protocol": "ospf",
|
|
"scope": "global",
|
|
"metric": 20,
|
|
"flags": [],
|
|
"nh_info": {
|
|
"id": 35,
|
|
"group": [
|
|
{
|
|
"id": 33
|
|
},
|
|
{
|
|
"id": 34
|
|
}
|
|
],
|
|
"scope": "global",
|
|
"protocol": "zebra",
|
|
"flags": []
|
|
},
|
|
"nexthops": [
|
|
{
|
|
"gateway": "10.0.13.1",
|
|
"dev": "eth3",
|
|
"weight": 1,
|
|
"flags": []
|
|
},
|
|
{
|
|
"gateway": "10.0.23.1",
|
|
"dev": "eth4",
|
|
"weight": 1,
|
|
"flags": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "unicast",
|
|
"dst": "10.0.12.0/30",
|
|
"nhid": 35,
|
|
"protocol": "ospf",
|
|
"scope": "global",
|
|
"metric": 20,
|
|
"flags": [],
|
|
"nh_info": {
|
|
"id": 35,
|
|
"group": [
|
|
{
|
|
"id": 33
|
|
},
|
|
{
|
|
"id": 34
|
|
}
|
|
],
|
|
"scope": "global",
|
|
"protocol": "zebra",
|
|
"flags": []
|
|
},
|
|
"nexthops": [
|
|
{
|
|
"gateway": "10.0.13.1",
|
|
"dev": "eth3",
|
|
"weight": 1,
|
|
"flags": []
|
|
},
|
|
{
|
|
"gateway": "10.0.23.1",
|
|
"dev": "eth4",
|
|
"weight": 1,
|
|
"flags": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "unicast",
|
|
"dst": "10.0.13.0/30",
|
|
"dev": "eth3",
|
|
"protocol": "kernel",
|
|
"scope": "link",
|
|
"prefsrc": "10.0.13.2",
|
|
"flags": []
|
|
},
|
|
{
|
|
"type": "unicast",
|
|
"dst": "10.0.23.0/30",
|
|
"dev": "eth4",
|
|
"protocol": "kernel",
|
|
"scope": "link",
|
|
"prefsrc": "10.0.23.2",
|
|
"flags": []
|
|
},
|
|
{
|
|
"type": "unicast",
|
|
"dst": "10.0.24.0/30",
|
|
"nhid": 34,
|
|
"gateway": "10.0.23.1",
|
|
"dev": "eth4",
|
|
"protocol": "ospf",
|
|
"scope": "global",
|
|
"metric": 20,
|
|
"flags": [],
|
|
"nh_info": {
|
|
"id": 34,
|
|
"gateway": "10.0.23.1",
|
|
"dev": "eth4",
|
|
"scope": "link",
|
|
"protocol": "zebra",
|
|
"flags": []
|
|
}
|
|
},
|
|
{
|
|
"type": "unicast",
|
|
"dst": "10.0.41.0/30",
|
|
"nhid": 33,
|
|
"gateway": "10.0.13.1",
|
|
"dev": "eth3",
|
|
"protocol": "ospf",
|
|
"scope": "global",
|
|
"metric": 20,
|
|
"flags": [],
|
|
"nh_info": {
|
|
"id": 33,
|
|
"gateway": "10.0.13.1",
|
|
"dev": "eth3",
|
|
"scope": "link",
|
|
"protocol": "zebra",
|
|
"flags": []
|
|
}
|
|
},
|
|
{
|
|
"type": "unicast",
|
|
"dst": "192.168.4.0/24",
|
|
"nhid": 35,
|
|
"protocol": "ospf",
|
|
"scope": "global",
|
|
"metric": 20,
|
|
"flags": [],
|
|
"nh_info": {
|
|
"id": 35,
|
|
"group": [
|
|
{
|
|
"id": 33
|
|
},
|
|
{
|
|
"id": 34
|
|
}
|
|
],
|
|
"scope": "global",
|
|
"protocol": "zebra",
|
|
"flags": []
|
|
},
|
|
"nexthops": [
|
|
{
|
|
"gateway": "10.0.13.1",
|
|
"dev": "eth3",
|
|
"weight": 1,
|
|
"flags": []
|
|
},
|
|
{
|
|
"gateway": "10.0.23.1",
|
|
"dev": "eth4",
|
|
"weight": 1,
|
|
"flags": []
|
|
}
|
|
]
|
|
}
|
|
]
|