[PVE-User] Network Interface order in Virtual Machine

Nuno Jordao nuno-m-jordao at telecom.pt
Wed May 11 18:09:15 CEST 2011


Hello again,

I tried to specify the order of the network interfaces in the operating system itself (Debian 6 as virtual machine) and found another problem.
The interfaces are blacklisted because they are virtual and a net-persistent rules is not created.
I noticed, that this happen even if the interfaces are created as e1000. Maybe because the generated MAC is random and Debian blacklists them...

Anyone has found a solution for this other than creating the file by end in each virtual machine?

Regards,

Nuno Jordão

-----Original Message-----
From: pve-user-bounces at pve.proxmox.com [mailto:pve-user-bounces at pve.proxmox.com] On Behalf Of Nuno Jordao
Sent: quarta-feira, 11 de Maio de 2011 11:48
To: pve-user at pve.proxmox.com
Subject: Re: [PVE-User] Network Interface order in Virtual Machine

" I was unable to
reorder interfaces in web interface "

Yes, that’s what I also need. That and the interfaces appear at that order in the virtual machine...

Regards,

Nuno Jordão

-----Original Message-----
From: pve-user-bounces at pve.proxmox.com [mailto:pve-user-bounces at pve.proxmox.com] On Behalf Of Patryk Benderz
Sent: quarta-feira, 11 de Maio de 2011 07:52
To: pve-user at pve.proxmox.com
Subject: Re: [PVE-User] Network Interface order in Virtual Machine

[cut]
> Of course, I’m trying to avoid forcing that by MAC in the virtual
> machine side…
...that is what udev does to rename interfaces, right? If this is not an
option for you, then pay attention, that order in which Proxmox web
interface shows ETH's is different that seen by virtual machine. My
example below:

Proxmox:
Ethernet devices	 
 	Model	Bridge	 	MAC address
	virtio	vmbr1		4A:8C:24:02:1B:F4
	virtio	vmbr3		46:49:08:59:B3:78
	virtio	vmbr2		FA:5D:D8:12:5B:6B

VM:
eth0      Link encap:Ethernet  HWaddr 4a:8c:24:02:1b:f4  
          inet addr:192.168.3.221  Bcast:192.168.3.255  Mask:255.255.255.0
          inet6 addr: fe80::488c:24ff:fe02:1bf4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5385191 errors:0 dropped:0 overruns:0 frame:0
          TX packets:54322 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:462068447 (440.6 MiB)  TX bytes:4268044 (4.0 MiB)

eth1      Link encap:Ethernet  HWaddr fa:5d:d8:12:5b:6b  
          inet addr:10.251.224.221  Bcast:10.251.224.255  Mask:255.255.255.0
          inet6 addr: fe80::f85d:d8ff:fe12:5b6b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9885868 errors:0 dropped:0 overruns:0 frame:0
          TX packets:264433 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:789158483 (752.6 MiB)  TX bytes:48723533 (46.4 MiB)

eth2      Link encap:Ethernet  HWaddr 46:49:08:59:b3:78  
          inet addr:192.168.48.221  Bcast:192.168.48.255  Mask:255.255.255.0
          inet6 addr: fe80::4449:8ff:fe59:b378/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3869182 errors:0 dropped:0 overruns:0 frame:0
          TX packets:407 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:318082772 (303.3 MiB)  TX bytes:32409 (31.6 KiB)

Maybe in your installation this is different, but I was unable to
reorder interfaces in web interface. Looking forward to hear your
success story :)

-- 
Patryk "LeadMan" Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments

_______________________________________________
pve-user mailing list
pve-user at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
_______________________________________________
pve-user mailing list
pve-user at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


More information about the pve-user mailing list