iconfig imq0 broadcast question

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


Joined: 21 May 2017
Posts: 186

PostPosted: Fri Aug 12, 2022 4:37    Post subject: iconfig imq0 broadcast question Reply with quote
Anyone that can plz answer this question???

im trying to put the broadcast flag on the
imq0 qos interface. I cannot find a suitable
address.

anyone know how to do this?

ifconfig imq0 broadcast 33:33:ff:xx:xx:xx

that was my guess but it seems as though
none even work at all.

can anyone confirm if its possible on
this interface?

i want to be able to delete too, only
thing i need is the address.


?????????
Sponsor
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Fri Aug 12, 2022 10:01    Post subject: Reply with quote
We really would like to help you, but just need more information, read this and help us help you.
_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 186

PostPosted: Fri Aug 12, 2022 10:58    Post subject: Reply with quote
I am currently running version 44715.
My router is an Asus RT type wifi router.
My router is in AP mode as a "router" as
opposed to "gateway" mode.
My question pertains to the interface imq0
and imq1 of QOS.
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Fri Aug 12, 2022 11:56    Post subject: Reply with quote
Thank you for the extra information but still not enough information.

A few notes.

* You are running a two year old build not only unsupported and outdated the required functionality may be buggy or not present. We dont know because you dont provide all the information needed.

* Current builds are http://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2022/08-10-2022-r49677

It is necessary for you to upgrade to latest 08-10-2022-r49677 then reset and reconfigure the router manually.

Since simply stating its a Asus RT type router is not enough so I cant direct you to the correct upgrade file or give you specific help.

Then try again, idk what interface this imq0 is, but traditionally you send the interface down, configure it and send interface up.

It would perhaps help if you told us what issue you are trying to resolve rather than trying to debug your failed command.

If you provided the information requested/needed and were running the latest build this would go a lot easier, and until then, no more can be said and done.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1935

PostPosted: Fri Aug 12, 2022 13:13    Post subject: Reply with quote
The imq0 interface is a virtual device in the kernel / iptables used for QoS (traffic shaping). It doesn't have a broadcast address (does it?)...

9.7. The Intermediate queueing device (IMQ)

https://github.com/imq/linuximq/wiki

_________________
"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
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 186

PostPosted: Fri Aug 12, 2022 22:07    Post subject: Reply with quote
because it doesnt have a broadcast address doesnt mean you cant add one.
so with that said i still would like to know if this flag can be added
in dd-wrt. i know it exists in other distros.

configuring the qos devices/interfaces is common. required if you ask me.

i have an asus rt-acxxu wifi router.

if you are a developer you should know better to ask too personal of
questions. i am an engineer myself and im telling you proffessionally
you should be careful. just a suggestion.

asking why im working on this is not going to be a required thing
either but its because the imq0/imq1 interface needs to match
as identically to another device in my network, as possible.

another note of importance is the need to configure properly so that
it doesnt have a negative impact on the global side of things.
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1935

PostPosted: Fri Aug 12, 2022 23:34    Post subject: Reply with quote
eugene1973 wrote:
because it doesnt have a broadcast address doesnt mean you cant add one.
so with that said i still would like to know if this flag can be added
in dd-wrt. i know it exists in other distros.

Please show us proof and output of ifconfig imq0 from a linux distro (after you've installed ifconfig since it's not installed by default on modern linux distros).

https://openwrt.org/docs/guide-developer/networking/network.interfaces

Quote:
lo, eth0:1, eth0.1, vlan2, br0, pppoe-dsl, gre0, sit0 tun0, imq0, teql0, .. are virtual network interfaces that do NOT represent an existent hardware device but are linked to one (otherwise they would be useless). Virtual network interfaces were invented to give the system administrator maximum flexibility when configuring a Linux-based operating system. A virtual network interface is generally associated with a physical network interface (eth6) or another virtual interface (eth6.9) or be stand alone such as the loopback interface lo.

Quote:
special purpose: imq0, teql3
used to change the order of outgoing network packets, or incoming network packet

_________________
"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
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 186

PostPosted: Sat Aug 13, 2022 0:14    Post subject: Reply with quote
this was taken from asus merlin on rt-ac5300

fwd0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet6 addr: fe80::200:f:fc00:0/8 Scope:Link
UP BROADCAST RUNNING PROMISC ALLMULTI MULTICAST MTU:1522 Metric:1
RX packets:3371676 errors:0 dropped:0 overruns:0 frame:0
TX packets:1850761 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:193884076 (184.9 MiB)
Interrupt:179 Base address:0x4000



as you can see there is a broadcast flag.
incidentally i havent figured out how to
delete because it says the same thing for
adding.

"bad address"

cant add to dd-wrt this flag.
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1935

PostPosted: Sat Aug 13, 2022 0:41    Post subject: Reply with quote
The fwd0 and fwd1 interfaces in AsusWRT are for the ethernet controller and are virtual interfaces, as there is no hardware MAC address associated with them that I know of.
Code:
May 5 08:05:05 kernel: fwd0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 7.14.164.303 (r666427)
May 5 08:05:05 kernel: fwd1: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 7.14.164.303 (r666427)
May 5 08:05:05 kernel: eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 7.14.164.303 (r666427)

Are these interfaces available only when QoS is enabled? Is there no imq* interfaces in AsusWRT-Merlin? The following file leads me to believe these interfaces have nothing to do with QoS:

https://github.com/RMerl/asuswrt-merlin/blob/master/release/src-rt-7.x.main/src/include/hndfwd.h

_________________
"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
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 186

PostPosted: Sat Aug 13, 2022 0:55    Post subject: Reply with quote
perhaps the fwd0 is not qos but im assuming that it does affect
qos, or rather qos affects it. i have decided that for a reason
the difference between two devices i have, is degraded performance
on the dd-wrt box. by adding these flags im trying to make up
for that difference. by adding other flags to the imq interfaces
i have closed a local global gap that is important.

i live in an area where these differences might not be apparent
to others because of their area.

1. wouldnt you agree that our isp's have superior equipment?

2. closing an important gap is important

3. in general dont you think that all interfaces that are on the
net should be matched as close to possible?
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 186

PostPosted: Sat Aug 13, 2022 0:59    Post subject: Reply with quote
i thought i found an article that states it is qos, but
dont quote me right this second.

i did a search but forgot the link. didnt mark it fav.

pretty sure i checked.
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 186

PostPosted: Sat Aug 13, 2022 4:18    Post subject: Reply with quote
ok, the only thing i found was this,
https://www.tek-tips.com/viewthread.cfm?qid=1751703

it doesnt definitively say it is a qos interface but
im assuming because ip phones have qos built in,

the reference to short codes. these might be a
reference to 9000 numbers which are large packet
sends.

these are much like mtu for large packets, or for
jumbo frames.

thats the best i could figure.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12885
Location: Netherlands

PostPosted: Sat Aug 13, 2022 9:55    Post subject: Reply with quote
The imq interface is the virtual interface for QoS (at least in DDWRT as far as I know)

About degraded performance if you are still running build 44715 then yes it has degraded performance compared to build 49681 with CTF+FA enabled Smile
(unfortunately it is not compatible whit QoS but with CTF+FA you probably do not need that Smile )

_________________
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


Last edited by egc on Sat Aug 13, 2022 16:54; edited 1 time in total
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14221
Location: Texas, USA

PostPosted: Sat Aug 13, 2022 16:53    Post subject: Reply with quote
I inquired with RMerlin, and he stated that the fwd0 and fwd1 interfaces were related to the Broadcom drivers used in AsusWRT, i.e. the dhd driver (for packet forwarding, I presume). He couldn't confirm either way about ifconfig'ing imq interfaces, but I don't think that there is any way to change the hardware or broadcast address associated with them as they are virtual interfaces. Someone can always ask BrainSlayer, although he might be occupied and may not respond very quickly.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 186

PostPosted: Sat Aug 13, 2022 18:32    Post subject: Reply with quote
Plz don't forget that I'm talking about the broadcast flag. I'm not actually adding a broadcast address. I suppose that the broadcast address is needed however. Looks inconfigureable to me.
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
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