Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Tunnel multicast to get around layer2 vmware issue for glassfish session management
- #
- # One End
- /sbin/modprobe ip_gre
- /sbin/ip tunnel add netb mode gre remote 165.206.47.106 local 165.206.47.109 ttl 255
- /sbin/ip link set netb up
- /sbin/ip addr add 10.0.1.1 dev netb
- /sbin/ip route add 10.0.2.0/24 dev netb
- /sbin/ifconfig netb multicast
- /sbin/ip route add 224.0.0.0/4 dev netb
- #Other end:
- /sbin/modprobe ip_gre
- /sbin/ip tunnel add neta mode gre remote 165.206.47.109 local 165.206.47.106 ttl 255
- /sbin/ip link set neta up
- /sbin/ip addr add 10.0.2.1 dev neta
- /sbin/ip route add 10.0.1.0/24 dev neta
- /sbin/ifconfig neta multicast
- /sbin/ip route add 224.0.0.0/4 dev neta
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement