i have two ubuntu virtual machines on a window host.
win host: 10.1.1.176
vm1: 10.1.1.177 running the fstack helloworld, the firewall is disabled
vm2: 10.1.1.172 not taken over by fstack, can connect to www.bing.com normally
now i'm trying to curl vm1 from vm2, and got connection refused
the window host and two vms are in the same segment 10.1.1.* and connects to the same router.
currently, i set the ipaddr of both veth0 (by using command ifconfig) and f-stack-0 (in f-stack.conf) as 10.1.1.213. and then, i set the gateway of f-stack-0 as 10.1.1.1, which is the same as the one of my host machine and another virtual machine. i'm not sure this way is correct.
root@Lion:/home/tresa# curl -vvv http://10.1.1.177:80
* Rebuilt URL to: http://10.1.1.177:80/
* Trying 10.1.1.177...
* TCP_NODELAY set
* connect to 10.1.1.177 port 80 failed: connection refused
* Failed to connect to 10.1.1.177 port 80: connection refused
* Closing connection 0
curl: (7) Failed to connect to 10.1.1.177 port 80: connection refused
hi all
i have two ubuntu virtual machines on a window host.
win host: 10.1.1.176 vm1: 10.1.1.177 running the fstack helloworld, the firewall is disabled vm2: 10.1.1.172 not taken over by fstack, can connect to www.bing.com normally
now i'm trying to curl vm1 from vm2, and got connection refused
the window host and two vms are in the same segment 10.1.1.* and connects to the same router.
vm1 ping vm1 -> failed vm2/host ping vm1 -> succeed
and vm2 traceroute vm1 prints a lot of *
currently, i set the ipaddr of both veth0 (by using command ifconfig) and f-stack-0 (in f-stack.conf) as 10.1.1.213. and then, i set the gateway of f-stack-0 as 10.1.1.1, which is the same as the one of my host machine and another virtual machine. i'm not sure this way is correct.
f-stack.conf of vm1 (all comments are removed)
ifconfig of vm1
ff_ifconfig of vm1
ff_netstat -na of vm1
thanks very much!!!