lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 13.02.2011 8:43, Leo Razoumov wrote:
> On Sat, Feb 12, 2011 at 23:44, Thomas Harning Jr.<harningt at gmail.com>  
wrote:
>> Let alone a way to define "default network interface".  Or is there?
>> Say I have 2 NICs, which one is default?
>>
Just my 2 pennies worth:-
debian:/home/adrian# arping -v -B
This box:   Interface: eth0  IP: 192.168.0.5   MAC address: 00:0f:fe:20:bf:9c
ARPING 255.255.255.255
^C
--- 255.255.255.255 statistics ---
3 packets transmitted, 0 packets received, 100% unanswered
debian:/home/adrian# 

Also, to my suprise there is this routine in Python:-
https://arco.esi.uclm.es/svn/public/misc/scapy-utils/arping.py
Hope this of use
Cheers,
Adrian