svn path=/configurations/trunk/tud/; revision=26302
svn path=/configurations/trunk/tud/; revision=26302
Eelco Dolstra committed
Mar 14, 2011 at 15:11 UTC
368c523dabb57f389688d1660af61fd9d590da2e
1 file changed
+2
-2
cartman.nix
+2
-2
@@ -115,10 +115,10 @@ rec {
115
ip tunnel add tun6to4 mode sit remote any local ${myIP} ttl 64
116
ip link set dev tun6to4 mtu 1472 up
117
ip -6 addr add $addr6/128 dev tun6to4
118
- ip -6 route add 2000::/3 via ::192.88.99.1 dev tun6to4 metric 1
118
+ ip -6 route add default via ::192.88.99.1 dev tun6to4 metric 1
119
120
# enable forwarding for the rest of the network
121
- ip -6 addr add $prefix6::1 dev eth0
121
+ ip -6 addr add $prefix6::1/64 dev eth0
122
ip -6 route add $prefix6::/64 dev eth0
123
'';
124
};