Skip to content

Instantly share code, notes, and snippets.

@robinbowes
Created October 24, 2016 17:50
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 robinbowes/5086e74d360b3783c4da788d9238365e to your computer and use it in GitHub Desktop.
Save robinbowes/5086e74d360b3783c4da788d9238365e to your computer and use it in GitHub Desktop.
networking fact
{
domain => "itsprod.net",
fqdn => "itsp2epup01.itsprod.net",
hostname => "itsp2epup01",
interfaces => {
ens192 => {
bindings => [
{
address => "10.2.1.52",
netmask => "255.255.255.0",
network => "10.2.1.0"
}
],
ip => "10.2.1.52",
mac => "00:50:56:01:90:67",
mtu => 1500,
netmask => "255.255.255.0",
network => "10.2.1.0"
},
lo => {
bindings => [
{
address => "127.0.0.1",
netmask => "255.0.0.0",
network => "127.0.0.0"
}
],
ip => "127.0.0.1",
mtu => 65536,
netmask => "255.0.0.0",
network => "127.0.0.0"
}
},
ip => "10.2.1.52",
mac => "00:50:56:01:90:67",
mtu => 1500,
netmask => "255.255.255.0",
network => "10.2.1.0",
primary => "ens192"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment