Open wenjing opened 8 years ago
1) twarp application was written to get the MAC address of specified IP addresses. It can be changed to behave like % twarp 192.168.0.1
2) Linux ARP simply manipulates the linux ARP cache it doesn't do anything on its own.
3) It depends whether the logic for ARP resolve is written in the application. Twister however provide basic functions to add ARP logic. For last part we need proper discussion.
first, dont use >>, make it into a command line. second, it should copy the same arp behavior in linux. i.e. we implement a subset of arp.
%twarp -a %twarp -n -a etc.
third, the arp service is always on in a linux system (the service part), and i think twister will need to do the same. that means whenever any application is running. Not sure what happens when no application is running. can another machine arp us and get the right response? can arp service be like a "daemon"? This last point is for discussion for now.