2185 lines
61 KiB
JSON
2185 lines
61 KiB
JSON
{
|
|
"EduNetworkBuilder": {
|
|
"Network": {
|
|
"en_message": "Packets that go through a VPN are \"encapsulated.\" This means that they are packed up and put inside a VPN packet. A traceroute packet has a \"TTL\" (Time to Live). Every router along the path is supposed to subtract one from theTTL, and when the TTL is zero, the device that has it will drop the traceroute packet and respond to the originating machine.\n\nAs you do the traceroutes, notice that the router in the center never responds to the traceroute. That is because the traceroute packet is encapsulated. The \"outside\" packet has a normal TTL, and so the router in the middle never drops the packet. But, the firewall in the middle decrypts the packet, processes it, and sends it on. That firewill will respond to the traceroute.",
|
|
"fr_message": "Les paquets qui passent par un VPN sont \"encapsulés\". Cela signifie qu'ils sont emballés et placés dans un paquet VPN. Un paquet traceroute a un \"TTL\" (Time to Live). Chaque routeur le long du chemin est censé soustraire un du TTL, et quand le TTL est zéro, le périphérique qui l'a fait tomber le paquet traceroute et répondre à la machine d'origine.\n\nLorsque vous effectuez les traceroutes, notez que le routeur au centre ne répond jamais au traceroute. C'est parce que le paquet traceroute est encapsulé. Le paquet \"extérieur\" a un TTL normal, et donc le routeur au milieu ne fait jamais tomber le paquet. Mais, le pare-feu au milieu déchiffre le paquet, le traite et l'envoie. Ce feu répondra au traceroute.",
|
|
"en_title": "VPNs and traceroute",
|
|
"height": "1024",
|
|
"width": "1024",
|
|
"itemsize": "100",
|
|
"showlabels": "full",
|
|
"level": "2",
|
|
"sortorder": "1.5",
|
|
"uniqueidentifier": "186",
|
|
"startinghelplevel": "full",
|
|
"vlansenabled": "True",
|
|
"VLANPacketColors": "False",
|
|
"device": [
|
|
{
|
|
"hostname": "firewall0",
|
|
"size": "100",
|
|
"uniqueidentifier": "100",
|
|
"location": "180,510",
|
|
"mytype": "firewall",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "192.168.5.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "100",
|
|
"nicid": "101",
|
|
"hostname": "firewall0",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "101",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"wan",
|
|
"wan"
|
|
],
|
|
"nicname": "wan0",
|
|
"myid": {
|
|
"hostid": "100",
|
|
"nicid": "104",
|
|
"hostname": "firewall0",
|
|
"nicname": "wan0"
|
|
},
|
|
"uniqueidentifier": "104",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "wan0",
|
|
"myip": {
|
|
"ip": "192.168.5.2",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "100",
|
|
"nicid": "102",
|
|
"hostname": "firewall0",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "102",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.1.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth1",
|
|
"myid": {
|
|
"hostid": "100",
|
|
"nicid": "103",
|
|
"hostname": "firewall0",
|
|
"nicname": "eth1"
|
|
},
|
|
"uniqueidentifier": "103",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth1",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"vpn",
|
|
"vpn"
|
|
],
|
|
"nicname": "vpn0",
|
|
"myid": {
|
|
"hostid": "100",
|
|
"nicid": "157",
|
|
"hostname": "firewall0",
|
|
"nicname": "vpn0"
|
|
},
|
|
"uniqueidentifier": "157",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": "Test",
|
|
"tunnelendpoint": {
|
|
"ip": "192.168.6.2",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip_only"
|
|
},
|
|
"interface": {
|
|
"nicname": "vpn0",
|
|
"myip": {
|
|
"ip": "192.168.50.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"vpn",
|
|
"vpn"
|
|
],
|
|
"nicname": "vpn1",
|
|
"myid": {
|
|
"hostid": "100",
|
|
"nicid": "184",
|
|
"hostname": "firewall0",
|
|
"nicname": "vpn1"
|
|
},
|
|
"uniqueidentifier": "184",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": "Secondary",
|
|
"tunnelendpoint": {
|
|
"ip": "192.168.7.2",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip_only"
|
|
},
|
|
"interface": {
|
|
"nicname": "vpn1",
|
|
"myip": {
|
|
"ip": "192.168.51.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"route": [
|
|
{
|
|
"ip": "192.168.2.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "192.168.50.2",
|
|
"type": "route"
|
|
},
|
|
{
|
|
"ip": "192.168.3.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "192.168.51.2",
|
|
"type": "route"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "firewall1",
|
|
"size": "100",
|
|
"uniqueidentifier": "105",
|
|
"location": "700,510",
|
|
"mytype": "firewall",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "192.168.6.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "105",
|
|
"nicid": "106",
|
|
"hostname": "firewall1",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "106",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"wan",
|
|
"wan"
|
|
],
|
|
"nicname": "wan0",
|
|
"myid": {
|
|
"hostid": "105",
|
|
"nicid": "109",
|
|
"hostname": "firewall1",
|
|
"nicname": "wan0"
|
|
},
|
|
"uniqueidentifier": "109",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "wan0",
|
|
"myip": {
|
|
"ip": "192.168.6.2",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "105",
|
|
"nicid": "107",
|
|
"hostname": "firewall1",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "107",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.2.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth1",
|
|
"myid": {
|
|
"hostid": "105",
|
|
"nicid": "108",
|
|
"hostname": "firewall1",
|
|
"nicname": "eth1"
|
|
},
|
|
"uniqueidentifier": "108",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth1",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"vpn",
|
|
"vpn"
|
|
],
|
|
"nicname": "vpn0",
|
|
"myid": {
|
|
"hostid": "105",
|
|
"nicid": "156",
|
|
"hostname": "firewall1",
|
|
"nicname": "vpn0"
|
|
},
|
|
"uniqueidentifier": "156",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": "Test",
|
|
"tunnelendpoint": {
|
|
"ip": "192.168.5.2",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip_only"
|
|
},
|
|
"interface": {
|
|
"nicname": "vpn0",
|
|
"myip": {
|
|
"ip": "192.168.50.2",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"route": [
|
|
{
|
|
"ip": "192.168.1.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "192.168.50.1",
|
|
"type": "route"
|
|
},
|
|
{
|
|
"ip": "192.168.3.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "192.168.50.1",
|
|
"type": "route"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "firewall2",
|
|
"size": "100",
|
|
"uniqueidentifier": "158",
|
|
"location": "430,230",
|
|
"mytype": "firewall",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "192.168.7.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "158",
|
|
"nicid": "159",
|
|
"hostname": "firewall2",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "159",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"wan",
|
|
"wan"
|
|
],
|
|
"nicname": "wan0",
|
|
"myid": {
|
|
"hostid": "158",
|
|
"nicid": "162",
|
|
"hostname": "firewall2",
|
|
"nicname": "wan0"
|
|
},
|
|
"uniqueidentifier": "162",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "wan0",
|
|
"myip": {
|
|
"ip": "192.168.7.2",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "158",
|
|
"nicid": "160",
|
|
"hostname": "firewall2",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "160",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.3.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth1",
|
|
"myid": {
|
|
"hostid": "158",
|
|
"nicid": "161",
|
|
"hostname": "firewall2",
|
|
"nicname": "eth1"
|
|
},
|
|
"uniqueidentifier": "161",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth1",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"vpn",
|
|
"vpn"
|
|
],
|
|
"nicname": "vpn0",
|
|
"myid": {
|
|
"hostid": "158",
|
|
"nicid": "185",
|
|
"hostname": "firewall2",
|
|
"nicname": "vpn0"
|
|
},
|
|
"uniqueidentifier": "185",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": "Secondary",
|
|
"tunnelendpoint": {
|
|
"ip": "192.168.5.2",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip_only"
|
|
},
|
|
"interface": {
|
|
"nicname": "vpn0",
|
|
"myip": {
|
|
"ip": "192.168.51.2",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"route": [
|
|
{
|
|
"ip": "192.168.1.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "192.168.51.1",
|
|
"type": "route"
|
|
},
|
|
{
|
|
"ip": "192.168.2.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "192.168.51.1",
|
|
"type": "route"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "laptop0",
|
|
"size": "100",
|
|
"uniqueidentifier": "140",
|
|
"location": "280,830",
|
|
"mytype": "laptop",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "192.168.1.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "140",
|
|
"nicid": "141",
|
|
"hostname": "laptop0",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "141",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "140",
|
|
"nicid": "142",
|
|
"hostname": "laptop0",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "142",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.1.3",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "laptop1",
|
|
"size": "100",
|
|
"uniqueidentifier": "143",
|
|
"location": "800,850",
|
|
"mytype": "laptop",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "192.168.2.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "143",
|
|
"nicid": "144",
|
|
"hostname": "laptop1",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "144",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "143",
|
|
"nicid": "145",
|
|
"hostname": "laptop1",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "145",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.2.3",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "laptop2",
|
|
"size": "100",
|
|
"uniqueidentifier": "176",
|
|
"location": "570,0",
|
|
"mytype": "laptop",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "192.168.3.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "176",
|
|
"nicid": "177",
|
|
"hostname": "laptop2",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "177",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "176",
|
|
"nicid": "178",
|
|
"hostname": "laptop2",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "178",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.3.3",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "net_switch0",
|
|
"size": "100",
|
|
"uniqueidentifier": "114",
|
|
"location": "180,670",
|
|
"mytype": "net_switch",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "114",
|
|
"nicid": "115",
|
|
"hostname": "net_switch0",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "115",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"management_interface",
|
|
"management_interface"
|
|
],
|
|
"nicname": "management_interface0",
|
|
"myid": {
|
|
"hostid": "114",
|
|
"nicid": "116",
|
|
"hostname": "net_switch0",
|
|
"nicname": "management_interface0"
|
|
},
|
|
"uniqueidentifier": "116",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "management_interface0",
|
|
"myip": {
|
|
"ip": "192.168.1.4",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port1",
|
|
"myid": {
|
|
"hostid": "114",
|
|
"nicid": "117",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port1"
|
|
},
|
|
"uniqueidentifier": "117",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port1",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port2",
|
|
"myid": {
|
|
"hostid": "114",
|
|
"nicid": "118",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port2"
|
|
},
|
|
"uniqueidentifier": "118",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port2",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port3",
|
|
"myid": {
|
|
"hostid": "114",
|
|
"nicid": "119",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port3"
|
|
},
|
|
"uniqueidentifier": "119",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port3",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port4",
|
|
"myid": {
|
|
"hostid": "114",
|
|
"nicid": "120",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port4"
|
|
},
|
|
"uniqueidentifier": "120",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port4",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port5",
|
|
"myid": {
|
|
"hostid": "114",
|
|
"nicid": "121",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port5"
|
|
},
|
|
"uniqueidentifier": "121",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port5",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port6",
|
|
"myid": {
|
|
"hostid": "114",
|
|
"nicid": "122",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port6"
|
|
},
|
|
"uniqueidentifier": "122",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port6",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port7",
|
|
"myid": {
|
|
"hostid": "114",
|
|
"nicid": "123",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port7"
|
|
},
|
|
"uniqueidentifier": "123",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port7",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "net_switch1",
|
|
"size": "100",
|
|
"uniqueidentifier": "124",
|
|
"location": "700,690",
|
|
"mytype": "net_switch",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "192.168.2.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "124",
|
|
"nicid": "125",
|
|
"hostname": "net_switch1",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "125",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"management_interface",
|
|
"management_interface"
|
|
],
|
|
"nicname": "management_interface0",
|
|
"myid": {
|
|
"hostid": "124",
|
|
"nicid": "126",
|
|
"hostname": "net_switch1",
|
|
"nicname": "management_interface0"
|
|
},
|
|
"uniqueidentifier": "126",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "management_interface0",
|
|
"myip": {
|
|
"ip": "192.168.2.4",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port1",
|
|
"myid": {
|
|
"hostid": "124",
|
|
"nicid": "127",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port1"
|
|
},
|
|
"uniqueidentifier": "127",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port1",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port2",
|
|
"myid": {
|
|
"hostid": "124",
|
|
"nicid": "128",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port2"
|
|
},
|
|
"uniqueidentifier": "128",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port2",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port3",
|
|
"myid": {
|
|
"hostid": "124",
|
|
"nicid": "129",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port3"
|
|
},
|
|
"uniqueidentifier": "129",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port3",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port4",
|
|
"myid": {
|
|
"hostid": "124",
|
|
"nicid": "130",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port4"
|
|
},
|
|
"uniqueidentifier": "130",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port4",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port5",
|
|
"myid": {
|
|
"hostid": "124",
|
|
"nicid": "131",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port5"
|
|
},
|
|
"uniqueidentifier": "131",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port5",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port6",
|
|
"myid": {
|
|
"hostid": "124",
|
|
"nicid": "132",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port6"
|
|
},
|
|
"uniqueidentifier": "132",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port6",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port7",
|
|
"myid": {
|
|
"hostid": "124",
|
|
"nicid": "133",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port7"
|
|
},
|
|
"uniqueidentifier": "133",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port7",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "net_switch2",
|
|
"size": "100",
|
|
"uniqueidentifier": "163",
|
|
"location": "430,80",
|
|
"mytype": "net_switch",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "192.168.3.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "163",
|
|
"nicid": "164",
|
|
"hostname": "net_switch2",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "164",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"management_interface",
|
|
"management_interface"
|
|
],
|
|
"nicname": "management_interface0",
|
|
"myid": {
|
|
"hostid": "163",
|
|
"nicid": "165",
|
|
"hostname": "net_switch2",
|
|
"nicname": "management_interface0"
|
|
},
|
|
"uniqueidentifier": "165",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "management_interface0",
|
|
"myip": {
|
|
"ip": "192.168.3.4",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port1",
|
|
"myid": {
|
|
"hostid": "163",
|
|
"nicid": "166",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port1"
|
|
},
|
|
"uniqueidentifier": "166",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port1",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port2",
|
|
"myid": {
|
|
"hostid": "163",
|
|
"nicid": "167",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port2"
|
|
},
|
|
"uniqueidentifier": "167",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port2",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port3",
|
|
"myid": {
|
|
"hostid": "163",
|
|
"nicid": "168",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port3"
|
|
},
|
|
"uniqueidentifier": "168",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port3",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port4",
|
|
"myid": {
|
|
"hostid": "163",
|
|
"nicid": "169",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port4"
|
|
},
|
|
"uniqueidentifier": "169",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port4",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port5",
|
|
"myid": {
|
|
"hostid": "163",
|
|
"nicid": "170",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port5"
|
|
},
|
|
"uniqueidentifier": "170",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port5",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port6",
|
|
"myid": {
|
|
"hostid": "163",
|
|
"nicid": "171",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port6"
|
|
},
|
|
"uniqueidentifier": "171",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port6",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port7",
|
|
"myid": {
|
|
"hostid": "163",
|
|
"nicid": "172",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port7"
|
|
},
|
|
"uniqueidentifier": "172",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port7",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "pc0",
|
|
"size": "100",
|
|
"uniqueidentifier": "134",
|
|
"location": "90,830",
|
|
"mytype": "pc",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "192.168.1.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "134",
|
|
"nicid": "135",
|
|
"hostname": "pc0",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "135",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "134",
|
|
"nicid": "136",
|
|
"hostname": "pc0",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "136",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.1.2",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "pc1",
|
|
"size": "100",
|
|
"uniqueidentifier": "137",
|
|
"location": "600,850",
|
|
"mytype": "pc",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "192.168.2.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "137",
|
|
"nicid": "138",
|
|
"hostname": "pc1",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "138",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "137",
|
|
"nicid": "139",
|
|
"hostname": "pc1",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "139",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.2.2",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "pc2",
|
|
"size": "100",
|
|
"uniqueidentifier": "173",
|
|
"location": "260,10",
|
|
"mytype": "pc",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "192.168.3.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "173",
|
|
"nicid": "174",
|
|
"hostname": "pc2",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "174",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "173",
|
|
"nicid": "175",
|
|
"hostname": "pc2",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "175",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.3.2",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "router0",
|
|
"size": "100",
|
|
"uniqueidentifier": "110",
|
|
"location": "430,410",
|
|
"mytype": "router",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "110",
|
|
"nicid": "111",
|
|
"hostname": "router0",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "111",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "110",
|
|
"nicid": "112",
|
|
"hostname": "router0",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "112",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.6.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth1",
|
|
"myid": {
|
|
"hostid": "110",
|
|
"nicid": "113",
|
|
"hostname": "router0",
|
|
"nicname": "eth1"
|
|
},
|
|
"uniqueidentifier": "113",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth1",
|
|
"myip": {
|
|
"ip": "192.168.5.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth2",
|
|
"myid": {
|
|
"hostid": "110",
|
|
"nicid": "182",
|
|
"hostname": "router0",
|
|
"nicname": "eth2"
|
|
},
|
|
"uniqueidentifier": "182",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth2",
|
|
"myip": {
|
|
"ip": "192.168.7.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"link": [
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "140",
|
|
"nicid": "142",
|
|
"hostname": "laptop0",
|
|
"nicname": "eth0"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "114",
|
|
"nicid": "118",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port2"
|
|
},
|
|
"hostname": "laptop0_link_net_switch0",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "147"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "163",
|
|
"nicid": "166",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port1"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "173",
|
|
"nicid": "175",
|
|
"hostname": "pc2",
|
|
"nicname": "eth0"
|
|
},
|
|
"hostname": "net_switch2_link_pc2",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "179"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "134",
|
|
"nicid": "136",
|
|
"hostname": "pc0",
|
|
"nicname": "eth0"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "114",
|
|
"nicid": "117",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port1"
|
|
},
|
|
"hostname": "pc0_link_net_switch0",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "146"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "137",
|
|
"nicid": "139",
|
|
"hostname": "pc1",
|
|
"nicname": "eth0"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "124",
|
|
"nicid": "127",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port1"
|
|
},
|
|
"hostname": "pc1_link_net_switch1",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "149"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "143",
|
|
"nicid": "145",
|
|
"hostname": "laptop1",
|
|
"nicname": "eth0"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "124",
|
|
"nicid": "128",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port2"
|
|
},
|
|
"hostname": "laptop1_link_net_switch1",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "150"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "158",
|
|
"nicid": "160",
|
|
"hostname": "firewall2",
|
|
"nicname": "eth0"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "163",
|
|
"nicid": "168",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port3"
|
|
},
|
|
"hostname": "firewall2_link_net_switch2",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "181"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "105",
|
|
"nicid": "109",
|
|
"hostname": "firewall1",
|
|
"nicname": "wan0"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "110",
|
|
"nicid": "112",
|
|
"hostname": "router0",
|
|
"nicname": "eth0"
|
|
},
|
|
"hostname": "firewall1_link_router0",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "153"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "114",
|
|
"nicid": "119",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port3"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "100",
|
|
"nicid": "102",
|
|
"hostname": "firewall0",
|
|
"nicname": "eth0"
|
|
},
|
|
"hostname": "net_switch0_link_firewall0",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "154"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "100",
|
|
"nicid": "104",
|
|
"hostname": "firewall0",
|
|
"nicname": "wan0"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "110",
|
|
"nicid": "113",
|
|
"hostname": "router0",
|
|
"nicname": "eth1"
|
|
},
|
|
"hostname": "firewall0_link_router0",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "155"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "124",
|
|
"nicid": "129",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port3"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "105",
|
|
"nicid": "107",
|
|
"hostname": "firewall1",
|
|
"nicname": "eth0"
|
|
},
|
|
"hostname": "net_switch1_link_firewall1",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "152"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "163",
|
|
"nicid": "167",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port2"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "176",
|
|
"nicid": "178",
|
|
"hostname": "laptop2",
|
|
"nicname": "eth0"
|
|
},
|
|
"hostname": "net_switch2_link_laptop2",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "180"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "158",
|
|
"nicid": "162",
|
|
"hostname": "firewall2",
|
|
"nicname": "wan0"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "110",
|
|
"nicid": "182",
|
|
"hostname": "router0",
|
|
"nicname": "eth2"
|
|
},
|
|
"hostname": "firewall2_link_router0",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "183"
|
|
}
|
|
],
|
|
"nettest": {
|
|
"shost": "pc1",
|
|
"dhost": "pc2",
|
|
"thetest": "SuccessfullyTraceroutes"
|
|
},
|
|
"tag": [
|
|
"VPN",
|
|
"Traceroute"
|
|
],
|
|
"VLANName": {
|
|
"@ID": "1",
|
|
"@Color": "Blue",
|
|
"#text": "Default"
|
|
}
|
|
}
|
|
}
|
|
}
|