Advertisement
mightyroot

multicast tunnel

Sep 24th, 2011
389
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. modprobe ip_gre
  2. ip tunnel add netb mode gre remote 10.58.58.1 local 192.168.0.199 ttl 255
  3. ip link set netb up
  4. ip addr add 10.58.59.2/24 dev netb
  5. ip route add 225.100.0.0/16 via 10.58.59.1
  6. ip link set netb multicast on
  7. sysctl -q net.ipv4.conf.netb.rp_filter=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement