linux查看所有加入组播

编程

netstat -g

IPv6/IPv4 Group Memberships

Interface RefCnt Group

--------------- ------ ---------------------

lo 1 all-systems.mcast.net

enp179s0 1 all-systems.mcast.net

enp179s0d1 1 all-systems.mcast.net

enp6s0 1 all-systems.mcast.net

enp7s0 1 all-systems.mcast.net

enp23s0f0n 1 all-systems.mcast.net

enp23s0f1n 1 239.5.5.5

enp23s0f1n 1 all-systems.mcast.net

tun0 1 all-systems.mcast.net

lo 1 ff02::1%1498422160

lo 1 ff01::1%1498422160

enp179s0 1 ff02::1%1498422160

enp179s0 1 ff01::1%1498422160

enp179s0d1 1 ff02::1:ff02:567%1498422160

enp179s0d1 2 ff02::1%1498422160

enp179s0d1 1 ff01::1%1498422160

enp6s0 1 ff02::1:ff20:2341%1498422160

enp6s0 2 ff02::1%1498422160

enp6s0 1 ff01::1%1498422160

The "all-systems.mcast.net" and similar addresses are reserved for IP multicasting and are registered with IANA. They cannot be changed.

In your case all-systems.mcast.net is 224.0.0.1.

You can find these assignments http://www.iana.org/assignments/multicast-addresses/multicast-addresses.xhtml

netstat -ng

IPv6/IPv4 Group Memberships

Interface RefCnt Group

--------------- ------ ---------------------

lo 1 224.0.0.1

enp179s0 1 224.0.0.1

enp179s0d1 1 224.0.0.1

enp6s0 1 224.0.0.1

enp7s0 1 224.0.0.1

enp23s0f0n 1 224.0.0.1

enp23s0f1n 1 239.5.5.5

enp23s0f1n 1 224.0.0.1

tun0 1 224.0.0.1

lo 1 ff02::1

lo 1 ff01::1

enp179s0 1 ff02::1

enp179s0 1 ff01::1

enp179s0d1 1 ff02::1:ff02:567

enp179s0d1 2 ff02::1

enp179s0d1 1 ff01::1

enp6s0 1 ff02::1:ff20:2341

enp6s0 2 ff02::1

enp6s0 1 ff01::1

enp7s0 1 ff02::1:ff20:2340

enp7s0 2 ff02::1

enp7s0 1 ff01::1

enp23s0f0np0 1 ff02::1:ff75:d790

enp23s0f0np0 2 ff02::1

enp23s0f0np0 1 ff01::1

enp23s0f1np1 1 ff02::1:ff75:d791

enp23s0f1np1 2 ff02::1

enp23s0f1np1 1 ff01::1

tun0 1 ff02::1

tun0 1 ff01::1

以上是 linux查看所有加入组播 的全部内容, 来源链接: utcz.com/z/518513.html

回到顶部