Skip to content

Instantly share code, notes, and snippets.

@tongueroo
Created November 22, 2009 05:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tongueroo/e715643b00790b1ea7d4 to your computer and use it in GitHub Desktop.
Save tongueroo/e715643b00790b1ea7d4 to your computer and use it in GitHub Desktop.
Hi guys,
So, Im having trouble getting on of my vmfusion ubuntu images to talk to the
host os (macosx).
I created these images a little differently.
There are 3 images: ubuntu1, ubuntu2, ubuntu3.
I created ubuntu1 and ubuntu3 by going through the complete install process
via the vmfusion wizard to install an os.
However, for ubuntu2, I created this VM differently. I just copied the folder
that contained all the vmfusion file for ubuntu1 and renamed the VM it from
ubuntu1 and ubuntu2. This is probably why the network identication is exactly
the same on both ubuntu1 and ubuntu2.
root@ubuntu1:~# ifconfig -a | grep 'inet6' | grep Link
inet6 addr: fe80::20c:29ff:fe41:f1d3/64 Scope:Link
root@ubuntu2:~# ifconfig -a | grep 'inet6' | grep Link
inet6 addr: fe80::20c:29ff:fe41:f1d3/64 Scope:Link
root@ubuntu3:~# ifconfig -a | grep 'inet6' | grep Link
inet6 addr: fe80::20c:29ff:fe50:363b/64 Scope:Link
On ubuntu2 I manually release the ip address, with "dhclient -r && dhclient",
and manually assigned it the ip address of 172.16.89.131, with "ipconfig eth0
172.16.89.131".
Unfortunately, I still cannot talk to the ubuntu2 from the host os with ping:
From the host os I can only ping ubuntu1 and ubuntu3, but not ubuntu2.
tung@walle:~ $ ping -c 2 172.16.89.130
PING 172.16.89.130 (172.16.89.130): 56 data bytes
64 bytes from 172.16.89.130: icmp_seq=0 ttl=64 time=0.285 ms
64 bytes from 172.16.89.130: icmp_seq=1 ttl=64 time=0.400 ms
--- 172.16.89.130 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.285/0.343/0.400/0.057 ms
tung@walle:~ $ ping -c 2 172.16.89.136
PING 172.16.89.136 (172.16.89.136): 56 data bytes
64 bytes from 172.16.89.136: icmp_seq=0 ttl=64 time=7.601 ms
64 bytes from 172.16.89.136: icmp_seq=1 ttl=64 time=0.344 ms
--- 172.16.89.136 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.344/3.973/7.601/3.628 ms
tung@walle:~ $ ping -c 2 172.16.89.131
PING 172.16.89.131 (172.16.89.131): 56 data bytes
^C # Ctrl-C because this hangs
--- 172.16.89.131 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
tung@walle:~ $
Anyone have any suggestions? I know that I can also just do a clean install
by going through the vmfusion wizard but it would be nice if I could just fix
the network card.
Tung
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment