Juniperも2001年からIPv6に対応している。こちらはライセンスでOSが違うことなどはない。Juniperの設定はIPv4もIPv6もほとんど書式が変わらないので、IPv4の設定ができる人はほとんど戸惑わずにIPv6も設定できるだろう。
設定は以下の通り
system {
host-name Juniper-RE0;
}
interfaces {
fe-0/0/0 {
unit 0 {
family inet {
address 192.168.0.254/24;
}
family inet6 {
address 2001:1:1:0::1/64;
address fe80::1/64;
}
}
}
fe-0/0/2 {
unit 0 {
family inet {
address 192.168.1.254/24;
}
family inet6 {
address 2001:1:1:1::1/64;
address fe80::1/64;
}
}
}
}
routing-options {
rib inet.0 {
static {
route 172.16.1.0/24 next-hop 192.168.1.253;
}
}
rib inet6.0 {
static {
route 2001:1:1:3::/64 next-hop 2001:1:1:1::254;
}
}
router-id 192.168.0.254;
}
protocols {
ospf {
export REDISTRIBUTE;
area 0.0.0.0 {
interface fe-0/0/0.0;
interface fe-0/0/1.0 {
passive;
}
}
}
ospf3 {
export REDISTRIBUTE6;
area 0.0.0.0 {
interface fe-0/0/0.0;
interface fe-0/0/1.0 {
passive;
}
}
}
}
policy-options {
policy-statement REDISTRIBUTE {
term 10 {
from {
protocol static;
}
then accept;
}
}
policy-statement REDISTRIBUTE6 {
term 10 {
from {
protocol static;
}
then accept;
}
}
}