Hi,
I have played with so many differented samples - and it´will not work!
What is the best way, to get a single IP to a container with Hardware-Address, so thats later function with Conifxx?
5 other containers are running direkt via venet without MAC adresse. So, I mean I need the vmbr0 and eth0 und the dummy vmbr1?! So is that possible to start with vmbr2 for this new container
Way 1 will not work:
In Proxmox add vmbr2 with network-ID - I see the correct MAC.
Then in the Container - delete the old one, create a new one as a open vz container, use vmbr2 as network.
Restart the Host
Ok, when the container is started, I get this:
root@host:~# vzctl start 104
Starting container ...
Container is mounted
Setting CPU units: 1000
Setting CPUs: 1
Configure veth devices: veth104.0
Adding interface veth104.0 to bridge vmbr2 on CT0 for CT104
Container start in progress...
Ok, then I go in the container
vzctl enter 104
I get only the Loopback-Device:
CT104:/# ifconfig
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:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
CT104:/#
uname -a gibt folgendes aus:
Linux host.xxxxx.com 2.6.32-6-pve #1 SMP Mon Dec 19 06:55:36 CET 2011 x86_64 GNU/Linux
Grüße
Virtualisierer
I have played with so many differented samples - and it´will not work!
What is the best way, to get a single IP to a container with Hardware-Address, so thats later function with Conifxx?
5 other containers are running direkt via venet without MAC adresse. So, I mean I need the vmbr0 and eth0 und the dummy vmbr1?! So is that possible to start with vmbr2 for this new container
Way 1 will not work:
In Proxmox add vmbr2 with network-ID - I see the correct MAC.
Then in the Container - delete the old one, create a new one as a open vz container, use vmbr2 as network.
Restart the Host
Ok, when the container is started, I get this:
root@host:~# vzctl start 104
Starting container ...
Container is mounted
Setting CPU units: 1000
Setting CPUs: 1
Configure veth devices: veth104.0
Adding interface veth104.0 to bridge vmbr2 on CT0 for CT104
Container start in progress...
Ok, then I go in the container
vzctl enter 104
I get only the Loopback-Device:
CT104:/# ifconfig
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:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
CT104:/#
uname -a gibt folgendes aus:
Linux host.xxxxx.com 2.6.32-6-pve #1 SMP Mon Dec 19 06:55:36 CET 2011 x86_64 GNU/Linux
Grüße
Virtualisierer