My advisor bought a storage server for our data. The process of setting up IP got trouble. But She would not believe me to do this. Anyhow, I installed CentOS 6.6 on my VirtualBOX to learn how to set up IP, and test in the university networking. If you want to do the same thing with me. In virtualBOX network setting, choose Attached to: Bridged Adapter. The virtual MAC address will be in the following Advanced part. You may change it manually to test your system. Bridged Adapter will make your virtual system connect to the outer network directly. More information can be found at https://www.virtualbox.org/manual/ch06.html.
In my university, the new MAC address need to register in the system. So check the MAC address first and register it online. /etc/init.d/network restart should make it work. ping 188.8.131.52 to test if network is ok.
2. Static IP
I got help form https://gist.github.com/fernandoaleman/2172388. Before you do the following operation, please make sure the server has already assign a IP for your MAC address. The bold words might need to be changed according to your condition.