Control which packets are sent on eth1 and speed.

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Goto page Previous  1, 2, 3  Next
Author Message
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Sat May 20, 2023 18:10    Post subject: Reply with quote
Excellent. Thank you, I will look forward to that.

I still haven't worked out how to isolate my VLAN from the IPv6 packets I am experiencing.

As I say, they appear to be being generated by 2 of the the routers interfaces even though IPv6 is disabled, and they are making their way onto the VLAN somehow.
Sponsor
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2976
Location: Germany

PostPosted: Sun May 21, 2023 10:14    Post subject: Reply with quote
These are multicast packets that do not come from the router itself but from a WLAN client with IPv6 enabled.

In my case I captured such a packet on eth1 and on the LAN interface of my PC, the source MAC clearly says the packet comes from a WLAN client / my FireTV.

Logically why should the router send "router solicitation" packets, it is the router itself.

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Sun May 21, 2023 10:20    Post subject: Reply with quote
OK, yes that would make sense.

There is only one device on my VLAN2 and they predates IPv6, so what I am trying to do is prevent these IPv6 packets reaching VLAN2.

The source MAC on the packets I have captured however are MAC addresses from the router.
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Sun May 21, 2023 13:44    Post subject: Reply with quote
These are the only IPv6 packets making it through to the vlan.

These are the interfaces they are coming from.

I have now turned off every device that is IPv6, but still getting these packets.
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2976
Location: Germany

PostPosted: Sun May 21, 2023 16:28    Post subject: Reply with quote
Sorry but I still doubt that the packets are coming from the router.
If you disable ipv6 it will be disabled directly in the kernel so your ip6table attempts will not work because ipv6 is not supported.

Do the interfaces have an ipv6 address at all ? (ifconfig)
In your Wireshark dump you have the corresponding ipv6 addresses...

What you can try is to delete your bridge and set the VLAN interface to unbridged.


The MAC addresses can be some SNAT stuff, we still do not know how the router is configured ... station or station bridge?

Since Sunday is I also have no desire to recreate the unusual setup.

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Sun May 21, 2023 18:07    Post subject: Reply with quote
In the GUI, IPv6 show's as disabled. So that's good to know that the ip6tables will not work, as I had been trying them with no effect.

I have nothing else turned on now that could possibly be causing those packets.

I am thinking of starting from scratch, and seeing if that rectifies the issue, as I could really do with a clean wire to the device I need to test that is running 10mbps (which I can currently achieve with a dumb hub that the router is happy to negotiate with), and without spurious traffic on it of whichever origins these are coming from.

By rights, on a VLAN with a different subnet, I sort of didn't expect to have these issues.

Thanks for all your help so far.
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Sun May 21, 2023 18:09    Post subject: Reply with quote
I completely understand the Sunday thing. I have to say I have just about had enough of it for today. I will have a look at your other comments later, and answer those. My eyes have gone a little square for now though.

Thanks again
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Sun May 21, 2023 18:29    Post subject: Reply with quote
Just a very quick one, I have removed the bridge, and set the VLAN to unbridged, and it's still happening, only I think from just the eth1 mac address now. I will leave it running and confirm that later.

There is nothing else plugged into the back of the router other than this one device.

I have just checked the router interfaces, and they all have IPv6 addresses, and the 2 addresses that the Router Solicitation is coming from match the IPv6 source addresses.

I will have a poke round and try and document things much better later on.

Thanks
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2976
Location: Germany

PostPosted: Sun May 21, 2023 19:17    Post subject: Reply with quote
Then no idea, I still do not know how your router is configured, I tried very quickly different station modes ... with me definitely no ipv6 is loaded unless I enable it in the GUI...

Now you just have to find out why your ipv6 module is loaded...

Code:
ip6tables -S
ip6tables v1.8.5 (legacy): can't initialize ip6tables table `filter': Address family not supported by protocol
Perhaps ip6tables or your kernel needs to be upgraded.

root@DD-WRT:~# lsmod | grep ipv6
root@DD-WRT:~#


It is also possible that it is loaded by a package you installed via entware...

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12885
Location: Netherlands

PostPosted: Sun May 21, 2023 19:26    Post subject: Reply with quote
WireGuard?
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2976
Location: Germany

PostPosted: Sun May 21, 2023 19:44    Post subject: Reply with quote
Possible ...


Code:
root@DD-WRT:~# modprobe wireguard
root@DD-WRT:~# lsmod | grep ipv6
ipv6                  309060 13 wireguard,[permanent]

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Sun May 21, 2023 20:12    Post subject: Reply with quote
I do have Wireguard on yes.

Basically the router is attached to a public WiFi on Wlan1 (2.4ghz) as a client. All connections going over this run through a Wireguard tunnel.

Then Wlan 0 is AP 5ghz and Wlan 1.1 AP 2.4ghz.

I have nothing at all plugged into the ethernet ports, other than the problem IPv4 device that appears to act up to modern broadcasts and IP6.

Currently it is plugged into port 1 which is vlan2 and no longer bridged.
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Sun May 21, 2023 20:42    Post subject: Reply with quote
I notice all interfaces seem to have IPv6 running. Would wireguard really need it on all interfaces, or could I just switch the offending ones off?


Code:
root@x:~# sysctl -a | grep disable_ipv6
net.ipv6.conf.all.disable_ipv6 = 0
sysctl: error reading key 'net.ipv6.conf.all.stable_secret': I/O error
net.ipv6.conf.br0.disable_ipv6 = 0
sysctl: error reading key 'net.ipv6.conf.br0.stable_secret': I/O error
sysctl: error reading key 'net.ipv6.conf.default.stable_secret': I/O error
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.eth0.disable_ipv6 = 0
sysctl: error reading key 'net.ipv6.conf.eth0.stable_secret': I/O error
net.ipv6.conf.eth1.disable_ipv6 = 0
sysctl: error reading key 'net.ipv6.conf.eth1.stable_secret': I/O error
net.ipv6.conf.lo.disable_ipv6 = 0
sysctl: error reading key 'net.ipv6.conf.lo.stable_secret': I/O error
net.ipv6.conf.oet1.disable_ipv6 = 0
sysctl: error reading key 'net.ipv6.conf.oet1.stable_secret': I/O error
net.ipv6.conf.teql0.disable_ipv6 = 0
sysctl: error reading key 'net.ipv6.conf.teql0.stable_secret': I/O error
net.ipv6.conf.vlan1.disable_ipv6 = 0
sysctl: error reading key 'net.ipv6.conf.vlan1.stable_secret': I/O error
net.ipv6.conf.vlan2.disable_ipv6 = 0
sysctl: error reading key 'net.ipv6.conf.vlan2.stable_secret': I/O error
net.ipv6.conf.wlan0.disable_ipv6 = 0
sysctl: error reading key 'net.ipv6.conf.wlan0.stable_secret': I/O error
net.ipv6.conf.wlan1.disable_ipv6 = 0
sysctl: error reading key 'net.ipv6.conf.wlan1.stable_secret': I/O error
net.ipv6.conf.wlan1/1.disable_ipv6 = 0
sysctl: error reading key 'net.ipv6.conf.wlan1/1.stable_secret': I/O error
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Sun May 21, 2023 21:14    Post subject: Reply with quote
With the bridge removed and vlan2 left unbridged (even though the bridge only contained VLAN2), and then turning off IPv6 on vlan2 using

Code:
sysctl -w net.ipv6.conf.vlan2.disable_ipv6=1


It appears all the packets have gone.

It occurs to me that DHCPd is running on the 2 interfaces that looked like they were causing the issue. One of those (vlan2) I have turned IPv6 off on, and the other seemed to get isolated by removing the bridge (which was connected to vlan2 and DHCP).

I will keep a close eye, but it looks like this may be enough for testing now.

Why this is, I am unsure as I have read up and see exactly what you mean, that the type 133 packet I am having trouble with must come from a device using the router. I just can't work out what unless by chance something has gone faulty on my laptop that I was using to set the tcpdump off with.
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2976
Location: Germany

PostPosted: Mon May 22, 2023 8:37    Post subject: Reply with quote
http://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2023/05-22-2023-r52651/netgear-r7800/
_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
Goto page Previous  1, 2, 3  Next Display posts from previous:    Page 2 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum