1
vote
1answer
777 views

How to set NIC in promiscuous mode on mac book air?

I am trying to run my nic on MacOSx at promiscuous mode and then use tshark / tcpdump Option1: ifconfig en0 promisc but I get this message: ifconfig: promisc: bad value Option 2: I tried sudo ...
0
votes
2answers
2k views

Bash - Trying to figure out route add to mask an IP to a router/gateway

Not even sure if i worded this correctly, but here's what I'm trying to do roughly. Take an IP such as: 192.168.100.0 and mask it to 255.255.255.0, and set the gateway of that route to another IP ...