router - switch mode
Hinnack
henrik.genssen at gmail.com
Sun Jul 31 15:46:39 CEST 2022
Hi,
I am using tinc version 1.0.35 on an openwrt router.
All other nodes in my MESH network run in router mode. If I configure tinc
on my openwrt in router mode, too, everything works as expected.
Except MULTICAST. I need not to send any MULTICAST packets into the tunnel,
but on LAN AND WLAN (combined using a bridge) and having the same IP as
tinc.
If I stop tinc MULTICAST works as expected.
Now my idea was to add tinc to the bridge, which only works in switch or
hub mode. I managed to do so following this documentation:
https://www.tinc-vpn.org/examples/bridging/
But now my tunnel does not work anymore. I can not ping any IP on the
other side...
settings are:
brctl show
bridge name bridge id STP enabled interfaces
br-lan 7fff.9483c4198dfc no eth0.1
ra0
rz-all-tap
ifconfig
br-lan Link encap:Ethernet HWaddr 94:83:C4:19:8D:FC
inet addr:10.150.93.1 Bcast:10.150.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:178117 errors:0 dropped:0 overruns:0 frame:0
TX packets:259491 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:25828188 (24.6 MiB) TX bytes:265021207 (252.7 MiB)
eth0 Link encap:Ethernet HWaddr 94:83:C4:19:8D:FB
inet6 addr: fe80::9683:c4ff:fe19:8dfb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:487150 errors:0 dropped:16 overruns:0 frame:0
TX packets:445162 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:306850721 (292.6 MiB) TX bytes:300585809 (286.6 MiB)
Interrupt:5
eth0.1 Link encap:Ethernet HWaddr 94:83:C4:19:8D:FC
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:177895 errors:0 dropped:0 overruns:0 frame:0
TX packets:260357 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:25780138 (24.5 MiB) TX bytes:265115045 (252.8 MiB)
eth0.2 Link encap:Ethernet HWaddr 94:83:C4:19:8D:FB
inet addr:192.168.2.106 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:306742 errors:0 dropped:12648 overruns:0 frame:0
TX packets:184789 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:272138852 (259.5 MiB) TX bytes:33687631 (32.1 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:17124 errors:0 dropped:0 overruns:0 frame:0
TX packets:17124 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1917492 (1.8 MiB) TX bytes:1917492 (1.8 MiB)
ra0 Link encap:Ethernet HWaddr 94:83:C4:19:8D:FB
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:6
rz-all-tap Link encap:Ethernet HWaddr 36:6B:FA:12:A9:FD
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4950 (4.8 KiB) TX bytes:1256 (1.2 KiB)
ra0 is WIFI, rz-all-tap is the tinc interface
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
default 192.168.2.1 0.0.0.0 UG 10 0 0
eth0.2
10.150.0.0 * 255.255.0.0 U 0 0 0
br-lan
192.168.2.0 * 255.255.255.0 U 10 0 0
eth0.2
Any idea?
kind regards,
Henrik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20220731/6ff70ae6/attachment-0001.htm>
More information about the tinc
mailing list