How to add route for IPV6 interface

Firewall :this

ifconfig eth1 inet6 add 2000::1/64 spa

ifconfig eth4 inet6 add 5000::1/64ip

-----------------------it

PC (Linux):route

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

ifconfig eth0 inet6 add 5000::2/64ant

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

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

相關文章
相關標籤/搜索