Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Interface: Diagnostics: Netstat - what is 'flags' - EtherType?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Interface: Diagnostics: Netstat - what is 'flags' - EtherType? (Read 1355 times)
proctor
Newbie
Posts: 39
Karma: 2
Interface: Diagnostics: Netstat - what is 'flags' - EtherType?
«
on:
November 30, 2022, 11:10:13 am »
Stumpled upon this question while investigating some 'received-errors' at an interface. All the investigated interfaces (ix0 at different opnsense boxes) are connected to a (different) switch with one untagged and a couple of tagged vlans.
The untagged root interface (ix0) on some boxes shows the flag 0x8863 and on the other boxes 0x8963. All tagged interfaces (ix0_vlanX) show the flag 8x8843.
My first guess was the flag is representing the EtherType, but the only corresponding number i found was 0x8863 (PPPoE Discovery Stage). So i think, i am at the wrong way. Can someone point me to the right direction?
--
FYI:
The investigated errors seemed to caused by 802.3 eee. After disabling 802.3 eee at the switch ports the errors are stopped.
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: Interface: Diagnostics: Netstat - what is 'flags' - EtherType?
«
Reply #1 on:
November 30, 2022, 01:39:17 pm »
glad you solved your issues
about flags: afaik they are the same as for ifconfig -a
Code:
[Select]
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST>
(hex representation of alphabetical interface properties)
something like
https://www.ibm.com/support/pages/how-hexadecimal-flags-displayed-ifconfig-are-calculated
Logged
proctor
Newbie
Posts: 39
Karma: 2
Re: Interface: Diagnostics: Netstat - what is 'flags' - EtherType?
«
Reply #2 on:
November 30, 2022, 06:55:36 pm »
Thanks, that matches, but leads me to a new issue. Why are some interfaces (0x8963) in promiscuous mode (0x0100)? - At the interface configuration page the 'Promiscuous mode' checkbox is not checked.
Logged
Patrick M. Hausen
Hero Member
Posts: 6935
Karma: 584
Re: Interface: Diagnostics: Netstat - what is 'flags' - EtherType?
«
Reply #3 on:
November 30, 2022, 07:05:41 pm »
Are you runnning a DHCP server on those?
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
proctor
Newbie
Posts: 39
Karma: 2
Re: Interface: Diagnostics: Netstat - what is 'flags' - EtherType?
«
Reply #4 on:
December 02, 2022, 01:06:30 pm »
Yes, there is a DHCP server at all ix0 interfaces, but onle some are in the promiscuous mode.
Logged
Patrick M. Hausen
Hero Member
Posts: 6935
Karma: 584
Re: Interface: Diagnostics: Netstat - what is 'flags' - EtherType?
«
Reply #5 on:
December 02, 2022, 01:09:05 pm »
IDS? There are many things that could cause this. DHCP used to be one, but if not all interfaces show promisc, then that seems to have changed.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
proctor
Newbie
Posts: 39
Karma: 2
Re: Interface: Diagnostics: Netstat - what is 'flags' - EtherType?
«
Reply #6 on:
December 02, 2022, 02:01:13 pm »
IDS is off for all boxes. I try to keep configuration of all running boxes the same way, that is why i stumbled about this.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Interface: Diagnostics: Netstat - what is 'flags' - EtherType?