Problem with some vlan

GospodinAbdula

New Member
Jul 25, 2014
22
0
1
hello! i have a problem with create some interface to VM.
Why proxmox was create wrong interface with name vlan3102 ? Maybe should create eth0.3102 ?
The problem occurs only with the vlan 3102.
Any ideas?

Code:
root@node2:~# cat /etc/pve/nodes/node2/qemu-server/205.conf 
bootdisk: virtio0
cores: 1
ide2: none,media=cdrom
memory: 4096
name: **********
net2: e1000=9A:8B:41:5D:EB:8D,bridge=vmbr0,tag=3102
numa: 0
ostype: l26
smbios1: uuid=9b47c700-63dd-4de0-897f-307639ee9983
sockets: 2
virtio0: storage-local:205/vm-205-disk-1.qcow2,format=qcow2,size=3G

Code:
root@node2:~# cat /etc/network/interfaces 
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto vmbr0
iface vmbr0 inet static
    address *******
    netmask 255.255.255.192
    gateway *********
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

syslog:
Code:
Apr 21 14:55:19 node2 pvedaemon[601287]: start VM 205: UPID:node2:00092CC7:10FA216C:55363AA7:qmstart:205:root@pam:
Apr 21 14:55:19 node2 pvedaemon[599860]: <root@pam> starting task UPID:node2:00092CC7:10FA216C:55363AA7:qmstart:205:root@pam:
Apr 21 14:55:19 node2 kernel: device tap205i2 entered promiscuous mode
Apr 21 14:55:20 node2 pvedaemon[601287]: start failed: command '/usr/bin/kvm -id 205 -chardev 'socket,id=qmp,path=/var/run/qemu-server/205.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -vnc unix:/var/run/qemu-server/205.vnc,x509,password -pidfile /var/run/qemu-server/205.pid -daemonize -smbios 'type=1,uuid=9b47c700-63dd-4de0-897f-307639ee9983' -name test.noc.ptl.ru -smp '2,sockets=2,cores=1,maxcpus=2' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000' -vga cirrus -cpu kvm64,+lahf_lm,+x2apic,+sep -m 4096 -k en-us -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:82fdf158ddf8' -drive 'if=none,id=drive-ide2,media=cdrom,aio=native' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -drive 'file=/storage/images/205/vm-205-disk-1.qcow2,if=none,id=drive-virtio0,format=qcow2,aio=native,cache=none,detect-zeroes=on' -device 'virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,bootindex=100' -netdev 'type=tap,id=net2,ifname=tap205i2,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown' -device 'e1000,mac=9A:8B:41:5D:EB:8D,netdev=net2,bus=pci.0,addr=0x14,id=net2,bootindex=300'' failed: exit code 1

Code:
root@node2:~# cat /proc/net/vlan/config 
VLAN Dev name     | VLAN ID
Name-Type: VLAN_NAME_TYPE_PLUS_VID_NO_PAD
..........
vlan3102       | 3102  | eth0

Code:
root@node2:~# pveversion -v
proxmox-ve-2.6.32: 3.3-147 (running kernel: 2.6.32-37-pve)
pve-manager: 3.4-1 (running version: 3.4-1/3f2d890e)
pve-kernel-2.6.32-37-pve: 2.6.32-147
pve-kernel-2.6.32-26-pve: 2.6.32-114
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.7-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.10-2
pve-cluster: 3.0-16
qemu-server: 3.3-20
pve-firmware: 1.1-3
libpve-common-perl: 3.0-24
libpve-access-control: 3.0-16
libpve-storage-perl: 3.0-31
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-8
vzctl: 4.0-1pve6
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 2.1-12
ksm-control-daemon: 1.1-1
glusterfs-client: 3.5.2-1
 

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!