sbyx / 6relayd Goto Github PK
View Code? Open in Web Editor NEWsuperseded by odhcpd
License: GNU General Public License v2.0
superseded by odhcpd
License: GNU General Public License v2.0
This morning I tried to compile an openwrt image for my router using musl instead of uclibc and the compiler stopped in 6relayd/src/dhcpv6-ia.c
This happens because the code uses the FILE type and therefore it should
#include <stdio.h>
Adding this header fixes the compilation error.
6relayd works great on all Linux I tried. Not only OpenWRT, other Linux routers and desktops as well. But I've got routers running NetBSD. It won't compile on BSD or OS X due to the missing of some Linux-specified header files.
Please port this great program to more platforms.
I've found this to be the best IPv6 RA package for OpenWRT. Are you continuing development on this package?
I sure hope so ๐
GCC 4.7 warns about unused result on router.c:216, i.e.
read(event->socket, &overrun, sizeof(overrun));
And the compiler flags are set to -Werror, which makes it not able to compile.
I have the following configuration:
wlan Adapter radio0
bridge of two devices [eth0, radio1] br0
radio0 is connected to the main network...
why does 6relayd -A radio0 br0 -v
not work?
i get the ipv6 adresses on my Android device,
but connecting to the Internet via ipv6 is not possible :(
Thanks for helping...
Hello,
I was trying but did not succeeded in setting up 6relayd on an Openwrt 12.09 router. I created the 6relayd package with the 12.09 SDK and it states to have the version "2013-07-26-2ed520c500b0fbb484cfad5687eb39a0da43dcf7". The configuration files are shown below. Instead of relaying the ip6 addresses from the DHCPv6 server of the network it filled the syslog with error messages looking like:
6relayd Failed to relay to 2110:0cd:904:802::435%br-lan (Network is unreachable)
The ip6-address given here is actually a valid ipv6 address which should be forwarded from the DHCPv6-Server to the requesting client - but somehow it doesn't. Is this a (known) bug? Does it need some configuration where I tell 6relayd how to route the relaying packages? Do I have to define a prefix somewhere?
The Openwrt router itself gets a valid ipv6 address including (locallink-)gateway and DNSv6 address from the central DHCPv6 server.
6relayd config:
config server default
option master 'wan6'
list network 'lan'
option rd 'relay'
option dhcpv6 'relay'
option ndp 'relay'
option management_level 1
Network config:
config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'
option reqaddress 'try'
option reqprefix 'auto'
Perhaps I misunderstand the idea of always_announce_default_router; but, let's assume I have a lonely OWRT box, with 5 different /64s (one on each interface), and no global default route.
In router.c:287, parse_routes fails as no default route.
I have chosen always_announce_default_router, though, and expected to be able to ping the other prefixes from one of the interface. That doesn't happen. Is this wrong option, or should the check in router.c: for parse_routes be removed? The router lifetime is zeroed on line 349 in router.c in any case if various conditions are not met..
I have the following configuration:
wlan Adapter radio0
bridge of two devices [eth0, radio1] br0
radio0 is connected to the main network...
why does 6relayd -A radio0 br0 -v
not work?
i get the ipv6 adresses on my Android device,
but connecting to the Internet via ipv6 is not possible :(
Thanks for helping...
I have the following configuration:
wlan Adapter radio0
bridge of two devices [eth0, radio1] br0
radio0 is connected to the main network...
why does 6relayd -A radio0 br0 -v
not work?
i get the ipv6 adresses on my Android device,
but connecting to the Internet via ipv6 is not possible :(
Thanks for helping...
i am not sure, if i need
net.ipv6.conf.default.forwarding=1
and
net.ipv6.conf.all.forwarding=1
or just one
or does it not work entirely?
i have 6relayd installed on my router, but it's not working
i'm able to gain an ipv6 address and ping the router,but unable to access the Internet
already have such settings in /etc/sysctl.conf:
net.ipv6.conf.default.forwarding=1
net.ipv6.conf.all.forwarding=1
currently i dont have ip6tables installed, is that the problem?
I'm running 6relayd on the edge router of a multihop network. Most end nodes are not
immediate neighbours of the edge router on the slave interfaces -- they are behind one
or more routers.
I'd like 6relayd to reply unconditionally to an NS for an address in a prefix that I specify.
--jch
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.