Skip to content

Instantly share code, notes, and snippets.

@starbops
Created August 14, 2025 09:04
Show Gist options
  • Save starbops/b08ceb20d0b7de9e0aadafda6763af2a to your computer and use it in GitHub Desktop.
Save starbops/b08ceb20d0b7de9e0aadafda6763af2a to your computer and use it in GitHub Desktop.
{
"interfaces": [
{
"name": "lo",
"index": 1,
"type": "device",
"state": "unknown",
"mtu": 65536,
"ethtool": {
"feature": {
"tx-checksum": true
}
},
"IPv4": {
"enabled": true,
"address": [
{
"IP": "127.0.0.1",
"prefix-length": 8
}
]
},
"IPv6": {
"enabled": true,
"address": [
{
"IP": "::1",
"prefix-length": 128
}
]
},
"linux-stack": {
"ip4-route-local-net": false,
"port-learning": false
},
"Metadata": null
},
{
"name": "eth0",
"index": 2,
"type": "veth",
"state": "up",
"mac-address": "32:4e:5a:8b:87:70",
"mtu": 1450,
"ethtool": {
"feature": {
"tx-checksum": true
}
},
"IPv4": {
"enabled": true,
"address": [
{
"IP": "10.52.1.58",
"prefix-length": 32
}
]
},
"IPv6": {
"enabled": true,
"address": [
{
"IP": "fe80::304e:5aff:fe8b:8770",
"prefix-length": 64
}
]
},
"linux-stack": {
"ip4-route-local-net": false,
"port-learning": false
},
"Metadata": null
},
{
"name": "pod37a8eec1ce1",
"index": 82,
"type": "veth",
"state": "up",
"mac-address": "0e:08:1d:c0:65:7c",
"mtu": 1450,
"ethtool": {
"feature": {
"tx-checksum": true
}
},
"IPv4": {
"enabled": true,
"address": [
{
"IP": "172.20.0.2",
"prefix-length": 24
}
]
},
"IPv6": {
"enabled": true,
"address": [
{
"IP": "fe80::c08:1dff:fec0:657c",
"prefix-length": 64
}
]
},
"linux-stack": {
"ip4-route-local-net": false,
"port-learning": false
},
"Metadata": null
}
],
"routes": {
"running": [
{
"destination": "0.0.0.0/0",
"next-hop-interface": "eth0",
"next-hop-address": "169.254.1.1",
"table-id": 254
},
{
"destination": "169.254.1.1/32",
"next-hop-interface": "eth0",
"table-id": 254
},
{
"destination": "172.20.0.0/24",
"next-hop-interface": "pod37a8eec1ce1",
"table-id": 254
},
{
"destination": "fe80::/64",
"next-hop-interface": "eth0",
"table-id": 254
},
{
"destination": "fe80::/64",
"next-hop-interface": "pod37a8eec1ce1",
"table-id": 254
}
]
},
"linux-stack": {
"ipv4": {
"arp-ignore": 0,
"forwarding": false,
"ping-group-range": [
0,
2147483647
],
"unprivileged-port-start": 0
},
"ipv6": {
"forwarding": false
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment