VMware networking help

Soldato
Joined
9 Dec 2004
Posts
5,700
Location
Dorset
I'm setting up a subnet in VMware using the vmnet1 virtual switch. I've got 3 linux virtual machines all talking to each other with static IP assignments.

From Windows XP I can ping these machines. Yet from the linux machines I cannot ping the IP address of the vmnet1 on Windows XP. I have no gateway's set on any of the VM's as it shouldn't be needed.

Any ideas? Would it be due to vmnet1 not having IP forwarding? Although I would have thought by default I could ping my host seeing as the host can ping the VM's!

I hope all that makes sense :(

I want to avoid using NAT. When I configured a similar setup but with the host running Linux, it was a simple task of the VM's pinging the host - something which I can't seem to do here.

vmnet1 in network connections; 192.168.67.1
virtual machine 1; 192.168.67.2
virtual machine 2; 192.168.67.3
virtual machine 3; 192.168.67.4
network address; 192.168.67.0
 
You aint got a firewall on have ya? (ICMP)

can you give me the exact addresses what you have give your vm's? (all settings in ipconfig /all).
 
Rofl that was the problem, I didn't realise windows firewall blocked incoming ICMP packets.

Well, now that is solved - do you know how to enable IP forwarding on an adapter in XP?

Thanks :)

p.s; those are my address assignments. Subnet mask is 255.255.255.0 obviously, but there are no gateway's assigned.
 
FirebarUK said:
Rofl that was the problem, I didn't realise windows firewall blocked incoming ICMP packets.

Well, now that is solved - do you know how to enable IP forwarding on an adapter in XP?

Thanks :)

p.s; those are my address assignments. Subnet mask is 255.255.255.0 obviously, but there are no gateway's assigned.

The firewall is always or mostly the case that causes problems with traffic.

I use VPC 2007 now not vmware, but they are virtually the same :D

On one of the VM's you could make it a router for the other VM's but this would require server 2003. Basically Server 2003 has built in routing (Just like a router apart from its a software router). This can join 2 subnets together to allow TCP/IP forwarding.

Even easier just make it apart of your same IP addressing scheme as all of your other network? Unless your learning TCP/IP forwarding?..
 
Thanks for that. Well I enabled IP forwarding so I can now communicate between my hosts virtual network adapter, and the network adapter to the outside world (as it were). So now like you say, I really need a router and server 2003 is impossible for me to get hold of. I may look into moving the VM's onto a Linux host in the future.

I think I may just keep this subnet private after all, its not a necessity that it connects to the outside world.
 
Back
Top Bottom