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

 

posted @ 2013-06-24 20:34  功夫 熊猫  阅读(2159)  评论(0编辑  收藏  举报