How to add route for IPV6 interface

Firewall :

ifconfig eth1 inet6 add 2000::1/64

ifconfig eth4 inet6 add 5000::1/64

-----------------------

PC (Linux):

The external interface of PC connect with the eth4 interface of Firewall,

ifconfig eth0 inet6 add 5000::2/64

if we want this PC could send traffic to the interface 1 of Firewall, we need to add route in this PC:

 ifconfig  ip -6 route add 2000::/64  via 5000::1 dev eth0 metric 1

 

转载于:https://www.cnblogs.com/kungfupanda/p/3153214.html

猜你喜欢

转载自blog.csdn.net/weixin_34221276/article/details/94493311
今日推荐