IP Multicast 설정 여부 확인
컨텐츠 정보
- 7,598 조회
- 0 추천
- 목록
본문
IP Multicast 설정 여부 확인
https://www.lesstif.com/pages/viewpage.action?pageId=14090895
을 참조하여 확인 합니다
ip maddr 명령어 사용
$ ip maddr show
1: lo
inet 224.0.0.1
inet6 ff02::1
2: eth0
link 01:00:5e:00:00:04
link 01:00:5e:00:00:fb
link 01:80:c2:00:00:03
link 01:80:c2:00:00:00
link 01:80:c2:00:00:0e
link 33:33:00:00:02:02
link 33:33:ff:73:d0:d8
link 01:00:5e:00:00:01
link 33:33:00:00:00:01
inet 228.0.0.4 users 2
inet 224.0.0.251
inet 224.0.0.1
inet6 ff02::202
inet6 ff02::1:ff73:d0d8
inet6 ff02::1
3: eth1
link 01:80:c2:00:00:03
link 01:80:c2:00:00:00
link 01:80:c2:00:00:0e
link 33:33:00:00:00:01
inet6 ff02::1
상기 아답터 dev를 ens33 으로 저의 시스템 확인 합니다
netstat -g 사용
$ netstat -g
IPv6/IPv4 Group Memberships
Interface RefCnt Group
--------------- ------ ---------------------
lo 1 all-systems.mcast.net
eth0 2 228.0.0.4
eth0 1 224.0.0.251
eth0 1 all-systems.mcast.net
lo 1 ff02::1
eth0 1 ff02::202
eth0 1 ff02::1:ff73:d0d8
eth0 1 ff02::1
eth1 1 ff02::1
netstat -g
/proc 확인
$ cat /proc/net/igmp
Idx Device : Count Querier Group Users Timer Reporter
1 lo : 1 V3
010000E0 1 0:00000000 0
2 eth0 : 3 V3
040000E4 2 0:00000000 0
FB0000E0 1 0:00000000 0
010000E0 1 0:00000000 0
ifconfig
ifconfig eth0 |grep MULTICAST
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
multicast on
ifconfig eth0 multicast
multicast off
ifconfig eth0 -multicast
ifconfig ens33 |grep MULTICAST
ifconfig ens33 -multicast
는 off 되고
ifconfig
확인
ifconfig ens33 multicast
는 on 되고
ifconfig
확인
multicast on
#ip maddr add MULTIADDR dev STRING
ip maddr add 224.0.0.1 dev eth1
ip maddr add 224.0.0.1 dev ens33
multicast off
#ip maddr del MULTIADDR dev STRING
ip maddr del 224.0.0.1 dev eth1
ip maddr del 224.0.0.1 dev ens33
■ ▶ ☞ ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다. https://11q.kr ♠