OpenVZ Forum


Home » General » Support » Public IP Network config
Public IP Network config [message #44240] Sat, 26 November 2011 09:28 Go to previous message
karloska is currently offline  karloska
Messages: 3
Registered: November 2011
Junior Member
Hi all, I have installed Proxmox on a VPS host with a public IP. I have then setup a container and given it a public ip and it is accessible online but SSH (at least) does not work and I gather this is because the connection should be bridged... But I cannot find the method of bridging that suits this environment.

the default etc/network/interfaces looks like this.
# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

auto vmbr0
iface vmbr0 inet static
	address  115.61.21.5
	netmask  255.255.252.0
	gateway  115.61.21.254
	bridge_ports eth0
	bridge_stp off
	bridge_fd 0


But how should it look? The manual states this but it is just crashing the config:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address  115.61.21.5
        netmask  255.255.255.0
        gateway  115.61.21.55
        post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp


auto vmbr0
iface vmbr0 inet static
        address  115.61.21.6
        netmask  255.255.255.0
        bridge_ports none
        bridge_stp off
        bridge_fd 0


I have seen dozens of ways this is done but I'm stuck as to what is to be bridged and whether there's other files that need to be changed and where the containers point too. Help appreciated!

[Updated on: Sat, 26 November 2011 09:32]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: openvz webpanel Fehler
Next Topic: openvz inside a Xen client
Goto Forum:
  


Current Time: Fri Aug 08 08:44:14 GMT 2025

Total time taken to generate the page: 0.21638 seconds