On Mon, 2008-03-24 at 23:11 +0100, Henning Brauer wrote: > MAC="00:11:22:33:44:55" > DNET="dnet" > > for IP in `ifconfig $interface | grep 'inet ' | \ > sed 's/ *inet \([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\) netmask.*/\1/'`; do > ${DNET} arp op rep sha ${MAC} spa ${IP} tpa ${IP} | \ > ${DNET} eth type arp dst ff:ff:ff:ff:ff:ff | \ > ${DNET} send $interface > done;
henning++ Thanks! Stephan