intrig-unicamp / mininet-wifi

Emulator for Software-Defined Wireless Networks
https://mn-wifi.readthedocs.io/
Other
431 stars 239 forks source link

MAC address of Access point #458

Closed CITIZENDOT closed 1 year ago

CITIZENDOT commented 1 year ago

I want to implement the de-authentication attack with mininet-wifi. I'm trying to get the MAC address of the gateway node. I created a simple topology with sudo mn --wifi --mode=g --channel=6. Topology contains Two hosts sta1, sta2 and one access point ap1.

image

I'm thinking ap1 is the gateway here (Correct me, If I'm wrong). Hence I'm trying to find its MAC address (but it's empty here). In the de-authentication attack, Which address do I have to set as the gateway MAC? Thank you

ramonfontes commented 1 year ago

Cannot you use ap1 ip addr or ap1 ifconfig ??

CITIZENDOT commented 1 year ago

image Thank you, So 02:00:00:00:02:00 is the gateway MAC right?