Networking Question

Teego

New Member
Nov 10, 2008
6
0
1
My proxmox server has an ip address (lets say 10.0.0.1) and I have an openvz conatiner and I would like it to have (192.168.1.1). In the web interface I do not see an option for setting the default gateway on a container, and I have not had any luck with the console.

Thanks

Mike
 
I need a default gw on the container that I want to have the 192.168.0.1 address on, or it will not be accessible from other subnets.

Mike
 
I need a default gw on the container that I want to have the 192.168.0.1 address on, or it will not be accessible from other subnets.

No. Instead you need to add the route on the host (not the container). All container traffic is routed to the host, and then uses the host routing table.
 
try to add secondary IP on Proxmox (I'm not sure if it's possible) 192.168.0.1 and reboot the server. After that test local a ping form container to proxmos VE and reverse...

If in your network configuration (on network gateway/roter/firewall) you don't specify what is the gateway for 192.168.0.0/24 you will not reach to destination...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!