CentOS OpenVZ & IP routing [message #49012] |
Tue, 19 February 2013 23:01 |
JonyFX
Messages: 1 Registered: February 2013 Location: Russia
|
Junior Member |
|
|
I recently got a dedicated server from Hetzner, however, they do not yeild any support, besides hardware support but I have a kinda major issue.
My problem (in short) is basically that IPs doesn't route to the correct container (VPS). I've been told by Hetzner themselfs that I should follow this guide: Cant post links... I did do so, however the Routed "Broute" didn't work, nothing changed, as far as I can tell. So I tried the Bridged mode. After doing as it said I did "service network restart" & it got stuck at Eth0, after like 20-30 seconds it said: "Connection error", as I assumed it broke. I then went into rescue mode to edit the config again & I found out that after removing: "BRIDGE=br0" from the eth0 file it went back to normal.
Here's my eth0 file:
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
HWADDR=40:61:86:be:ce:c2
IPADDR=xx.46.48.74
NETMASK=255.255.255.255
SCOPE="peer xx.46.48.65"
IPV6INIT=yes
IPV6ADDR=2a01:4f8:110:1385::2/64
IPV6_DEFAULTGW=fe80::1
IPV6_DEFAULTDEV=eth0
Not sure if IPv6 is relevant here, so I just added it, in case.
By using the IP (secondary one), I could connect to the server just fine, but it wouldn't redirect to the container.
Searching Google & this forum as well, I found this: Cant use links.... _in_the_same_range Yet bad luck, didn't work. Didn't change anything besides I had to restart the server after a while because it just shut down, basically. (I used the script as suggested)
Any ideas?
|
|
|