Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@doggy8088
Created June 9, 2019 09:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doggy8088/11591c94610cd3ed5dbe2c1376c5bfcc to your computer and use it in GitHub Desktop.
Save doggy8088/11591c94610cd3ed5dbe2c1376c5bfcc to your computer and use it in GitHub Desktop.
hnsdiag list networks F7671C98-53F0-419C-BC1F-2C269F3E9B86 -dl
{
"ID": "f7671c98-53f0-419c-bc1f-2c269f3e9b86",
"Name": "nat",
"Version": 42949672963,
"Health": {
"Extra": {
"Resources": {
"AdditionalParams": {},
"AllocationOrder": 2,
"Allocators": [
{
"AdapterNetCfgInstanceId": "{1B49B80E-0EA5-4B25-8DE9-945096A1D46A}",
"AdditionalParams": {},
"AllocationOrder": 0,
"CompartmendId": 0,
"Connected": true,
"DNSFirewallRules": true,
"DevicelessNic": false,
"DhcpDisabled": true,
"EndpointNicGuid": "869248C1-5DF6-4614-9253-BEA87F4DA966",
"EndpointPortGuid": "B2D484F4-FD4E-4324-8C94-03E04A988615",
"Flags": 0,
"Health": {
"LastErrorCode": 0,
"LastUpdateTime": 132045453437133730
},
"ID": "ACDAB362-DC8A-4F08-B8CC-46CF8F35D080",
"InterfaceGuid": "1B49B80E-0EA5-4B25-8DE9-945096A1D46A",
"IsPolicy": false,
"IsolationId": 0,
"MacAddress": "00-15-5D-73-A9-DE",
"ManagementPort": true,
"NcfHidden": false,
"NicFriendlyName": "nat",
"NlmHidden": true,
"PreferredPortFriendlyName": "Container NIC acdab362",
"State": 3,
"SwitchId": "C08CB7B8-9B3C-408E-8E30-5E16A3AEB444",
"Tag": "Host Vnic",
"WaitForIpv6Interface": false,
"nonPersistentPort": false
},
{
"AdditionalParams": {},
"AllocationOrder": 1,
"Flags": 0,
"Health": {
"LastErrorCode": 0,
"LastUpdateTime": 132045453742042740,
"NATState": 2
},
"ID": "F78431EE-A276-40E7-A20D-50EADFB7411D",
"IsPolicy": false,
"Prefix": 20,
"PrivateInterfaceGUID": "1B49B80E-0EA5-4B25-8DE9-945096A1D46A",
"State": 3,
"SubnetIPAddress": "172.29.0.0",
"Tag": "NAT"
}
],
"CompartmentOperationTime": 0,
"Flags": 0,
"Health": {
"LastErrorCode": 0,
"LastUpdateTime": 132045453436977570
},
"ID": "11D2460C-7A2B-4480-92E2-E0E127DBB737",
"PortOperationTime": 0,
"State": 1,
"SwitchOperationTime": 0,
"VfpOperationTime": 0,
"parentId": "93417436-68CC-436F-8991-B07C439CA0A4"
},
"LayeredOn": "c1394552-a3d9-4b84-80c8-c0491eabd654"
}
},
"SchemaVersion": {
"Major": 2,
"Minor": 0
},
"State": 1,
"Policies": [
{
"Type": "VSwitchExtension",
"Settings": {
"ExtensionID": "e7c3b2f0-f3c5-48df-af2b-10fed6d72e7a"
}
},
{
"Type": "VSwitchExtension",
"Settings": {
"ExtensionID": "e9b59cfa-2be1-4b21-828f-b6fbdbddc017"
}
},
{
"Type": "VSwitchExtension",
"Settings": {
"ExtensionID": "ea24cd6c-d17a-4348-9190-09f0d5be83dd"
}
}
],
"MacPool": {
"Ranges": [
{
"StartMacAddress": "00-15-5D-73-A0-00",
"EndMacAddress": "00-15-5D-73-AF-FF"
}
]
},
"Ipams": [
{
"Subnets": [
{
"IpAddressPrefix": "172.29.0.0/20",
"Routes": [
{
"NextHop": "172.29.0.1",
"DestinationPrefix": "0.0.0.0/0"
}
]
}
]
}
],
"Flags": 8
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment