[ubuntu-us-mi] IP address of VM running in bridge mode

Flavio daCosta flav at binaryservice.com
Thu Jul 30 21:29:28 BST 2009


Perhaps an easier way exists, but I would just sniff it:

# Make a way to send a packet to the machine
# where 192.168.0.123 is an un-used IP on the network
# and aa:bb:cc:dd:ee:ff is the mac of the host.
sudo arp -s 192.168.0.123 aa:bb:cc:dd:ee:ff

# Sniff in another window
sudo tcpdump -n -p icmp

# Send a packet and wait for the response (in the tcpdump window)
ping 192.168.0.123


ymmv



More information about the ubuntu-us-mi mailing list