Arch Linux and IPV6

I had some trouble setting it up, pretty sure its working now without any issues. Can someone who is more experienced verify my config.

/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

Try this one out:

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.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct