Skip to content

Instantly share code, notes, and snippets.

@tas50
Created December 17, 2015 01:15
Show Gist options
  • Save tas50/d58d2ba2bb6701e758de to your computer and use it in GitHub Desktop.
Save tas50/d58d2ba2bb6701e758de to your computer and use it in GitHub Desktop.
Hybrid stack output
"counters": {
"network": {
"interfaces": {
"eth1": {
"rx": {
"bytes": "346367346",
"drop": "0",
"errors": "0",
"overrun": "0",
"packets": "340814"
},
"tx": {
"bytes": "6549359",
"carrier": "0",
"collisions": "0",
"drop": "0",
"errors": "0",
"packets": "108630",
"queuelen": "1000"
}
},
"lo": {
"rx": {
"bytes": "0",
"drop": "0",
"errors": "0",
"overrun": "0",
"packets": "0"
},
"tx": {
"bytes": "0",
"carrier": "0",
"collisions": "0",
"drop": "0",
"errors": "0",
"packets": "0"
}
}
}
}
},
"ip6address": "fe80::a00:27ff:fe7c:7b6d",
"ipaddress": "10.0.2.15",
"macaddress": "08:00:27:7C:7B:6D",
"network": {
"default_gateway": "10.0.2.2",
"default_interface": "eth1",
"interfaces": {
"eth1": {
"addresses": {
"08:00:27:7C:7B:6D": {
"family": "lladdr"
},
"10.0.2.15": {
"broadcast": "10.0.2.255",
"family": "inet",
"netmask": "255.255.255.0",
"prefixlen": "24",
"scope": "Global"
},
"fe80::a00:27ff:fe7c:7b6d": {
"family": "inet6",
"prefixlen": "64",
"scope": "Link"
}
},
"arp": {
"10.0.2.2": "52:54:00:12:35:02"
},
"encapsulation": "Ethernet",
"flags": [
"BROADCAST",
"MULTICAST",
"UP",
"LOWER_UP"
],
"mtu": "1500",
"number": "1",
"routes": [
{
"destination": "10.0.2.0/24",
"family": "inet",
"scope": "link",
"proto": "kernel",
"src": "10.0.2.15"
},
{
"destination": "default",
"family": "inet",
"via": "10.0.2.2"
},
{
"destination": "fe80::/64",
"family": "inet6",
"metric": "256",
"proto": "kernel"
}
],
"state": "up",
"type": "eth"
},
"lo": {
"addresses": {
"127.0.0.1": {
"family": "inet",
"netmask": "255.0.0.0",
"prefixlen": "8",
"scope": "Node"
},
"::1": {
"family": "inet6",
"prefixlen": "128",
"scope": "Node"
}
},
"encapsulation": "Loopback",
"flags": [
"LOOPBACK",
"UP",
"LOWER_UP"
],
"mtu": "65536",
"routes": [
{
"destination": "unreachable",
"family": "inet6",
"metric": "1024"
},
{
"destination": "unreachable",
"family": "inet6",
"metric": "1024"
},
{
"destination": "unreachable",
"family": "inet6",
"metric": "1024"
},
{
"destination": "unreachable",
"family": "inet6",
"metric": "1024"
},
{
"destination": "unreachable",
"family": "inet6",
"metric": "1024"
},
{
"destination": "unreachable",
"family": "inet6",
"metric": "1024"
},
{
"destination": "unreachable",
"family": "inet6",
"metric": "1024"
},
{
"destination": "unreachable",
"family": "inet6",
"metric": "1024"
},
{
"destination": "unreachable",
"family": "inet6",
"metric": "1024"
}
],
"state": "unknown"
}
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment