[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Bridge Port with DHCP
From: |
address@hidden |
Subject: |
Re: [lwip-users] Bridge Port with DHCP |
Date: |
Mon, 13 Dec 2021 13:35:12 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 |
Am 13.12.2021 um 12:29 schrieb Shaofeng Cen:
Please help me to understand why that is a problem.
[..]
I don’t know if you can understand what I said. My English is not so good.
Sorry, I still don't really get it. You say a frame is being sent to the
bridge (tcpip_input) that you want to get sent out to ports instead.
Which frame is this? I.e. which DST MAC does it have?
Normally, 'bridgeif_is_local_mac()' should only return 1 for local MAC
addresses of the bridge or its ports (if they have any at all). This is
by design of a (managed) switch. You cannot use a port's MAC address to
get the bridge to send out on a selected port. That's not the way
bridges work, if that's what you're trying?
Are you sure you're looking for a bridge? In the end, this bridge just
mimics a hardware switch.
Regards,
Simon