View difference between Paste ID: wdWTruhq and 6Vu2vsxR
SHOW: | | - or go back to the newest paste.
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
11+
echo IPv6 has been added at $(date) >> /home/testuser/ipv6-status
12
&
13
exit 0