Pure non-filering bridge

Started by Cenkron, November 27, 2026, 08:48:25 PM

Previous topic - Next topic
Post the output of

ifconfig -a

please.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: Cenkron on <strong>Today</strong> at 01:21:05 PMIt seems that the bridge is operating completely normally, other than the gateway is completely invisible through the bridge.

This rings a bell and it's probably related to ARP not traversing the bridge.
Please provide the output for;

sysctl net.link.ether.ipfw net.link.bridge.ipfw_arp net.link.bridge.ipfw

lmoore and Patrick,
Thank you for your help.

I am generally familiar with terminal style communications, but not sure where to find it.  Does the console provide that, or are you meaning through the keyboard/display ports on the host running OpnSense?

Today at 04:30:17 PM #18 Last Edit: Today at 04:41:17 PM by lmoore
Quote from: Cenkron on <strong>Today</strong> at 04:24:03 PMlmoore and Patrick,
Thank you for your help.

I am generally familiar with terminal style communications, but not sure where to find it.  Does the console provide that, or are you meaning through the keyboard/display ports on the host running OpnSense?

On the console  using the keyboard and monitor or via a SSH connection to the system in question.

It has been years since I used SSH.  I am generally on windows, though I do have a linux system, which is currently unusable.
I tried using the keyboard and video interface, but it is running the install script and is useless.

I tried ssh from Windows.  It times out on the connection attempt, but it seems to be installed.
I can ping the OpnSense system from Windows, so it is reachable.

Any more suggestions?

You need to enable the SSH service in the UI, first.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Reply from ifconfig -a

igc0: flags=1008943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
        description: Bridge_Eth0 (opt2)
        options=48420b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO,HWSTATS,MEXTPG>
        ether 00:d0:b4:00:fb:c1
        media: Ethernet autoselect (10baseT/UTP <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igc1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: Bridge_Eth1 (opt1)
        options=48420b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO,HWSTATS,MEXTPG>
        ether 00:d0:b4:00:fb:c2
        media: Ethernet autoselect
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igc2: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: Bridge_Eth2 (opt3)
        options=48420b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO,HWSTATS,MEXTPG>
        ether 00:d0:b4:00:fb:c3
        media: Ethernet autoselect
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igc3: flags=1008943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
        description: Bridge_Eth3 (opt4)
        options=48420b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO,HWSTATS,MEXTPG>
        ether 00:d0:b4:00:fb:c4
        media: Ethernet autoselect (2500Base-T <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
enc0: flags=0 metric 0 mtu 1536
        options=0
        groups: enc
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
pflog0: flags=0 metric 0 mtu 33152
        options=0
        groups: pflog
pfsync0: flags=0 metric 0 mtu 1500
        options=0
        maxupd: 128 defer: off version: 1500
        syncok: 1
        groups: pfsync
bridge0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
        description: LAN (lan)
        options=10<VLAN_HWTAGGING>
        ether 58:9c:fc:10:b7:53
        inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        bridge flags=0<>
        member: igc3 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                port 4 priority 128 path cost 55 vlan protocol 802.1q
        member: igc2 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                port 3 priority 128 path cost 2000000 vlan protocol 802.1q
        member: igc0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                port 1 priority 128 path cost 55 vlan protocol 802.1q
        member: igc1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                port 2 priority 128 path cost 2000000 vlan protocol 802.1q
        groups: bridge
        nd6 options=9<PERFORMNUD,IFDISABLED>

Reply from sysctl net.link.ether.ipfw net.link.bridge.ipfw_arp net.link.bridge.ipfw

igc0: flags=1008943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
        description: Bridge_Eth0 (opt2)
        options=48420b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO,HWSTATS,MEXTPG>
        ether 00:d0:b4:00:fb:c1
        media: Ethernet autoselect (10baseT/UTP <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igc1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: Bridge_Eth1 (opt1)
        options=48420b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO,HWSTATS,MEXTPG>
        ether 00:d0:b4:00:fb:c2
        media: Ethernet autoselect
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igc2: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: Bridge_Eth2 (opt3)
        options=48420b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO,HWSTATS,MEXTPG>
        ether 00:d0:b4:00:fb:c3
        media: Ethernet autoselect
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igc3: flags=1008943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
        description: Bridge_Eth3 (opt4)
        options=48420b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO,HWSTATS,MEXTPG>
        ether 00:d0:b4:00:fb:c4
        media: Ethernet autoselect (2500Base-T <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
enc0: flags=0 metric 0 mtu 1536
        options=0
        groups: enc
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
pflog0: flags=0 metric 0 mtu 33152
        options=0
        groups: pflog
pfsync0: flags=0 metric 0 mtu 1500
        options=0
        maxupd: 128 defer: off version: 1500
        syncok: 1
        groups: pfsync
bridge0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
        description: LAN (lan)
        options=10<VLAN_HWTAGGING>
        ether 58:9c:fc:10:b7:53
        inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        bridge flags=0<>
        member: igc3 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                port 4 priority 128 path cost 55 vlan protocol 802.1q
        member: igc2 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                port 3 priority 128 path cost 2000000 vlan protocol 802.1q
        member: igc0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                port 1 priority 128 path cost 55 vlan protocol 802.1q
        member: igc1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                port 2 priority 128 path cost 2000000 vlan protocol 802.1q
        groups: bridge
        nd6 options=9<PERFORMNUD,IFDISABLED>
root@BWJ12:~ # sysctl net.link.ether.ipfw net.link.bridge.ipfw_arp net.link.bridge.ipfw
sysctl: unknown oid 'net.link.ether.ipfw'
net.link.bridge.ipfw_arp: 0
net.link.bridge.ipfw: 0

Please use code tags for commands and output.

On topic: firewall is disabled?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Sorry for the duplication of the output from the ifconfig command.
Don't know what code tags means.
Disable Firewall is checked.

One other strange thing I have noticed is that the UI is much slower to update than the OpnSense router I use for the WAN.
The hardware and connections are comparable.

Today at 07:05:55 PM #24 Last Edit: Today at 07:07:36 PM by nero355
Quote from: Cenkron on <strong>Today</strong> at 06:18:59 PMDon't know what code tags means.
<Your output here>You use [ code ] and [ / code ] tags for this, but without the spaces I have added :)

And something I am wondering while seeing this topic a few times now :
- Why not keep 1 Interface for WAN so OPNsense can use it for updates ?
- Why do you insist on using a whole OPNsense instance as a Managed Switch with SNMP readings basically ?!

And what does the rest of your network look like ?
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)