network question proxmox 3.1

informant

Renowned Member
Jan 31, 2012
762
10
83
Hi all,

we have configure a network with ipv4 and ipv6.
if we start network service, we have a error message:
Code:
[U][I]
RTNETLINK answers: File exists 
Failed to bring up vmbr0.[/I][/U]

We have configure /etc/network/interfaces :
Code:
# network interface settings
auto lo
iface lo inet loopback

iface eth1 inet manual

iface eth0 inet manual

auto vmbr0
iface vmbr0 inet6 static
         address 2a02:238:f019:412:1:1:1:1
         netmask 64
         gateway 2a02:238:f019:412:1:1:1:FF
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

auto vmbr0:0
iface vmbr0:0 inet static
        address  217.69.254.69
        netmask  255.255.254.0
        gateway 217.69.254.1

auto vmbr1
iface vmbr1 inet static
        address  10.11.12.61
        netmask  255.255.0.0
        bridge_ports eth1
        bridge_stp off
        bridge_fd 0

we can reach the server with ipv4 but ipv6 does not work. Do you have an idea or a information for us, what can we do to bring up vmbr0 and ipv6 for working, please?

thanks for help and information

best regards
 
Hello dietmar,

thanks for your reply.
I have change vmbr0:0 to vmbr0 and have removed 2nd auto vmbr0:0
After restart of the network service its comes the error again:
Code:
RTNETLINK answers: File exists
Failed to bring up vmbr0.

Do you have any ideas? very thanks and best regards
 
Hello dietmar,

thanks for your reply.
I have change vmbr0:0 to vmbr0 and have removed 2nd auto vmbr0:0
After restart of the network service its comes the error again:
Code:
RTNETLINK answers: File exists
Failed to bring up vmbr0.

Do you have any ideas? very thanks and best regards
You cant just restart the service. you need to edit interfaces.new and reboot
 
Hi,

thanks for this nice information. IPv6 run on host.
Can you help me please, to configure an /112 subnet vor a openvz container and a kvm.
I have found a information about adding of one ipv6 address, but not for a /112 subnet.

this is only for one ipv6 adresse:
vzctl set 100 --ipadd 2001:db8::2000:80 --save

Can you tell me a command to adding a /112 subnet to containers and KVM please?

Very thanks.

regards
 
this is only for one ipv6 adresse:
vzctl set 100 --ipadd 2001:db8::2000:80 --save

Can you tell me a command to adding a /112 subnet to containers and KVM please?

# vzctl set 100 --ipadd 2001:db8::2000:80/112 --save
 
Thanks for reply @dietmar,

i have add an IPv6 adress subnet to my container and restart him, but if i login to container and send a ping6 google.com, i don´t get a answer. What should I do to make IPv6 work in the container? Can you help me please?

If i add only one IPv6 adress to container, it works fine, but if i add an IPv6 subnet, it doens´t work.
Ping out of container works with single IPv6, but not with IPv6 subnet.

Container:
Code:
ifconfig
lo        Link encap:Lokale Schleife
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:16436  Metrik:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

venet0    Link encap:UNSPEC  Hardware Adresse 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet Adresse:127.0.0.2  P-z-P:127.0.0.2  Bcast:0.0.0.0  Maske:255.255.255.255
          inet6-Adresse: 2a02:238:f019:412::/112 Gültigkeitsbereich:Global
          UP BROADCAST PUNKTZUPUNKT RUNNING NOARP  MTU:1500  Metrik:1
          RX packets:67 errors:0 dropped:0 overruns:0 frame:0
          TX packets:61 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0
          RX bytes:6171 (6.0 KiB)  TX bytes:8217 (8.0 KiB)

venet0:0  Link encap:UNSPEC  Hardware Adresse 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet Adresse:217.69.254.156  P-z-P:217.69.254.156  Bcast:217.69.254.156  Maske:255.255.255.255
          UP BROADCAST PUNKTZUPUNKT RUNNING NOARP  MTU:1500  Metrik:1

Thanks and regards.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!