You are not logged in.

#1 2013-04-18 13:22:36

Meskarune
Member
From: Helsinki, Finland
Registered: 2009-03-21
Posts: 361
Website

[Solved] Netctl - static IPv4 and IPv6 (native)

Networking info:

IPv4 public : 198.74.62.52/24
netmask : 255.255.255.0
gateway : 198.74.62.1

IPv4 private : 192.168.188.52/17
netmask : 255.255.128.0

IPv6 scope global : 2600:3c03::f03c:91ff:feae:e904/64
IPv link local : fe80::f03c:91ff:feae:e904/64
gateway : fe80::1

DNS resolvers :
97.107.133.4
207.192.69.4
207.192.69.5
2600:3c03::2
2600:3c03::3

I tried getting my public and private addresses up using the following config:

### IPv4 static address configuration
IP=static
Address=('198.74.62.52/24'
         '192.168.188.52/17')
Gateway='198.74.62.1' 

The private address would not come up, and netctl failed with exit status 0. (there wasn't a more useful debugging message, even with 'export NETCTL_DEBUG=yes')

I was able to get my public and private addresses up and working with the following:

### IPv4 static address configuration
IP=static
Address=('198.74.62.52/24')
Gateway='198.74.62.1'

IPCustom=('addr add dev eth0 192.168.188.52/17 brd +')

Without IPCustomer, the private address would not come up.

Then I tried getting my IPv6 address up. "IP6=stateless" did not work at all, so I went static:

### IPv6 static address configuration
IP6=static
Address6=('2600:3c03::f03c:91ff:feae:e904/64')
Gateway6='fe80::1'

ip addr shows the IPv6 address being up with the above, but I can't ping6 any IPv6 addresses. This is currently my full config:

Description='A basic static ethernet connection'
Interface=eth0
Connection=ethernet

### IPv4 static address configuration
IP=static
Address=('198.74.62.52/24')
Gateway='198.74.62.1'

### IPv6 static address configuration
IP6=static
Address6=('2600:3c03::f03c:91ff:feae:e904/64')
Gateway6='fe80::1'

IPCustom=('addr add dev eth0 192.168.188.52/17 brd +')

DNS=('97.107.133.4' '207.192.69.4' '207.192.69.5' '2600:3c03::2' '2600:3c03::3')

Just in case, here is my /etc/resolv.conf:

# Generated by resolvconf
nameserver 97.107.133.4
nameserver 207.192.69.4
nameserver 207.192.69.5
nameserver 2600:3c03::2
nameserver 2600:3c03::3

How can I get my IPv6 networking up? Thanks!

Last edited by Meskarune (2013-04-18 13:29:44)


Homepage  | Arch Linux Women | Arch Linux Classroom
Acer Aspire E5-575G-53VG:
Intel Dual-Core i5-6200U 2.3 GHz; Skylake rev3 | 8GB DDR4 ram | Intel HD Graphics 520 + NVIDIA GeForce 940MX
Qualcomm Atheros QCA9377 802.11ac | Realtek RTL8111/8168/8411 Gigabit Ethernet Controller

Offline

#2 2013-04-18 13:29:08

Meskarune
Member
From: Helsinki, Finland
Registered: 2009-03-21
Posts: 361
Website

Re: [Solved] Netctl - static IPv4 and IPv6 (native)

herp derp, it was an issue with ip6tables blocking outgoing

nvm, the above configuration works.


Homepage  | Arch Linux Women | Arch Linux Classroom
Acer Aspire E5-575G-53VG:
Intel Dual-Core i5-6200U 2.3 GHz; Skylake rev3 | 8GB DDR4 ram | Intel HD Graphics 520 + NVIDIA GeForce 940MX
Qualcomm Atheros QCA9377 802.11ac | Realtek RTL8111/8168/8411 Gigabit Ethernet Controller

Offline

Board footer

Powered by FluxBB