Comments (13)
hi @duvi
can you make a pull request?
from packages.
Not sure how to do that, but I'll try.
from packages.
ping @oskar456
from packages.
Actually, it does add a default route properly using neitfd proto hooks (see lines 58, 65 and 70 in aiccu.sh). The default route should not be pushed directly into main routing table, like the aiccu daemon does, because it would then break source based IPv6 routing. That's why generated aiccu config file is set always to disable the default route.
It works for me on trunk. On what version do you have issues? Have you tried turning off ''sourcerouting''?
from packages.
ping @duvi
from packages.
It's not working for me with the original script, whether I have defaultroute 0 or 1 in the network config file.
There's "kern.debug kernel: [96384.380000] ip6_route_me_harder: No more route." in logread if I try to ping an ipv6 address.
from packages.
@duvi What version of openwrt are you running? What type of tunnel are you trying to set up? What is the output of ifstatus <aiccu-interface>
?
from packages.
I'm running trunk r42165.
Network aiccu config:
config interface wan6
option proto 'aiccu'
option username 'xxxx-SIXXS'
option password 'xxxxxxxx'
option server 'tic.sixxs.net'
option protocol 'tic'
option ip6prefix '2a01:xxx:xxxx::/48'
option defaultroute '1'
option nat '0'
option heartbeat '1'
root@OpenWrt:~# ifstatus wan6
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"uptime": 5077,
"l3_device": "aiccu-wan6",
"proto": "aiccu",
"updated": [
"routes",
"prefixes"
],
"metric": 0,
"delegation": true,
"ipv4-address": [
],
"ipv6-address": [
],
"ipv6-prefix": [
{
"address": "2a01:xxx:xxxx::",
"mask": 48,
"class": "wan6",
"assigned": {
}
}
],
"ipv6-prefix-assignment": [
],
"route": [
{
"target": "::",
"mask": 0,
"nexthop": "::",
"source": "2a01:xxx:xxxx::\/48"
},
{
"target": "::",
"mask": 0,
"nexthop": "::",
"source": "::\/128"
}
],
"dns-server": [
],
"dns-search": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
]
},
"data": {
}
}
from packages.
@duvi I cannot reproduce your issue. Your ifstatus output shows that netifd is aware of default route through the tunnel and should set the default route correctly (please note that the default route is not visible in the main routing table due to policy routing). In my test environment, the output is the same and it works.
from packages.
Could you please share your aiccu network config?
from packages.
This is my configuration. Tested with AYIYA and Heartbeat tunnel type.
config interface 'wan6'
option proto 'aiccu'
option username 'OCB1-SIXXS/T76490'
option password 'Password'
option verbose 'true'
option ip6prefix '2a01:8c00:ff00:8109::/64'
from packages.
Thank you! I'll try to play with my config as soon as I can, but currently I'm 2 weeks away from my home router.
I'll write if I can find out anything.
from packages.
I had some time now, modified my config a little, also added ip6assign to the lan interface, and now it seems to be working, the default route is added automatically without the hack.
Thank you for your help!
from packages.
Related Issues (20)
- jool: nat64 incorrect/bad checksum for tcp4 and udp4 Packets on mpc85xx/p1010 HOT 4
- https-dns-proxy: process stuck at 100% (with curl 8.9.0) HOT 9
- xz: build broken for mips64/octeon HOT 2
- v2RayA: Network Configuration Unsoliticitly Changed After Adding v2Ray Server Info HOT 1
- tailscale: missing from 23.05.4 (aarch64_cortex-a53) HOT 3
- mariadb fails to build on snapshot
- uhubctl: should built with __gnu_linux__
- tailscale: Tailscale in OpenWrt is vulnerable HOT 11
- domoticz: Crashes with custom userdata path
- px5g-mbedtls only 512 bit key HOT 4
- olsr: Terminating with "Bad Configuration" when selecting "6and4" (syntax error) for IPVersion
- perl-dbi: Can't load '/usr/lib/perl5/5.28/auto/DBI/DBI.so HOT 1
- Error Compiling nginx-njs Module Due to Missing libxml2/libxslt Libraries
- sockd Segmentation fault HOT 7
- Raspberry pi 4 with Openwrt 23.05.4 cannot connect to the internet and cannot access to luci login page after installing packages
- modemmanager: improper detection of modem at boot HOT 2
- zerotier: goes OFFLINE after some days, restarting the service brings it back ONLINE HOT 1
- [avahi-daemon] repead turn on and turn off Wifi Radios, oom happened. HOT 3
- dnsproxy - latest update requires changes to init.d/dnsproxy HOT 4
- strelaysrv: init.d doesn't start deamon HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packages.