facter 1.5.8 → 1.5.9

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of facter might be problematic. Click here for more details.

Files changed (119) hide show
  1. data/CHANGELOG +94 -0
  2. data/INSTALL +1 -1
  3. data/README +1 -1
  4. data/README.rst +3 -3
  5. data/Rakefile +9 -6
  6. data/bin/facter +18 -123
  7. data/conf/redhat/facter.spec +21 -3
  8. data/conf/solaris/pkginfo +2 -2
  9. data/install.rb +18 -10
  10. data/lib/facter.rb +27 -1
  11. data/lib/facter/application.rb +123 -0
  12. data/lib/facter/arp.rb +28 -0
  13. data/lib/facter/ec2.rb +32 -11
  14. data/lib/facter/hardwareisa.rb +1 -1
  15. data/lib/facter/id.rb +2 -9
  16. data/lib/facter/interfaces.rb +1 -1
  17. data/lib/facter/ipaddress.rb +2 -33
  18. data/lib/facter/ipaddress6.rb +68 -0
  19. data/lib/facter/lsb.rb +5 -5
  20. data/lib/facter/lsbmajdistrelease.rb +1 -1
  21. data/lib/facter/macaddress.rb +4 -14
  22. data/lib/facter/manufacturer.rb +9 -0
  23. data/lib/facter/memory.rb +110 -6
  24. data/lib/facter/netmask.rb +1 -1
  25. data/lib/facter/operatingsystem.rb +17 -2
  26. data/lib/facter/operatingsystemrelease.rb +34 -0
  27. data/lib/facter/processor.rb +8 -5
  28. data/lib/facter/selinux.rb +37 -4
  29. data/lib/facter/uniqueid.rb +1 -1
  30. data/lib/facter/util/#uptime.rb# +64 -0
  31. data/lib/facter/util/ip.rb +23 -15
  32. data/lib/facter/util/loader.rb +2 -2
  33. data/lib/facter/util/macaddress.rb +28 -0
  34. data/lib/facter/util/manufacturer.rb +39 -2
  35. data/lib/facter/util/memory.rb +43 -0
  36. data/lib/facter/util/netmask.rb +1 -1
  37. data/lib/facter/util/resolution.rb +7 -0
  38. data/lib/facter/util/uptime.rb +11 -1
  39. data/lib/facter/util/virtual.rb +13 -2
  40. data/lib/facter/util/vlans.rb +2 -2
  41. data/lib/facter/util/xendomains.rb +10 -0
  42. data/lib/facter/virtual.rb +45 -13
  43. data/lib/facter/xendomains.rb +10 -0
  44. data/spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces +18 -0
  45. data/spec/fixtures/ifconfig/centos_5_5 +17 -0
  46. data/spec/fixtures/ifconfig/centos_5_5_eth0 +8 -0
  47. data/spec/fixtures/ifconfig/darwin_10_3_0 +26 -0
  48. data/spec/fixtures/ifconfig/darwin_10_3_0_en0 +6 -0
  49. data/spec/fixtures/ifconfig/darwin_10_6_4 +28 -0
  50. data/spec/fixtures/ifconfig/darwin_10_6_4_en1 +6 -0
  51. data/spec/fixtures/ifconfig/darwin_10_6_6_dualstack +8 -0
  52. data/spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1 +7 -0
  53. data/spec/fixtures/ifconfig/darwin_9_8_0 +26 -0
  54. data/spec/fixtures/ifconfig/darwin_9_8_0_en0 +6 -0
  55. data/spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces +23 -0
  56. data/spec/fixtures/ifconfig/fedora_10 +36 -0
  57. data/spec/fixtures/ifconfig/fedora_10_eth0 +9 -0
  58. data/spec/fixtures/ifconfig/fedora_13 +18 -0
  59. data/spec/fixtures/ifconfig/fedora_13_eth0 +9 -0
  60. data/spec/fixtures/ifconfig/fedora_8 +38 -0
  61. data/spec/fixtures/ifconfig/fedora_8_eth0 +9 -0
  62. data/spec/fixtures/ifconfig/freebsd_6_0 +12 -0
  63. data/spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces +19 -0
  64. data/spec/fixtures/ifconfig/open_solaris_10 +12 -0
  65. data/spec/fixtures/ifconfig/open_solaris_b132 +20 -0
  66. data/spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces +10 -0
  67. data/spec/fixtures/ifconfig/ubuntu_7_04 +38 -0
  68. data/spec/fixtures/ifconfig/ubuntu_7_04_eth0 +9 -0
  69. data/spec/fixtures/netstat/centos_5_5 +5 -0
  70. data/spec/fixtures/netstat/darwin_10_3_0 +35 -0
  71. data/spec/fixtures/netstat/darwin_10_6_4 +29 -0
  72. data/spec/fixtures/netstat/darwin_10_6_6_dualstack +34 -0
  73. data/spec/fixtures/netstat/darwin_9_8_0 +28 -0
  74. data/spec/fixtures/netstat/fedora_10 +7 -0
  75. data/spec/fixtures/netstat/open_solaris_10 +16 -0
  76. data/spec/fixtures/netstat/open_solaris_b132 +17 -0
  77. data/spec/fixtures/netstat/ubuntu_7_04 +7 -0
  78. data/spec/fixtures/uptime/kstat_boot_time +1 -0
  79. data/spec/fixtures/virtual/proc_self_status/vserver_2_1/guest +37 -0
  80. data/spec/fixtures/virtual/proc_self_status/vserver_2_1/host +36 -0
  81. data/spec/fixtures/virtual/proc_self_status/vserver_2_3/guest +39 -0
  82. data/spec/fixtures/virtual/proc_self_status/vserver_2_3/host +39 -0
  83. data/spec/integration/{facter.rb → facter_spec.rb} +1 -1
  84. data/spec/spec_helper.rb +8 -3
  85. data/spec/unit/data/debian_kfreebsd_ifconfig +40 -0
  86. data/spec/unit/data/hpux_netstat_all_interfaces +3 -6
  87. data/spec/unit/data/selinux_sestatus +6 -0
  88. data/spec/unit/data/xendomains +4 -0
  89. data/spec/unit/{facter.rb → facter_spec.rb} +28 -1
  90. data/spec/unit/id_spec.rb +27 -0
  91. data/spec/unit/{interfaces.rb → interfaces_spec.rb} +1 -1
  92. data/spec/unit/ipaddress6_spec.rb +36 -0
  93. data/spec/unit/memory_spec.rb +45 -0
  94. data/spec/unit/{operatingsystem.rb → operatingsystem_spec.rb} +22 -8
  95. data/spec/unit/operatingsystemrelease_spec.rb +49 -0
  96. data/spec/unit/selinux_spec.rb +89 -0
  97. data/spec/unit/{uptime.rb → uptime_spec.rb} +4 -4
  98. data/spec/unit/util/{collection.rb → collection_spec.rb} +1 -1
  99. data/spec/unit/util/{confine.rb → confine_spec.rb} +1 -1
  100. data/spec/unit/util/{fact.rb → fact_spec.rb} +1 -1
  101. data/spec/unit/util/{ip.rb → ip_spec.rb} +47 -12
  102. data/spec/unit/util/{loader.rb → loader_spec.rb} +51 -1
  103. data/spec/unit/util/macaddress_spec.rb +68 -0
  104. data/spec/unit/util/{macosx.rb → macosx_spec.rb} +1 -1
  105. data/spec/unit/util/{manufacturer.rb → manufacturer_spec.rb} +15 -4
  106. data/spec/unit/util/{resolution.rb → resolution_spec.rb} +1 -1
  107. data/spec/unit/util/uptime_spec.rb +73 -0
  108. data/spec/unit/util/{virtual.rb → virtual_spec.rb} +37 -3
  109. data/spec/unit/util/{vlans.rb → vlans_spec.rb} +1 -1
  110. data/spec/unit/util/xendomains_spec.rb +23 -0
  111. data/spec/unit/virtual_spec.rb +196 -0
  112. metadata +149 -98
  113. data/spec/Rakefile +0 -18
  114. data/spec/unit/data/hpux_ifconfig +0 -3
  115. data/spec/unit/data/hpux_netscan +0 -4
  116. data/spec/unit/operatingsystemrelease.rb +0 -39
  117. data/spec/unit/selinux.rb +0 -48
  118. data/spec/unit/util/uptime.rb +0 -53
  119. data/spec/unit/virtual.rb +0 -71
@@ -0,0 +1,6 @@
1
+ en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
2
+ inet6 fe80::217:f2ff:fe06:e42e%en0 prefixlen 64 scopeid 0x4
3
+ inet 100.100.107.4 netmask 0xffffff00 broadcast 100.100.107.255
4
+ ether 00:17:f2:06:e4:2e
5
+ media: autoselect (1000baseT <full-duplex>) status: active
6
+ supported media: autoselect 10baseT/UTP <half-duplex> 10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,hw-loopback> 10baseT/UTP <full-duplex,flow-control> 100baseTX <half-duplex> 100baseTX <full-duplex> 100baseTX <full-duplex,hw-loopback> 100baseTX <full-duplex,flow-control> 1000baseT <full-duplex> 1000baseT <full-duplex,hw-loopback> 1000baseT <full-duplex,flow-control>
@@ -0,0 +1,23 @@
1
+ lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
2
+ inet6 ::1 prefixlen 128
3
+ inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
4
+ inet 127.0.0.1 netmask 0xff000000
5
+ gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
6
+ stf0: flags=0<> mtu 1280
7
+ en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
8
+ ether 00:23:32:d5:ee:34
9
+ inet6 fe80::223:32ff:fed5:ee34%en0 prefixlen 64 scopeid 0x4
10
+ inet6 2610:10:20:209:223:32ff:fed5:ee34 prefixlen 64 autoconf
11
+ inet 131.252.209.140 netmask 0xffffff00 broadcast 131.252.209.255
12
+ media: autoselect (100baseTX <full-duplex>)
13
+ status: active
14
+ en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
15
+ ether 00:11:33:22:55:44
16
+ inet6 fe80::211:33ff:fe22:5544%en1 prefixlen 64 scopeid 0x5
17
+ inet 131.252.246.129 netmask 0xfffffe00 broadcast 131.252.247.255
18
+ media: autoselect
19
+ status: active
20
+ fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078
21
+ lladdr 00:23:32:ff:fe:d5:ee:34
22
+ media: autoselect <full-duplex>
23
+ status: inactive
@@ -0,0 +1,36 @@
1
+ eth0 Link encap:Ethernet HWaddr 00:17:F2:06:E4:26
2
+ inet addr:100.100.108.9 Bcast:100.100.108.255 Mask:255.255.255.0
3
+ inet6 addr: fe80::217:f2ff:fe06:e426/64 Scope:Link
4
+ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
5
+ RX packets:47711100 errors:0 dropped:0 overruns:0 frame:0
6
+ TX packets:45446436 errors:0 dropped:0 overruns:0 carrier:0
7
+ collisions:0 txqueuelen:1000
8
+ RX bytes:17037006736 (15.8 GiB) TX bytes:9198820680 (8.5 GiB)
9
+ Memory:92c20000-92c40000
10
+
11
+ lo Link encap:Local Loopback
12
+ inet addr:127.0.0.1 Mask:255.0.0.0
13
+ inet6 addr: ::1/128 Scope:Host
14
+ UP LOOPBACK RUNNING MTU:16436 Metric:1
15
+ RX packets:366974 errors:0 dropped:0 overruns:0 frame:0
16
+ TX packets:366974 errors:0 dropped:0 overruns:0 carrier:0
17
+ collisions:0 txqueuelen:0
18
+ RX bytes:33867944 (32.2 MiB) TX bytes:33867944 (32.2 MiB)
19
+
20
+ vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01
21
+ inet addr:172.16.131.1 Bcast:172.16.131.255 Mask:255.255.255.0
22
+ inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
23
+ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
24
+ RX packets:0 errors:0 dropped:0 overruns:0 frame:0
25
+ TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
26
+ collisions:0 txqueuelen:1000
27
+ RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
28
+
29
+ vmnet8 Link encap:Ethernet HWaddr 00:50:56:C0:00:08
30
+ inet addr:192.168.183.1 Bcast:192.168.183.255 Mask:255.255.255.0
31
+ inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
32
+ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
33
+ RX packets:0 errors:0 dropped:0 overruns:0 frame:0
34
+ TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
35
+ collisions:0 txqueuelen:1000
36
+ RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
@@ -0,0 +1,9 @@
1
+ eth0 Link encap:Ethernet HWaddr 00:17:F2:06:E4:26
2
+ inet addr:100.100.108.9 Bcast:100.100.108.255 Mask:255.255.255.0
3
+ inet6 addr: fe80::217:f2ff:fe06:e426/64 Scope:Link
4
+ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
5
+ RX packets:47711864 errors:0 dropped:0 overruns:0 frame:0
6
+ TX packets:45447195 errors:0 dropped:0 overruns:0 carrier:0
7
+ collisions:0 txqueuelen:1000
8
+ RX bytes:17037147877 (15.8 GiB) TX bytes:9198873602 (8.5 GiB)
9
+ Memory:92c20000-92c40000
@@ -0,0 +1,18 @@
1
+ eth0 Link encap:Ethernet HWaddr 00:17:F2:0D:9B:A8
2
+ inet addr:100.100.108.27 Bcast:100.100.108.255 Mask:255.255.255.0
3
+ inet6 addr: fe80::217:f2ff:fe0d:9ba8/64 Scope:Link
4
+ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
5
+ RX packets:1813272 errors:0 dropped:0 overruns:0 frame:0
6
+ TX packets:1539207 errors:0 dropped:0 overruns:0 carrier:0
7
+ collisions:0 txqueuelen:1000
8
+ RX bytes:1729725903 (1.6 GiB) TX bytes:1606599540 (1.4 GiB)
9
+ Memory:f2c20000-f2c40000
10
+
11
+ lo Link encap:Local Loopback
12
+ inet addr:127.0.0.1 Mask:255.0.0.0
13
+ inet6 addr: ::1/128 Scope:Host
14
+ UP LOOPBACK RUNNING MTU:16436 Metric:1
15
+ RX packets:482 errors:0 dropped:0 overruns:0 frame:0
16
+ TX packets:482 errors:0 dropped:0 overruns:0 carrier:0
17
+ collisions:0 txqueuelen:0
18
+ RX bytes:48488 (47.3 KiB) TX bytes:48488 (47.3 KiB)
@@ -0,0 +1,9 @@
1
+ eth0 Link encap:Ethernet HWaddr 00:17:F2:0D:9B:A8
2
+ inet addr:100.100.108.27 Bcast:100.100.108.255 Mask:255.255.255.0
3
+ inet6 addr: fe80::217:f2ff:fe0d:9ba8/64 Scope:Link
4
+ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
5
+ RX packets:1813275 errors:0 dropped:0 overruns:0 frame:0
6
+ TX packets:1539208 errors:0 dropped:0 overruns:0 carrier:0
7
+ collisions:0 txqueuelen:1000
8
+ RX bytes:1729726282 (1.6 GiB) TX bytes:1606599653 (1.4 GiB)
9
+ Memory:f2c20000-f2c40000
@@ -0,0 +1,38 @@
1
+ eth0 Link encap:Ethernet HWaddr 00:18:F3:F6:33:E5
2
+ inet addr:64.71.191.242 Bcast:64.71.191.247 Mask:255.255.255.248
3
+ inet6 addr: fe80::218:f3ff:fef6:33e5/64 Scope:Link
4
+ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
5
+ RX packets:834422948 errors:0 dropped:0 overruns:0 frame:0
6
+ TX packets:1241890353 errors:0 dropped:0 overruns:0 carrier:0
7
+ collisions:0 txqueuelen:1000
8
+ RX bytes:3777804409 (3.5 GiB) TX bytes:2061587234 (1.9 GiB)
9
+ Interrupt:21
10
+
11
+ eth0:0 Link encap:Ethernet HWaddr 00:18:F3:F6:33:E5
12
+ inet addr:64.71.191.243 Bcast:64.71.191.247 Mask:255.255.255.248
13
+ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
14
+ Interrupt:21
15
+
16
+ eth0:1 Link encap:Ethernet HWaddr 00:18:F3:F6:33:E5
17
+ inet addr:64.71.191.244 Bcast:64.71.191.247 Mask:255.255.255.248
18
+ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
19
+ Interrupt:21
20
+
21
+ eth0:2 Link encap:Ethernet HWaddr 00:18:F3:F6:33:E5
22
+ inet addr:64.71.191.245 Bcast:64.71.191.247 Mask:255.255.255.248
23
+ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
24
+ Interrupt:21
25
+
26
+ eth0:3 Link encap:Ethernet HWaddr 00:18:F3:F6:33:E5
27
+ inet addr:64.71.191.246 Bcast:64.71.191.247 Mask:255.255.255.248
28
+ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
29
+ Interrupt:21
30
+
31
+ lo Link encap:Local Loopback
32
+ inet addr:127.0.0.1 Mask:255.0.0.0
33
+ inet6 addr: ::1/128 Scope:Host
34
+ UP LOOPBACK RUNNING MTU:16436 Metric:1
35
+ RX packets:59385736 errors:0 dropped:0 overruns:0 frame:0
36
+ TX packets:59385736 errors:0 dropped:0 overruns:0 carrier:0
37
+ collisions:0 txqueuelen:0
38
+ RX bytes:3519026710 (3.2 GiB) TX bytes:3519026710 (3.2 GiB)
@@ -0,0 +1,9 @@
1
+ eth0 Link encap:Ethernet HWaddr 00:18:F3:F6:33:E5
2
+ inet addr:64.71.191.242 Bcast:64.71.191.247 Mask:255.255.255.248
3
+ inet6 addr: fe80::218:f3ff:fef6:33e5/64 Scope:Link
4
+ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
5
+ RX packets:834423032 errors:0 dropped:0 overruns:0 frame:0
6
+ TX packets:1241890434 errors:0 dropped:0 overruns:0 carrier:0
7
+ collisions:0 txqueuelen:1000
8
+ RX bytes:3777811119 (3.5 GiB) TX bytes:2061606027 (1.9 GiB)
9
+ Interrupt:21
@@ -0,0 +1,12 @@
1
+ fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
2
+ options=b<RXCSUM,TXCSUM,VLAN_MTU>
3
+ inet x.x.58.26 netmask 0xfffffff8 broadcast x.x.58.31
4
+ inet x.x.58.27 netmask 0xffffffff broadcast x.x.58.27
5
+ inet x.x.58.28 netmask 0xffffffff broadcast x.x.58.28
6
+ inet x.x.58.29 netmask 0xffffffff broadcast x.x.58.29
7
+ inet x.x.58.30 netmask 0xffffffff broadcast x.x.58.30
8
+ ether 00:0e:0c:68:67:7c
9
+ media: Ethernet autoselect (100baseTX <full-duplex>)
10
+ status: active
11
+ lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
12
+ inet 127.0.0.1 netmask 0xff000000
@@ -0,0 +1,19 @@
1
+ eth0 Link encap:Ethernet HWaddr 00:12:3f:be:22:01
2
+ inet addr:131.252.209.153 Bcast:131.252.209.255 Mask:255.255.255.0
3
+ inet6 addr: 2610:10:20:209:212:3fff:febe:2201/64 Scope:Global
4
+ inet6 addr: fe80::212:3fff:febe:2201/64 Scope:Link
5
+ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
6
+ RX packets:20793317 errors:0 dropped:0 overruns:0 frame:0
7
+ TX packets:19583281 errors:0 dropped:0 overruns:0 carrier:0
8
+ collisions:0 txqueuelen:1000
9
+ RX bytes:1723593481 (1.7 GB) TX bytes:283377282 (283.3 MB)
10
+ Interrupt:16
11
+
12
+ lo Link encap:Local Loopback
13
+ inet addr:127.0.0.1 Mask:255.0.0.0
14
+ inet6 addr: ::1/128 Scope:Host
15
+ UP LOOPBACK RUNNING MTU:16436 Metric:1
16
+ RX packets:31809 errors:0 dropped:0 overruns:0 frame:0
17
+ TX packets:31809 errors:0 dropped:0 overruns:0 carrier:0
18
+ collisions:0 txqueuelen:0
19
+ RX bytes:2075836 (2.0 MB) TX bytes:2075836 (2.0 MB)
@@ -0,0 +1,12 @@
1
+ lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
2
+ inet 127.0.0.1 netmask ff000000
3
+ hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
4
+ inet 192.168.2.83 netmask ffffff00 broadcast 192.168.2.255
5
+ ether 8:0:20:d1:6d:79
6
+ lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
7
+ inet6 ::1/128
8
+ hme0: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
9
+ inet6 fe80::a00:20ff:fed1:6d79/10
10
+ ether 8:0:20:d1:6d:79
11
+ hme0:1: flags=2080841<UP,RUNNING,MULTICAST,ADDRCONF,IPv6> mtu 1500 index 2
12
+ inet6 2404:130:0:1000:a00:20ff:fed1:6d79/64
@@ -0,0 +1,20 @@
1
+ lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
2
+ inet 127.0.0.1 netmask ff000000
3
+ bge0: flags=1100943<UP,BROADCAST,RUNNING,PROMISC,MULTICAST,ROUTER,IPv4> mtu 1500 index 2
4
+ inet 202.78.241.97 netmask fffffff8 broadcast 202.78.241.103
5
+ ether 0:1e:c9:43:55:f9
6
+ int0: flags=1100843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 9000 index 3
7
+ inet 172.31.255.254 netmask ffffff00 broadcast 172.31.255.255
8
+ ether 2:8:20:89:75:75
9
+ lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
10
+ inet6 ::1/128
11
+ bge0: flags=2100941<UP,RUNNING,PROMISC,MULTICAST,ROUTER,IPv6> mtu 1500 index 2
12
+ inet6 fe80::ff:0/10
13
+ ether 0:1e:c9:43:55:f9
14
+ bge0:1: flags=2180941<UP,RUNNING,PROMISC,MULTICAST,ADDRCONF,ROUTER,IPv6> mtu 1500 index 2
15
+ inet6 2404:130:40:10::ff:0/64
16
+ int0: flags=2100841<UP,RUNNING,MULTICAST,ROUTER,IPv6> mtu 9000 index 3
17
+ inet6 fe80::ff:0/10
18
+ ether 2:8:20:89:75:75
19
+ int0:1: flags=2180841<UP,RUNNING,MULTICAST,ADDRCONF,ROUTER,IPv6> mtu 9000 index 3
20
+ inet6 2404:130:40:18::ff:0/64
@@ -0,0 +1,10 @@
1
+ lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
2
+ inet 127.0.0.1 netmask ff000000
3
+ bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
4
+ inet 131.252.209.59 netmask ffffff00 broadcast 131.252.209.255
5
+ lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
6
+ inet6 ::1/128
7
+ bge0: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
8
+ inet6 fe80::203:baff:fe27:a7c/10
9
+ bge0:1: flags=2080841<UP,RUNNING,MULTICAST,ADDRCONF,IPv6> mtu 1500 index 2
10
+ inet6 2610:10:20:209:203:baff:fe27:a7c/64
@@ -0,0 +1,38 @@
1
+ ath0 Link encap:Ethernet HWaddr 00:17:F2:49:E0:E6
2
+ inet6 addr: fe80::217:f2ff:fe49:e0e6/64 Scope:Link
3
+ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
4
+ RX packets:0 errors:0 dropped:0 overruns:0 frame:0
5
+ TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
6
+ collisions:0 txqueuelen:0
7
+ RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
8
+
9
+ ath0:avah Link encap:Ethernet HWaddr 00:17:F2:49:E0:E6
10
+ inet addr:169.254.10.213 Bcast:169.254.255.255 Mask:255.255.0.0
11
+ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
12
+
13
+ eth0 Link encap:Ethernet HWaddr 00:16:CB:A6:D4:3A
14
+ inet addr:100.100.106.200 Bcast:100.100.106.255 Mask:255.255.255.0
15
+ inet6 addr: fe80::216:cbff:fea6:d43a/64 Scope:Link
16
+ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
17
+ RX packets:1070 errors:0 dropped:0 overruns:0 frame:0
18
+ TX packets:236 errors:0 dropped:0 overruns:0 carrier:0
19
+ collisions:0 txqueuelen:1000
20
+ RX bytes:69905 (68.2 KiB) TX bytes:28435 (27.7 KiB)
21
+ Interrupt:17
22
+
23
+ lo Link encap:Local Loopback
24
+ inet addr:127.0.0.1 Mask:255.0.0.0
25
+ inet6 addr: ::1/128 Scope:Host
26
+ UP LOOPBACK RUNNING MTU:16436 Metric:1
27
+ RX packets:33 errors:0 dropped:0 overruns:0 frame:0
28
+ TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
29
+ collisions:0 txqueuelen:0
30
+ RX bytes:3067 (2.9 KiB) TX bytes:3067 (2.9 KiB)
31
+
32
+ wifi0 Link encap:UNSPEC HWaddr 00-17-F2-49-E0-E6-00-00-00-00-00-00-00-00-00-00
33
+ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
34
+ RX packets:2655 errors:0 dropped:0 overruns:0 frame:24795
35
+ TX packets:193 errors:0 dropped:0 overruns:0 carrier:0
36
+ collisions:0 txqueuelen:199
37
+ RX bytes:754290 (736.6 KiB) TX bytes:8878 (8.6 KiB)
38
+ Interrupt:16
@@ -0,0 +1,9 @@
1
+ eth0 Link encap:Ethernet HWaddr 00:16:CB:A6:D4:3A
2
+ inet addr:100.100.106.200 Bcast:100.100.106.255 Mask:255.255.255.0
3
+ inet6 addr: fe80::216:cbff:fea6:d43a/64 Scope:Link
4
+ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
5
+ RX packets:1131 errors:0 dropped:0 overruns:0 frame:0
6
+ TX packets:280 errors:0 dropped:0 overruns:0 carrier:0
7
+ collisions:0 txqueuelen:1000
8
+ RX bytes:73859 (72.1 KiB) TX bytes:35243 (34.4 KiB)
9
+ Interrupt:17
@@ -0,0 +1,5 @@
1
+ Kernel IP routing table
2
+ Destination Gateway Genmask Flags MSS Window irtt Iface
3
+ 100.100.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
4
+ 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
5
+ 0.0.0.0 100.100.100.1 0.0.0.0 UG 0 0 0 eth0
@@ -0,0 +1,35 @@
1
+ Routing tables
2
+
3
+ Internet:
4
+ Destination Gateway Flags Refs Use Netif Expire
5
+ default 100.100.104.1 UGSc 21 0 en0
6
+ 100.100.104/24 link#4 UCS 11 0 en0
7
+ 100.100.104.1 0:26:f1:23:2d:0 UHLWI 21 70927 en0 1188
8
+ 100.100.104.12 127.0.0.1 UHS 2 109 lo0
9
+ 100.100.104.16 0:1d:4f:44:cf:8 UHLWI 0 1369 en0 700
10
+ 100.100.104.48 0:1d:4f:45:5a:8c UHLWI 0 2 en0 1173
11
+ 100.100.104.52 0:1d:4f:44:ef:e0 UHLWI 0 184 en0 543
12
+ 100.100.104.62 0:1d:4f:45:5f:8c UHLWI 0 4 en0 478
13
+ 100.100.104.67 0:1d:4f:45:97:2c UHLWI 0 75 en0 851
14
+ 100.100.104.71 0:1d:4f:45:4a:b4 UHLWI 0 12 en0 890
15
+ 100.100.104.76 0:1d:4f:45:99:a8 UHLWI 0 2 en0 1056
16
+ 100.100.104.154 0:25:64:c1:d6:35 UHLWI 0 2640 en0 1200
17
+ 100.100.104.157 0:25:64:c1:cf:67 UHLWI 0 1 en0 1054
18
+ 100.100.104.255 ff:ff:ff:ff:ff:ff UHLWbI 0 2 en0
19
+ 127 127.0.0.1 UCS 0 0 lo0
20
+ 127.0.0.1 127.0.0.1 UH 0 10 lo0
21
+ 169.254 link#4 UCS 0 0 en0
22
+ 172.16.95/24 link#7 UC 0 0 vmnet8
23
+ 172.16.201/24 link#8 UC 0 0 vmnet1
24
+
25
+ Internet6:
26
+ Destination Gateway Flags Netif Expire
27
+ ::1 ::1 UH lo0
28
+ fe80::%lo0/64 fe80::1%lo0 Uc lo0
29
+ fe80::1%lo0 link#1 UHL lo0
30
+ fe80::%en0/64 link#4 UC en0
31
+ fe80::217:f2ff:fe06:e3c2%en0 0:17:f2:6:e3:c2 UHL lo0
32
+ ff01::/32 ::1 Um lo0
33
+ ff02::/32 ::1 UmC lo0
34
+ ff02::/32 link#4 UmC en0
35
+ ff02::fb link#4 UHmLW en0
@@ -0,0 +1,29 @@
1
+ Routing tables
2
+
3
+ Internet:
4
+ Destination Gateway Flags Refs Use Netif Expire
5
+ default imana.puppetlabs.l UGSc 18 0 en1
6
+ 127 localhost UCS 0 0 lo0
7
+ localhost localhost UH 2 161629 lo0
8
+ 169.254 link#5 UCS 0 0 en1
9
+ 172.16.38/24 link#9 UC 1 0 vmnet8
10
+ 172.16.38.255 ff:ff:ff:ff:ff:ff UHLWbI 1 2 vmnet8
11
+ 172.16.135/24 link#8 UC 1 0 vmnet1
12
+ 172.16.135.255 ff:ff:ff:ff:ff:ff UHLWbI 0 2 vmnet1
13
+ 192.168.100 link#5 UCS 17 0 en1
14
+ imana.puppetlabs.l 0:25:bc:e2:e:56 UHLWI 9 12 en1 1145
15
+ odys-iphone.puppet 5c:59:48:16:37:86 UHLWI 0 0 en1 1159
16
+ reinh.puppetlabs.l localhost UHS 0 0 lo0
17
+ 192.168.100.255 ff:ff:ff:ff:ff:ff UHLWbI 0 2 en1
18
+
19
+ Internet6:
20
+ Destination Gateway Flags Netif Expire
21
+ localhost localhost UH lo0
22
+ fe80::%lo0 localhost Uc lo0
23
+ localhost link#1 UHL lo0
24
+ fe80::%en1 link#5 UC en1
25
+ fe80::226:b0ff:fef 0:26:b0:f9:ef:cb UHLW en1
26
+ reinh.local 58:b0:35:7f:25:b3 UHL lo0
27
+ ff01:: localhost Um lo0
28
+ ff02:: localhost UmC lo0
29
+ ff02:: link#5 UmC en1
@@ -0,0 +1,34 @@
1
+ Routing tables
2
+
3
+ Internet:
4
+ Destination Gateway Flags Refs Use Netif Expire
5
+ default 192.168.1.254 UGSc 38 0 en1
6
+ 127 127.0.0.1 UCS 0 0 lo0
7
+ 127.0.0.1 127.0.0.1 UH 14 1044474 lo0
8
+ 169.254 link#5 UCS 0 0 en1
9
+ 192.168.1 link#5 UCS 2 0 en1
10
+ 192.168.1.207 127.0.0.1 UHS 0 1 lo0
11
+ 192.168.1.220 e0:f8:47:98:85:71 UHLWI 0 0 en1 135
12
+ 192.168.1.254 0:4:ed:66:13:cc UHLWI 42 134 en1 1158
13
+
14
+ Internet6:
15
+ Destination Gateway Flags Netif Expire
16
+ default 2000:44b4:61::16e UGSc tun0
17
+ ::1 ::1 UH lo0
18
+ 2000:44b4:61::16e 2000:44b4:61::16f UH tun0
19
+ 2000:44b4:61::16f link#9 UHL lo0
20
+ 2000:44b4:62:480::/64 link#5 UC en1
21
+ 2000:44b4:62:480::/60 ::1 UGSc lo0
22
+ 2000:44b4:62:480::1 0:25:0:48:19:ef UHL lo0
23
+ fe80::%lo0/64 fe80::1%lo0 Uc lo0
24
+ fe80::1%lo0 link#1 UHL lo0
25
+ fe80::%en1/64 link#5 UC en1
26
+ fe80::225:ff:fe48:19ef%en1 0:25:0:48:19:ef UHL lo0
27
+ fe80::a00:27ff:fe02:bcb5%en1 8:0:27:2:bc:b5 UHLW en1
28
+ fe80::a932:c76f:9c2e:ead8%en1 0:1e:2a:b3:9b:66 UHLW en1
29
+ fe80::e2f8:47ff:fe98:8571%en1 e0:f8:47:98:85:71 UHLW en1
30
+ fe80::225:4bff:feca:5672%tun0 link#9 UHL lo0
31
+ ff01::/32 ::1 Um lo0
32
+ ff02::/32 ::1 UmC lo0
33
+ ff02::/32 link#5 UmC en1
34
+ ff02::/32 fe80::225:4bff:feca:5672%tun0 UmC tun0
@@ -0,0 +1,28 @@
1
+ Routing tables
2
+
3
+ Internet:
4
+ Destination Gateway Flags Refs Use Netif Expire
5
+ default 100.100.107.1 UGSc 25 45789 en0
6
+ 100.100.107/24 link#4 UCS 3 0 en0
7
+ 100.100.107.1 0:26:f1:23:2d:0 UHLW 25 212733 en0 687
8
+ 100.100.107.4 127.0.0.1 UHS 0 332 lo0
9
+ 100.100.107.6 0:17:f2:6:e3:b0 UHLW 0 633 en0 1168
10
+ 100.100.107.255 ff:ff:ff:ff:ff:ff UHLWb 0 6 en0
11
+ 127 127.0.0.1 UCS 0 0 lo0
12
+ 127.0.0.1 127.0.0.1 UH 3 230 lo0
13
+ 169.254 link#4 UCS 0 0 en0
14
+ 192.168.61 link#8 UC 1 0 vmnet1
15
+ 192.168.61.255 ff:ff:ff:ff:ff:ff UHLWb 0 6 vmnet1
16
+ 192.168.210 link#7 UC 1 0 vmnet8
17
+ 192.168.210.255 ff:ff:ff:ff:ff:ff UHLWb 0 6 vmnet8
18
+
19
+ Internet6:
20
+ Destination Gateway Flags Netif Expire
21
+ ::1 link#1 UHL lo0
22
+ fe80::%lo0/64 fe80::1%lo0 Uc lo0
23
+ fe80::1%lo0 link#1 UHL lo0
24
+ fe80::%en0/64 link#4 UC en0
25
+ fe80::217:f2ff:fe06:e42e%en0 0:17:f2:6:e4:2e UHL lo0
26
+ ff01::/32 ::1 U lo0
27
+ ff02::/32 fe80::1%lo0 UC lo0
28
+ ff02::/32 link#4 UC en0
@@ -0,0 +1,7 @@
1
+ Kernel IP routing table
2
+ Destination Gateway Genmask Flags MSS Window irtt Iface
3
+ 172.16.131.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet1
4
+ 192.168.183.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet8
5
+ 100.100.108.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
6
+ 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
7
+ 0.0.0.0 100.100.108.1 0.0.0.0 UG 0 0 0 eth0
@@ -0,0 +1,16 @@
1
+ Routing Table: IPv4
2
+ Destination Gateway Flags Ref Use Interface
3
+ -------------------- -------------------- ----- ----- ---------- ---------
4
+ default 192.168.2.1 UG 1 10
5
+ 192.168.2.0 192.168.2.83 U 1 1022 hme0
6
+ 224.0.0.0 192.168.2.83 U 1 0 hme0
7
+ 127.0.0.1 127.0.0.1 UH 1 0 lo0
8
+
9
+ Routing Table: IPv6
10
+ Destination/Mask Gateway Flags Ref Use If
11
+ --------------------------- --------------------------- ----- --- ------- -----
12
+ 2404:130:0:1000::/64 2404:130:0:1000:a00:20ff:fed1:6d79 U 1 0 hme0:1
13
+ fe80::/10 fe80::a00:20ff:fed1:6d79 U 1 0 hme0
14
+ ff00::/8 fe80::a00:20ff:fed1:6d79 U 1 0 hme0
15
+ default fe80::214:22ff:fe0a:1c46 UG 1 0 hme0
16
+ ::1 ::1 UH 1 140 lo0