博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Script that build Dual Stack route
阅读量:6840 次
发布时间:2019-06-26

本文共 467 字,大约阅读时间需要 1 分钟。

hot3.png

#!/bin/sh
modprobe ipv6
echo 1 >  /proc/sys/net/ipv6/conf/all/forwarding
# start pppoe server
# pppoe-server -I eth0 -L 192.134.55.1 -R 192.134.55.2
ip -6 a a 2001:470:1f05:1553::200 dev eth1 

ip -6 route add 2001:470:8637:e000::/60 via fe80::428b:7ff:fee0:585 dev eth0

ip -6 route add 2001:470:8637:4444::/64 via fe80::428b:7ff:fee0:585 dev eth0

#add default route 
ip -6 r a default via fe80::21f:d0ff:fe67:a88d dev eth1

转载于:https://my.oschina.net/xxjbs001/blog/184252

你可能感兴趣的文章