Public IP Network config [message #44240] |
Sat, 26 November 2011 09:28 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
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
|
|
|
|
|
Re: Public IP Network config [message #44282 is a reply to message #44279] |
Tue, 29 November 2011 00:02 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
karloska
Messages: 3 Registered: November 2011
|
Junior Member |
|
|
Thanks for that, yes I see that now, the OS template I was using is setup oddly and the password creator failed and I feared there was some sort of security issue at the host with how the container IP was behaving,
thanks
|
|
|