Unable to connect to Internet in OEL5 guest even though I can ping machine from host machine
I have Oracle Enterprise Linux 5 as Guest on VirtualBox running on Windows 7 host using Bridged Network.
I have being trying to configure a static IP on OEL5 VM Guest at work, as previously the VMs were configured to work within my network at home. I found an unused IP (10.167.190.118) by pinging IP address from the windows host machine. I made the following changes on the OEL5 guest:
/etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corporation 82540EM Gigabit Ethernet Controller DEVICE=eth0 BOOTPROTO=static BROADCAST=xx.xx.xx.xx ##Default Gateway HWADDR=08:00:27:DE:AF:6D IPADDR=xx.xx.xx.118 #<br/>NETMASK=xx.xx.xx.0 ##Subnet Gateway ONBOOT=yes