Dedicated Proxmox Server - Networking

sircolin

Renowned Member
Nov 12, 2009
78
0
71
UK
Hi Everyone,

I have Just brought a Dual core Dedicated machine with proxmox installed i Got the logon details mailed to me today and within an hour i had screwed up the networking.

this machine has a public ip address and came configured with eth0 when i built a vm i could not get it to connect to the internet.

I thought if i mirrored my home setup and added vmbr0 and pointed this to my public ip address it would be fine well i done a reboot and hey presto locked out! grrrr.

I have asked my host to undo what i had done which im hoping should be sometime tomorrow.

where did i go wrong here ?

I have exturnal 1 ip address with this machine so im just a bit confused how the networking should be setup
i have only used proxmox on my local lan and ip's i use are local ones

Can anybody shed some light on this for me.

Thanks Colin
 
so - you didn't get a vm to boot right - and you changed the networking on your hypervisor?

next time - fire up openvz containers to test the networking to know exactly what you have - then futz with the hypervisor.

when you get it back

ifconfig -a
cat /etc/network/interfaces
(and a dmesg couldn't hurt anything)
 
Yes i had a ubuntu vm booted

ifconfig didn't seem to show anything i understood.

More care should have been taked here, my host who im none too impressed with, send me an email with a static ip address and a password and that was about it, support emails seem to take 2 days.

The wiki says
Default Configuration (bridged)

The installation program creates a single bridge (vmbr0), which is connected to the first ethernet card (eth0).

this is how im used to running proxmox, i can rule this one out.

and the other Routed configuration states

Most hosting providers does not support above setup. For security reason they stop networking as soon as they detect multiple MAC addresses.
A common setup is that you get a public IP (assume 192.168.10.2 for this example), and additional IP blocks for your VMs (10.10.10.1/255.255.255.0). For such situation we recommend the following setup.

Well unless im suposed to buy some more ip's as far as i know i only have the 1 ip and it's seems a domain name is also provided.
 
Ok I now have my server back.

I have built a ubuntu vm booted it vnc'd in, i cannot ping the wan from this machine

here is the current proxmox config

Under Network

interface=eth0
active=yes
ports=Empty
autostart=yes
ip=212.117.xxx.139
subnet=255.255.255.0
Gateway=212.117.xxx.1

interface=vmbr0
active=no
ports=empty
autostart=no
ip=empty
subnet=empty
Gateway=Empty

Under Dns

hostname=F007
Domain=server.xx
first dns=195.x4.xx.6

This is the config i think i need,

remove the line eth0 under network so i have one line that looks like this.

Interface=vbr0
Active=Yes
Ports=Eth0
Autostart=Yes
IpAddress=212.117.xxx.139
subnet=255.255.255.0
Gateway=212.117.xxx.1

The dns settings would stay the same for now.

Am i Right ? is there anymore to be done here?

i could do with some help here 1 wrong move and im gonna lose another 24hrs :-(

Thanks

Col
 
Sovled

Remove eth0
then add the bridge as above

then reboot

so simple but yet locked me right out.