Java 网络接口概述

network interface类表示网络接口。
实例源码:
源代码:
执行
执行中...
执行结果:
  • Network Interface Display Name: Software Loopback Interface 1
  • Software Loopback Interface 1 is up and running ?true
  • Software Loopback Interface 1 Supports Multicast: true
  • Software Loopback Interface 1 Name: lo
  • Software Loopback Interface 1 Is Virtual: false
  • IP addresses:
  • IP address:/127.0.0.1
  • IP address:/0:0:0:0:0:0:0:1
  • Network Interface Display Name: WAN 微型端口(L2TP)
  • WAN 微型端口(L2TP) is up and running ?false
  • WAN 微型端口(L2TP) Supports Multicast: true
  • WAN 微型端口(L2TP) Name: net0
  • WAN 微型端口(L2TP) Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: WAN 微型端口(SSTP)
  • WAN 微型端口(SSTP) is up and running ?false
  • WAN 微型端口(SSTP) Supports Multicast: true
  • WAN 微型端口(SSTP) Name: net1
  • WAN 微型端口(SSTP) Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: WAN Miniport (IKEv2)
  • WAN Miniport (IKEv2) is up and running ?false
  • WAN Miniport (IKEv2) Supports Multicast: true
  • WAN Miniport (IKEv2) Name: net2
  • WAN Miniport (IKEv2) Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: WAN 微型端口(PPTP)
  • WAN 微型端口(PPTP) is up and running ?false
  • WAN 微型端口(PPTP) Supports Multicast: true
  • WAN 微型端口(PPTP) Name: net3
  • WAN 微型端口(PPTP) Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: WAN 微型端口(PPPOE)
  • WAN 微型端口(PPPOE) is up and running ?false
  • WAN 微型端口(PPPOE) Supports Multicast: true
  • WAN 微型端口(PPPOE) Name: ppp0
  • WAN 微型端口(PPPOE) Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: WAN 微型端口(IP)
  • WAN 微型端口(IP) is up and running ?false
  • WAN 微型端口(IP) Supports Multicast: true
  • WAN 微型端口(IP) Name: eth0
  • WAN 微型端口(IP) Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: WAN 微型端口(IPv6)
  • WAN 微型端口(IPv6) is up and running ?false
  • WAN 微型端口(IPv6) Supports Multicast: true
  • WAN 微型端口(IPv6) Name: eth1
  • WAN 微型端口(IPv6) Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: WAN 微型端口(网络监视器)
  • WAN 微型端口(网络监视器) is up and running ?false
  • WAN 微型端口(网络监视器) Supports Multicast: true
  • WAN 微型端口(网络监视器) Name: eth2
  • WAN 微型端口(网络监视器) Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: Microsoft 内核调试网络适配器
  • Microsoft 内核调试网络适配器 is up and running ?false
  • Microsoft 内核调试网络适配器 Supports Multicast: true
  • Microsoft 内核调试网络适配器 Name: eth3
  • Microsoft 内核调试网络适配器 Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: RAS 同步适配器
  • RAS 同步适配器 is up and running ?false
  • RAS 同步适配器 Supports Multicast: true
  • RAS 同步适配器 Name: ppp1
  • RAS 同步适配器 Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: Microsoft ISATAP Adapter
  • Microsoft ISATAP Adapter is up and running ?false
  • Microsoft ISATAP Adapter Supports Multicast: false
  • Microsoft ISATAP Adapter Name: net4
  • Microsoft ISATAP Adapter Is Virtual: false
  • IP addresses:
  • IP address:/fe80:0:0:0:0:5efe:ac15:d%net4
  • Network Interface Display Name: Teredo Tunneling Pseudo-Interface
  • Teredo Tunneling Pseudo-Interface is up and running ?false
  • Teredo Tunneling Pseudo-Interface Supports Multicast: true
  • Teredo Tunneling Pseudo-Interface Name: net5
  • Teredo Tunneling Pseudo-Interface Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: Tencent VirtIO Ethernet Adapter
  • Tencent VirtIO Ethernet Adapter is up and running ?true
  • Tencent VirtIO Ethernet Adapter Supports Multicast: true
  • Tencent VirtIO Ethernet Adapter Name: eth4
  • Tencent VirtIO Ethernet Adapter Is Virtual: false
  • IP addresses:
  • IP address:/172.21.0.13
  • IP address:/fe80:0:0:0:c63:97ec:e700:972b%eth4
  • Network Interface Display Name: WAN 微型端口(IP)-WFP Native MAC Layer LightWeight Filter-0000
  • WAN 微型端口(IP)-WFP Native MAC Layer LightWeight Filter-0000 is up and running ?false
  • WAN 微型端口(IP)-WFP Native MAC Layer LightWeight Filter-0000 Supports Multicast: true
  • WAN 微型端口(IP)-WFP Native MAC Layer LightWeight Filter-0000 Name: eth5
  • WAN 微型端口(IP)-WFP Native MAC Layer LightWeight Filter-0000 Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: WAN 微型端口(IP)-QoS Packet Scheduler-0000
  • WAN 微型端口(IP)-QoS Packet Scheduler-0000 is up and running ?false
  • WAN 微型端口(IP)-QoS Packet Scheduler-0000 Supports Multicast: true
  • WAN 微型端口(IP)-QoS Packet Scheduler-0000 Name: eth6
  • WAN 微型端口(IP)-QoS Packet Scheduler-0000 Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: WAN 微型端口(IPv6)-WFP Native MAC Layer LightWeight Filter-0000
  • WAN 微型端口(IPv6)-WFP Native MAC Layer LightWeight Filter-0000 is up and running ?false
  • WAN 微型端口(IPv6)-WFP Native MAC Layer LightWeight Filter-0000 Supports Multicast: true
  • WAN 微型端口(IPv6)-WFP Native MAC Layer LightWeight Filter-0000 Name: eth7
  • WAN 微型端口(IPv6)-WFP Native MAC Layer LightWeight Filter-0000 Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: WAN 微型端口(IPv6)-QoS Packet Scheduler-0000
  • WAN 微型端口(IPv6)-QoS Packet Scheduler-0000 is up and running ?false
  • WAN 微型端口(IPv6)-QoS Packet Scheduler-0000 Supports Multicast: true
  • WAN 微型端口(IPv6)-QoS Packet Scheduler-0000 Name: eth8
  • WAN 微型端口(IPv6)-QoS Packet Scheduler-0000 Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: WAN 微型端口(网络监视器)-WFP Native MAC Layer LightWeight Filter-0000
  • WAN 微型端口(网络监视器)-WFP Native MAC Layer LightWeight Filter-0000 is up and running ?false
  • WAN 微型端口(网络监视器)-WFP Native MAC Layer LightWeight Filter-0000 Supports Multicast: true
  • WAN 微型端口(网络监视器)-WFP Native MAC Layer LightWeight Filter-0000 Name: eth9
  • WAN 微型端口(网络监视器)-WFP Native MAC Layer LightWeight Filter-0000 Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: WAN 微型端口(网络监视器)-QoS Packet Scheduler-0000
  • WAN 微型端口(网络监视器)-QoS Packet Scheduler-0000 is up and running ?false
  • WAN 微型端口(网络监视器)-QoS Packet Scheduler-0000 Supports Multicast: true
  • WAN 微型端口(网络监视器)-QoS Packet Scheduler-0000 Name: eth10
  • WAN 微型端口(网络监视器)-QoS Packet Scheduler-0000 Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: Tencent VirtIO Ethernet Adapter-WFP Native MAC Layer LightWeight Filter-0000
  • Tencent VirtIO Ethernet Adapter-WFP Native MAC Layer LightWeight Filter-0000 is up and running ?false
  • Tencent VirtIO Ethernet Adapter-WFP Native MAC Layer LightWeight Filter-0000 Supports Multicast: true
  • Tencent VirtIO Ethernet Adapter-WFP Native MAC Layer LightWeight Filter-0000 Name: eth11
  • Tencent VirtIO Ethernet Adapter-WFP Native MAC Layer LightWeight Filter-0000 Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: Tencent VirtIO Ethernet Adapter-QoS Packet Scheduler-0000
  • Tencent VirtIO Ethernet Adapter-QoS Packet Scheduler-0000 is up and running ?false
  • Tencent VirtIO Ethernet Adapter-QoS Packet Scheduler-0000 Supports Multicast: true
  • Tencent VirtIO Ethernet Adapter-QoS Packet Scheduler-0000 Name: eth12
  • Tencent VirtIO Ethernet Adapter-QoS Packet Scheduler-0000 Is Virtual: false
  • IP addresses:
  • Network Interface Display Name: Tencent VirtIO Ethernet Adapter-WFP 802.3 MAC Layer LightWeight Filter-0000
  • Tencent VirtIO Ethernet Adapter-WFP 802.3 MAC Layer LightWeight Filter-0000 is up and running ?false
  • Tencent VirtIO Ethernet Adapter-WFP 802.3 MAC Layer LightWeight Filter-0000 Supports Multicast: true
  • Tencent VirtIO Ethernet Adapter-WFP 802.3 MAC Layer LightWeight Filter-0000 Name: eth13
  • Tencent VirtIO Ethernet Adapter-WFP 802.3 MAC Layer LightWeight Filter-0000 Is Virtual: false
  • IP addresses:
  •  
    本文系作者在时代Java发表,未经许可,不得转载。如有侵权,请联系nowjava@qq.com删除。

    编辑于

    关注时代Java

    关注时代Java