Arch Linux and IPV6
/etc/network.d/eth0
CONNECTION='ethernet'
DESCRIPTION='External Network to the outside world.'
INTERFACE='eth0'
IP='static'
IP6='static'
IPCFG=('addr add dev eth0 50.116.60.19/24 brd +'
'route add default via 50.116.60.1'
'addr add dev eth0 50.116.60.22/24 brd +'
'route add to 50.116.60.22 via 50.116.60.1'
'addr add dev eth0 50.116.60.23/24 brd +'
'route add to 50.116.60.23 via 50.116.60.1'
'addr add dev eth0 50.116.60.24/24 brd +'
'route add to 50.116.60.24 via 50.116.60.1'
'addr add dev eth0 50.116.60.25/24 brd +'
'route add to 50.116.60.25 via 50.116.60.1'
'addr add dev eth0 2600:3c03::21:6019/64'
'addr add dev eth0 2600:3c03::21:6022/64'
'addr add dev eth0 2600:3c03::21:6023/64'
'addr add dev eth0 2600:3c03::21:6024/64'
'addr add dev eth0 2600:3c03::21:6025/64')
DNS=('8.8.8.8' '8.8.4.4' '97.107.133.4' '207.192.69.4' '207.192.69.5' '2001:4860:4860::8888' '2001:4860:4860::8844' '2600:3c03::2' '2600:3c03::3')
I can ping my ipv6 from the outside world, but for some reason couldn't add routes. Not sure if its good to go as is. Thoughts ?
For reference these were my routes for ipv6:
'route add to 2600:3c03::21:6019 via fe80::1'
'route add to 2600:3c03::21:6022 via fe80::1'
'route add to 2600:3c03::21:6023 via fe80::1'
'route add to 2600:3c03::21:6024 via fe80::1'
'route add to 2600:3c03::21:6025 via fe80::1')
1 Reply
CONNECTION='ethernet'
DESCRIPTION='External Network to the outside world.'
INTERFACE='eth0'
IP='static'
IP6='stateless'
IPCFG=('addr add dev eth0 50.116.60.19/24 brd +'
'route add default via 50.116.60.1'
'addr add dev eth0 50.116.60.22/24 brd +'
'addr add dev eth0 50.116.60.23/24 brd +'
'addr add dev eth0 50.116.60.24/24 brd +'
'addr add dev eth0 50.116.60.25/24 brd +'
'-6 addr add dev eth0 2600:3c03::21:6019/64'
'-6 addr add dev eth0 2600:3c03::21:6022/64'
'-6 addr add dev eth0 2600:3c03::21:6023/64'
'-6 addr add dev eth0 2600:3c03::21:6024/64'
'-6 addr add dev eth0 2600:3c03::21:6025/64')
DNS=('8.8.8.8' '8.8.4.4' '97.107.133.4' '207.192.69.4' '207.192.69.5' '2001:4860:4860::8888' '2001:4860:4860::8844' '2600:3c03::2' '2600:3c03::3')
No idea why you're trying to go route-crazy, but you need 1 default gateway for IPv4, and your IPv6 gateway is auto-added by your automatic IPv6 address via SLAAC.