OpenBSD 3.9 route problem
Carmen Sandiego on Sunday, 13 August 2006 14:55:53
I recently upgraded my old openbsd build to a new one, exactly the 3.9.
Well now i've a couple of problem setting up my tunnel:
when i try to setup the default route with the usual command, "route add -inet6 default ipv6endpoint"
something it's not workin now, see the route table:
Internet6:
Destination Gateway Flags Refs Use Mtu Interface
route: illegal prefixlen
::/4 2001:960:2:254::1 UGS 1 1 - gif0
that "illegal prefixlen" seems to be the error but i don't know how to solve it.
Also compiling the new aiccu (AICCU 2006.07.25-console-openbsd by Jeroen Massar) has problem now, since in the last release libresolv was removed from openbsd, the package can't be compiled properly "-lresolv" needed from makefile
OpenBSD 3.9 route problem
Shadow Hawkins on Saturday, 07 October 2006 14:50:24
Hi Maruo,
I get the "route: illegal prefixlen" warning even though my tunnel works. So it doesn't seem to be of any significance.
I am running OpenBSD4.0-current and I use the aiccu port available at http://www.kaschwig.net/projects/openbsd/sixxs/ to create the tunnel. It just needs a little patch in order to compile on 4.0:
The /usr/ports/net/sixxs-aiccu/w-sixxs-aiccu-2005-01-31/aiccu/unix-console/Makefile just needs a little patch in order to compile on OpenBSD 4.0:
--- Makefile.orig Sat Oct 7 16:37:36 2006
+++ Makefile Sat Oct 7 05:17:29 2006
@@ -71,6 +71,12 @@
SRCS += ../common/aiccu_openbsd.c
OBJS += ../common/aiccu_openbsd.o
endif
+# 4.x
+ifeq ($(shell uname -r | cut -c 1),4)
+CFLAGS += -static -D AICCU_TYPE="\"openbsd\""
+SRCS += ../common/aiccu_openbsd.c
+OBJS += ../common/aiccu_openbsd.o
+endif
CFLAGS += -pthread
endif
The sixxs-aiccu does all the gif0 interface and routing configuration, so I don't need to create a hostname.gif0, neither do I need to manually add the default route.
However, I couldn't ping6 the remote POP endpoint until I added this line to my pf.conf:
pass out on $ext_if inet proto ipv6 all keep state
Hope this helps.
OpenBSD 3.9 route problem
Shadow Hawkins on Thursday, 09 November 2006 08:16:36
Hi Daniel,
I updated to OpenBSD 4.0 lately and this made aiccu work again :)
Thank you,
Tim
OpenBSD 3.9 route problem
Shadow Hawkins on Wednesday, 02 May 2007 03:32:05
[QUOTE]
pass out on $ext_if inet proto ipv6 all keep state
Hope this helps.
[/QUOTE]
However,
this has helped me on OpenBSD current, helping a friend. Now, it's
all about the finetuning. If all goes well, I'll switch from
Freeipfw }) to Openpf |:( on my box too.
err ;)
greetz Stefan
Posting is only allowed when you are logged in. |