is it possible to send UDP data from router

Hello ,
I want to do simple thing (or at least I think)
I want to send my mac address from one router to another that are in the same network using UDP .

can it be done?

I have found how to do this in Linux so I’m guessing it could done here also ??

sendip -p ipv4 -is 192.168.1.81 -p udp -us 5070 -ud 5060 -d "Test" -v 192.168.1.81

Thank ,

you could look at traffic-generator, but not sure if it will not be a bit of an overkill.

why do you think so?
if all I’m doing is sending a max 32 byte from one station to AP 1 time ?
also how can I read what I was sending in the AP router?
I have try to read in the WiKi about it - didn’t understand …
the example there is too big and there is a lot of information there I don’t need

all I have is

Ap (10.0.0.2) -------wireless connection(20Mhz,2412,Test,802.11)---------)Station bridge (10.0.0.3)

Thanks ,

There is no direct way how to send data in ROS IMHO - one of the ways could be configure remote logging action and send the data using fore xampl ‘:log debug “$mac”’ CLI command.
And even worse I know no way to read the data (you cannot configure rsyslog receiver). You can do some magic with packet sniffer but it will not work or it will not be reliable IMHO.

So the question is why do you need to send a MAC address from one device to another. Maybe you can use another information source in the ROS (ARP table, MAC learn table, neighbor discovery table) to achieve the same functionality?