I am trying to change the netmask and gateway of a running ipv6 interface.
On ipv4, I can simply do something like:
ifconfig eth0 netmask 255.255.255.0 gateway 123.123.123.123
How would I do this with ipv6?
I have tried several ways without any success:
ifconfig eth0 inet6 netmask 112 gateway xxxx:xxxx:xxxx:xxxx::
How does the correct syntax look like?