[PVE-User] Network Interface order in Virtual Machine

Patryk Benderz Patryk.Benderz at esp.pl
Wed May 11 08:51:36 CEST 2011


[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




More information about the pve-user mailing list