Welcome to LQ! VBox? btw, 'port forwarding' like 22 works for nat.
Yes, you found the 'secret': bridged or host-only
Check VBox File->Prefs(^g)->Net->Host-only *tab*
"invalid settings detected" there in VBox?
Old version bug that you must reset -every- time!
On guest, check: ip r; ip a|grep -w inet
Do you see 192.168.56.101?
Maybe CentOS6 ?firewall? blocks ping (Idk, sorry)
netstat -tpln #Look for 22; putty ssh to guest
Post 'complete details'
Best wishes! (you're doing good so far!)
p.s. oh, RHEL6
Probably VMWare
Idk... (LQanti$ware will say $free CentOS7)