Search found 4 matches
- Thu Nov 30, 2023 3:27 pm
- Forum: ESP-IDF
- Topic: STA Mode: Sending packets with other MAC source
- Replies: 6
- Views: 4131
Re: STA Mode: Sending packets with other MAC source
You just need to add another "fake" ethernet header to all your packets before sending from STA. -MAC Destination addres (it can be just copied from original packet - first 6 bytes) -MAC Source address - it must be the same MAC that was assigned to STA, not original MAC Source address from original ...
- Wed Nov 29, 2023 3:13 pm
- Forum: ESP-IDF
- Topic: STA Mode: Sending packets with other MAC source
- Replies: 6
- Views: 4131
Re: STA Mode: Sending packets with other MAC source
I think it's some part of WiFi standart (STA cannot be any other device because of security reasons). So, my solution - incapsulation of all ethernet frame into other ethernet frames with correct STA mac source. Of cource MTU will be 14 bytes less than original (because of additional "fake" ETH head...
- Sat Nov 18, 2023 5:25 am
- Forum: ESP-IDF
- Topic: STA Mode: Sending packets with other MAC source
- Replies: 6
- Views: 4131
Re: STA Mode: Sending packets with other MAC source
So, nobody knows ?
- Thu Nov 16, 2023 4:29 pm
- Forum: ESP-IDF
- Topic: STA Mode: Sending packets with other MAC source
- Replies: 6
- Views: 4131
STA Mode: Sending packets with other MAC source
Hello. I need to build esp32-based transparent WiFi bridge like that: Copper ETH <-> ESP32 AP <-> ESP32 STA <-> Copper ETH So, first part Copper ETH <-> ESP32 AP works well (based on "eth2ap" example) Second part ESP32 STA <-> Copper ETH (based on the same "eth2ap" example, but modified to STA) has ...