Control which packets are sent on eth1 and speed.

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


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Wed May 17, 2023 17:16    Post subject: Control which packets are sent on eth1 and speed. Reply with quote
I am trying to narrow down a fault I have on an archaic device on my network. There is something that causes the stack on the device to lose connection to the network, but it is not obvious why (no errors).

The device is 10BASE2, and connected via a media convertor to an Ethernet port on the back of my R7800.

What I would like to do is narrow down the possible things that are causing an issue.

To do this I would like to make sure broadcasts etc from other machines using the wireless side of the router, don't get sent on to eth1 (which is only used for the device I am having issues with). As I wonder if one of the more modern broadcasts could be confusing things.

While I don't imagine the router has had any issues working out that the origin connection is 10Mbps, is there a way of specifying the speed that the ports work at? I do see in the QoS tab that there is a dropdown, but they are all greyed out.

Thanks.
Sponsor
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1899

PostPosted: Wed May 17, 2023 18:44    Post subject: Reply with quote
Switch Config tab. Each port should be able to be forced to use a specific speed, if the function is working properly. Keep in mind, enabling that tab may have some caveats that need to be worked through.
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Wed May 17, 2023 19:07    Post subject: Reply with quote
Ah, perfect. How did I not see that there. Very Happy

I will have a play and see how it goes.

Thank you
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Thu May 18, 2023 0:17    Post subject: Reply with quote
So I have my VLAN up and running perfectly. Very pleased as there is no longer any other tat on the wire, but I am struggling to knock the port down to 10Mbps, it only seems to want to run at 100Mbps. Well that's what it is reporting anyway.

Code:
link: port:4 link:up speed:100baseT full-duplex txflow rxflow auto


Only other thing I am finding a bit weird, is I am plugged into Port 1, the GUI show's it as port one, the CLI however show's it as Port 4. Not going to worry too much about that though, as it all works.
bushant
DD-WRT Guru


Joined: 18 Nov 2015
Posts: 2029

PostPosted: Thu May 18, 2023 1:01    Post subject: Reply with quote
Regarding port numbering prior to changeset 47149
the GUI agreed with CLI, opposite of the sticker netgear put on the routers

_________________
Forum Guide Lines (with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips!)
How to get help the right way

Before asking for help - Read the forum guidelines AND Upgrade DD-WRT!
Adblock by eibgrad + Blocklist Collection
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Thu May 18, 2023 6:36    Post subject: Reply with quote
Thank you. I guessed that the reversed port numbering wasn't anything to worry about, but it is good to have that confirmed.

With regards to forcing the port speed, I am going to assume that the options given in the Switch Config page are not working. I have tried turning off Autonegotiation, Gigabit, Full Speed & Full duplex, and it makes no difference, the port still configures to the 100mbps and full duplex.

Although not ideal, I have found a solution to this issue for now, in a very old 10mpbs hub I have, which the R7800 seems happy to autonegotiate with.

It would be good to be able to set the speed and not use autonegotiate, but for testing purposes, this will work for now.

Code:
link: port:4 link:up speed:10baseT half-duplex auto
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Thu May 18, 2023 8:02    Post subject: Reply with quote
Actually, I do still have one very occasional multicast packet on the VLAN it would be good to get rid of if possible, just incase it is causing any issues.

ICMPv6 Router Solicitation

Not sure why this packet is there, as I have nothing IPv6 switched on.
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Thu May 18, 2023 8:25    Post subject: Reply with quote
StillBlue wrote:
With regards to forcing the port speed, I am going to assume that the options given in the Switch Config page are not working. I have tried turning off Autonegotiation, Gigabit, Full Speed & Full duplex, and it makes no difference, the port still configures to the 100mbps and full duplex.

Although not ideal, I have found a solution to this issue for now, in a very old 10mpbs hub I have, which the R7800 seems happy to autonegotiate with.

It would be good to be able to set the speed and not use autonegotiate, but for testing purposes, this will work for now.

Code:
link: port:4 link:up speed:10baseT half-duplex auto


The switch driver does not support it for some reason.
So it is not due to the GUI

_________________
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: Thu May 18, 2023 8:29    Post subject: Reply with quote
OK, thank you. In that case I will proceed with my bodge for now.

Just the ICMPv6 Router Solicitation packets to drop from the VLAN now, and the link should be as clean as possible.
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Fri May 19, 2023 15:10    Post subject: Reply with quote
I promise nothing but BS has just modified the driver. (experimental)

https://svn.dd-wrt.com/changeset/52600
https://svn.dd-wrt.com/changeset/52601
https://svn.dd-wrt.com/changeset/52602
https://svn.dd-wrt.com/changeset/52603
https://svn.dd-wrt.com/changeset/52604

May be possible in future builds - or not.
I have to test it first.

_________________
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: Fri May 19, 2023 15:39    Post subject: Reply with quote
Fingers crossed.

I am still trying to get rid of this one IPv6 packet (ICMPv6 Router Solicitation) that keeps appearing on my VLAN. I thought this would do the job, but it hasn't.

Code:
ip6tables -I INPUT -i vlan2 -p icmpv6 --icmpv6-type 133 -j DROP


I want to get rid of it, as the device I am having trouble with predates IPv6, so it is possible it is one of these packets causing it to go wrong.
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Fri May 19, 2023 16:37    Post subject: Reply with quote
This is too little information for me...
1. The package must come from somewhere
2. the INPUT chain is for packets that are directed to the router itself
3. VLAN2 is normally the WAN port

_________________
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: Fri May 19, 2023 16:48    Post subject: Reply with quote
I won't lie, it's confusing me a bit as IPv6 is disabled on the router.

Looking at the source MAC addresses for the packets I have seen so far, I appear to have it coming from eth1 and wlan 1.1. eth1 is the routers LAN ports, and wlan 1.1 is my internal 2.4ghz wifi.

vlan2 is on port 1 on the router, and is the only interface added to br1.

Hope that all makes sense.
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Sat May 20, 2023 12:23    Post subject: Reply with quote
Everything seems to work.

1000Base-T autonegotiation (no manual configuration, because autonegotiation is mendatory)
100Base-T half/full duplex
10Base-T half/full duplex

May be in the next public release.

_________________
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
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1899

PostPosted: Sat May 20, 2023 15:22    Post subject: Reply with quote
I suppose these are related to overall switch config tab functionality:

https://svn.dd-wrt.com/changeset/52607
https://svn.dd-wrt.com/changeset/52608
https://svn.dd-wrt.com/changeset/52609
https://svn.dd-wrt.com/changeset/52610
https://svn.dd-wrt.com/changeset/52611

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
Goto page 1, 2, 3  Next Display posts from previous:    Page 1 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