Skip to content

Instantly share code, notes, and snippets.

@vjyanand
Last active January 30, 2016 06:20
Show Gist options
  • Save vjyanand/9ff5628e92dde25522e2 to your computer and use it in GitHub Desktop.
Save vjyanand/9ff5628e92dde25522e2 to your computer and use it in GitHub Desktop.
smartos ipv6
svcadm enable ndp
ifconfig bge0 inet6 plumb
ifconfig bge0 inet6 addif 2607:f128:0421:0081:0732:0003:1208:3300/64 up
route add -inet6 2607:f128:0421:0081::1 2607:f128:0421:0081:0732:0003:1208:3300 -interface
route add -inet6 default 2607:f128:0421:0081::1
dladm create-bridge six
dladm create-etherstub stub2
dladm set-linkprop -p mtu=1500 stub2
dladm add-bridge -l stub2 -l bge0 six
dladm create-vnic -l stub2 vnic2
ifconfig vnic2 inet6 plumb
ifconfig vnic2 inet6 addif 2607:f128:440:300::1/64 up
svcadm enable ipv6-forwarding
2607:f128:0421:0081::1
2607:f128:421:81:0732:0003:1208:3300/64
2607:f128:440:300::/64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment