Unable to access localhost & Internet using one adapter in CentOs

Solution 1:

Either add a port formard to the NAT setup, or run bridged networking. Port forwarding below port 1024 will not work according to http://www.virtualbox.org/manual/ch06.html#network_nat

In bridged mode, it essentially creates a virtual ethernet interface in software, appearing as another machine of the LAN.