Hello
I have 2 servers at OVH, using Proxmox 3.4 since 2 years.
I move all containers 3.4 from srv01 to srv02
I reinstall srv01 in Proxmox 4.3
... scp, restore...
Ok, the container is up in 4.3.
But network doesn't work.
I read several posts on this forum, and doc... but not yet working.
srv01 has it own IP address (123.234.123.234).
From the OVH manager, I move an IP /32 (123.123.123.123/32) on srv01 for this container).
I try to have this container using this IP /32
I don't defined this IP /32 on the Proxmox host :
normal... it will not be a Proxmox interface, but a container interface...
I delete all OLD interfaces (coming from Proxmox 3.4) from the container.
I try to create a new eth0 interface with :
=============================
eth0
MAC auto (I put nothing)
Bridge vmbr0
IPv4 123.123.123.123/32
Gateway : 123.123.123.123 (same IP)
=============================
in the container network interface :
----------------------------
-------------
Doesn't work ...
I see several examples, but seem to use the vmbr0
But here, I have eth0 !
All seem logical, but I miss probably some points...
Thanks
Didier
I have 2 servers at OVH, using Proxmox 3.4 since 2 years.
I move all containers 3.4 from srv01 to srv02
I reinstall srv01 in Proxmox 4.3
... scp, restore...
Ok, the container is up in 4.3.
But network doesn't work.
I read several posts on this forum, and doc... but not yet working.
srv01 has it own IP address (123.234.123.234).
From the OVH manager, I move an IP /32 (123.123.123.123/32) on srv01 for this container).
I try to have this container using this IP /32
I don't defined this IP /32 on the Proxmox host :
normal... it will not be a Proxmox interface, but a container interface...
I delete all OLD interfaces (coming from Proxmox 3.4) from the container.
I try to create a new eth0 interface with :
=============================
eth0
MAC auto (I put nothing)
Bridge vmbr0
IPv4 123.123.123.123/32
Gateway : 123.123.123.123 (same IP)
=============================
in the container network interface :
Code:
# Auto generated lo interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 123.123.123.123
netmask 255.255.255.255
# --- BEGIN PVE ---
post-up ip route add 123.123.123.123 dev eth0
post-up ip route add default via 123.123.123.123 dev eth0
pre-down ip route del default via 123.123.123.123 dev eth0
pre-down ip route del 123.123.123.123 dev eth0
# --- END PVE ---
Code:
# ifconfig -a
eth0 Link encap:Ethernet HWaddr de:c2:78:96:f1:85
inet addr:123.123.123.123 Bcast:0.0.0.0 Mask:255.255.255.255
inet6 addr: fe80::dcc2:78ff:fe96:f185/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:812 errors:0 dropped:6 overruns:0 frame:0
TX packets:1705 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:92198 (92.1 KB) TX bytes:73770 (73.7 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:8203 errors:0 dropped:0 overruns:0 frame:0
TX packets:8203 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:859859 (859.8 KB) TX bytes:859859 (859.8 KB)
-------------
Code:
# ip route
default via 123.123.123.123 dev eth0
123.123.123.123 dev eth0 scope link
Doesn't work ...
I see several examples, but seem to use the vmbr0
But here, I have eth0 !
All seem logical, but I miss probably some points...
Thanks
Didier