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)
- mwan3: Potential race condition between mwan3 and tailscale HOT 6
- daemon.err dnscrypt-proxy[507] HOT 3
- prometheus-node-exporter-lua: Missing dependency libubus-lua HOT 2
- fwknop new release 2.6.11
- ffmpeg-full: compile with freetype support
- lang/rust/host/compile failed to build for aarch64+glibc target on aarch64 host HOT 1
- mwan3: Multiwan switches to only 1 WAN only HOT 5
- dnsproxy update? HOT 4
- Goland (go) update
- podman: Failed to add conmon to cgroupfs sandbox cgroup HOT 8
- tor: Version 4.7.10 in 22.03 is considered insecure by the network HOT 5
- gpiod-tools: gpioinfo: error creating line iterator HOT 8
- modemmanager: data connection failure when using QMAP
- commit permissions HOT 2
- libc: BPI R3 issue on repo HOT 5
- https-dns-proxy: service stopping on boot HOT 8
- kmod-iwl-legacy and kmod-iwl3945 packages missing in 23.05.2 HOT 2
- [22.03] Python3-boto3 package incompatible with python3-light HOT 11
- p910nd: drivers are missing when hotpluging HOT 22
- When the main branch runs:`/etc/init.d/mwan3 restart`, appears `uci: Entry not found`! HOT 8
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.