mirror of
git://git.acid.vegas/random.git
synced 2024-11-14 20:16:40 +00:00
5 lines
143 B
Plaintext
5 lines
143 B
Plaintext
|
#!/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
|