On Thu, Jul 30, 2009 at 3:24 PM, Robert Citek<[email protected]> wrote:
> On Thu, Jul 30, 2009 at 2:24 PM, Craig Tatham<[email protected]> wrote:
>> Can you look at the arp table on the VirtualBox? I'm not sure, but it might
>> show you the mac/ip of systems going through the shared NIC.
>
> Unfortunately, nothing is in the arp table other than the router.  I
> could ping the entire subnet and then check the arp table, but I was
> looking for something more elegant.  I could also nmap the entire
> subnet, scanning some specific ports.

The following worked but I find it rather inelegant:

mac=aa:bb:cc:dd:ee:ff
netip=192.168.10.0
class=24
nmap -p 22 ${netip}/${class} > /dev/null
arp -an | grep -i ${mac

I'm thinking the hypervisor must store some kind of routing
information in order to do its bridging magic.  And if so, there
should be a way to query it.  The questions is, how to query the
information?

Regards,
- Robert

--~--~---------~--~----~------------~-------~--~----~
Central West End Linux Users Group (via Google Groups)
Main page: http://www.cwelug.org
To post: [email protected]
To subscribe: [email protected]
To unsubscribe: [email protected]
More options: http://groups.google.com/group/cwelug
-~----------~----~----~----~------~----~------~--~---

Reply via email to