# File lib/facter/util/ip.rb, line 74
74:   def self.get_all_interface_output
75:     case Facter.value(:kernel)
76:     when 'Linux', 'OpenBSD', 'NetBSD', 'FreeBSD', 'Darwin', 'GNU/kFreeBSD', 'DragonFly'
77:       output = %x{/sbin/ifconfig -a}
78:     when 'SunOS'
79:       output = %x{/usr/sbin/ifconfig -a}
80:     when 'HP-UX'
81:       output = %x{/bin/netstat -in | sed -e 1d}
82:     when 'windows'
83:       output = %x|#{ENV['SYSTEMROOT']}/system32/netsh interface ip show interface|
84:       output += %x|#{ENV['SYSTEMROOT']}/system32/netsh interface ipv6 show interface|
85:     end
86:     output
87:   end