Trying to ping outside my subnet

October 11, 2012 at 06:55:44
Specs: Linux CentOS
I am running CentOS and have added two alias address to a virtual machine. I am using 192.168.70.110 and 192.168.70.111 eth0=192.168.70.221 I want to be able to ping to the 192.168.50.202 network. This is a test bed so I am not using DNS ir a gateway at the moment. Can anyone give me some ideas on how to make this happen?

See More: Trying to ping outside my subnet

Report •

#1
October 11, 2012 at 07:17:09
Much easier if you want to communicate to/from VMs to use bridged networking and use the same network as everything else.

I suspect your VM is set up to use NAT, which means that you won't be able to ping it.


Report •

#2
October 11, 2012 at 08:05:50
The 192.168.50 202 is on one blade seerver, the 192.168.70.221 is on another blade server running virtual machines with two aliases of 192.168.70.110 and 192.168.70.111. I am using Linux Centos on both. I have checked firewall settings and I dont believe we are running NAT because it is just a test bed.

Report •

#3
October 11, 2012 at 08:24:28
You have to have something between two subnets that can communicate with both. Since you're using VM's, I would suggest you follow ijack's advice and use bridged networking. If not that, then you'll probably have to setup a virtual router between the two.

It matters not how straight the gate,
How charged with punishments the scroll,
I am the master of my fate;
I am the captain of my soul.

***William Henley***


Report •

Related Solutions

#4
October 11, 2012 at 09:10:38
By default most VMs set the NIC up in NAT mode (or possibly internal network only). It's not a question of belief; just check the settings.

Report •

Ask Question