You are not logged in.

#1 2011-09-26 13:53:06

anonova
Member
Registered: 2009-07-22
Posts: 23

[SOLVED] netcfg: unable to add gateway on boot when using ipv6

I'm using netcfg to start two interfaces. The first, eth0, is configured with IPv6 in its profile, and for some reason does not start on boot but throws an error. (note: I've changed the real addresses to mask them.)

:: eth0 up                                                            [BUSY]
[ 4.622278] NET: Registered protocol family 10
RTNETLINK answers: No route to host
> Adding gateway 1234:5678:2::2 failed
                                                                      [FAIL]

The strange thing is that, after boot, I can easily do a `/etc/rc.d/net-profiles restart` or `netcfg up eth0`, and eth0 works fine. Any suggestions? Here's my eth0 profile.

CONNECTION='ethernet'
INTERFACE='eth0'

IP='static'
ADDR='123.123.123.12'
GATEWAY='123.123.123.1'

IP6='static'
ADDR6='1234:5678:2:9012::1/64'
GATEWAY6='1234:5678:2::2'

Last edited by anonova (2011-09-27 17:14:25)

Offline

#2 2011-09-26 18:12:18

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: [SOLVED] netcfg: unable to add gateway on boot when using ipv6

What does you rc.conf look like?  Specifically the network section and the daemon array.


I laugh, yet the joke is on me

Offline

#3 2011-09-26 19:09:42

anonova
Member
Registered: 2009-07-22
Posts: 23

Re: [SOLVED] netcfg: unable to add gateway on boot when using ipv6

# NETWORKING
HOSTNAME="arch"
NETWORK_PERSIST="no"
NETWORKS=(eth0 eth1)

# DAEMONS
DAEMONS=(hwclock acpid syslog-ng net-profiles sshd nginx @crond)

Offline

#4 2011-09-26 23:38:03

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: [SOLVED] netcfg: unable to add gateway on boot when using ipv6

Have you already gone through these instructions:

https://wiki.archlinux.org/index.php/IP … ic_Address


I laugh, yet the joke is on me

Offline

#5 2011-09-27 17:14:04

anonova
Member
Registered: 2009-07-22
Posts: 23

Re: [SOLVED] netcfg: unable to add gateway on boot when using ipv6

Adding ipv6 to the modules array worked. Thanks, the sad clown!

Offline

Board footer

Powered by FluxBB