My company hosts five Servers with CentOS 5 installed in a Data Center. The Data Center assigns a VLAN to each customer so that they can organize customers and also count traffic. The VLAN assigned to my company is in the form 62.103.X.X with a subnet mask 255.255.255.240 so the IPs that we can use in our Servers are 13. The first IP in the VLAN (for example 22.214.171.124) is the Gateway and the rest, that are calculated from the subnet mask, are assigned to servers(126.96.36.199 up to 188.8.131.52).
The problem I have is that we have run out of IPs in our VLAN. We have used all IPs and we want some more. The Data Center can assign new IPs but not grow our VLAN IPs by expanding the subnet mask. So they gave us a new VLAN with some IPs (for example 62.104.X.X with a subnet mask 255.255.255.192) They told me that I had to use as gateway the gateway of the first VLAN 184.108.40.206 and assign the new IPs as usual. So I assigned to one of the CentOS 5 servers the IP 220.127.116.11 and set the gateway to 18.104.22.168. Unfortunately this did not work and we could not establish connectivity to the Internet.
Is it possible to assign a gateway outside of the IPs that are in the subnet? Could it be a problem with the VLAN setup by the Data Center?
I would really appreciate any help from the CentOS community.