Advertisement
Guest User

Untitled

a guest
Aug 21st, 2012
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. # Adding Virtual IP
  3. modprobe ipv6
  4. ip tunnel add he-ipv6 mode sit remote 209.51.181.2 local 192.168.1.200 ttl 255
  5. ip link set he-ipv6 up
  6. ip addr add 2001:470:1f10:6cc::2/64 dev he-ipv6
  7. ip route add ::/0 dev he-ipv6
  8. ip -f inet6 addr
  9. ip addr add 2001:470:1f10:6cc::3/64 dev he-ipv6
  10. ip addr add 2001:470:1f10:6cc::4/64 dev he-ipv6
  11. echo IPv6 has been added at $(date) >> /home/testuser/ipv6-status
  12. &
  13. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement