User Tools

Site Tools


ip_multicast

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ip_multicast [2019/02/11 03:12]
root
ip_multicast [2019/02/11 03:28] (current)
root
Line 13: Line 13:
   [email protected]:​~ $ sudo ip route add 224.222.222.222 dev wlan0   [email protected]:​~ $ sudo ip route add 224.222.222.222 dev wlan0
  
 +<​code>​
 +[email protected]:​~ $ cat /​etc/​systemd/​system/​multicast-route.service
 +[Unit]
 +Description=IP Multicast Routes
 +After=network.target
 +
 +[Service]
 +Type=oneshot
 +RemainAfterExit=yes
 +ExecStart=/​sbin/​ip route add 224.222.222.222 dev wlan0
 +ExecStop=/​sbin/​ip route del 224.222.222.222 dev wlan0
 +
 +[Install]
 +WantedBy=multi-user.target
 +</​code>​
ip_multicast.txt ยท Last modified: 2019/02/11 03:28 by root