1
mirror of git://git.acid.vegas/random.git synced 2024-11-14 20:16:40 +00:00
random/networking/ovh6

5 lines
143 B
Bash
Executable File

#!/bin/sh
#usage: ovh6 IPV6_ADDRESS IPV6_GATEWAY
ip addr add $1/64 dev eth0
ip -6 route add $2 dev eth0
ip -6 route add default via $2 dev eth0