1- First make sure that your SRX is support inet6 flow :
root@Lab> show security flow status
Flow forwarding mode:
Inet forwarding mode: flow based
Inet6 forwarding mode: drop
MPLS forwarding mode: drop
ISO forwarding mode: drop
Advanced services data-plane memory mode: Default
Flow trace status
Flow tracing status: off
Flow session distribution
Distribution mode: RR-based
Flow ipsec performance acceleration: off
Flow packet ordering
Ordering mode: Hardware
f it appears to be in “drop” mode , then you need to enable it and reboot the device :
root@lab# set security forwarding-options family inet6 mode flow-based
root@lab# exit
root@lab> request system reboot
After reboot:
root@School-Lab> show security flow status
Flow forwarding mode:
Inet forwarding mode: flow based
Inet6 forwarding mode: flow based
MPLS forwarding mode: drop
ISO forwarding mode: drop
Advanced services data-plane memory mode: Default
Flow trace status
Flow tracing status: off
Flow session distribution
Distribution mode: RR-based
Flow ipsec performance acceleration: off
Flow packet ordering
Ordering mode: Hardware
2- Configure IPv6 on interface :
set interfaces ge-0/0/15 unit 0 family inet6 address 2001:2222:1111:e00::d11/56
3- Static route :
set routing-options rib inet6.0 static route ::/0 next-hop 2001:2222:1111:e00::1