Network Issues(Tell me what I am doing wrong)

  • Thread starter Thread starter jdownj
  • Start date Start date
J

jdownj

Guest
I am running 2.1-14/f32f3f46 on a server in a datacenter. I have the network configured as follows:

xxx.xxx.xxx.144/29

.145 is gateway
.146 is Host Node
.147-.150 are CTs, all with venet(IP) entries.

This is working well. Now the fun part. I have used the all of those IPs, and I have been allocated another /29.

yyy.yyy.yyy.112/29

I have created a test CT at .114. It can ping the host, the host can ping it, but no traffic leaves the host. What do I need to do to make the host route traffic to and from VMs on the new block of IPs?
 
AFAIK on Linux you can't route 2 (or more) distinct subnets on a single host without policy routing or more complex routing protocols. All nets use the single default gateway, which will only route its own net correctly. Another possibility could be to designate a CT for routing your second network or use NAT on public addresses which kinda defeats the purpose of purchasing a new public IP block.
 
Ugh... so the real answer is I need a /28, or /27... but the Datacenter will only allocate a /29 at a time... this IPv4 shortage thing is getting old.