Two Ethernet Cards On One Machine

gordon

New Member
Jun 21, 2011
2
0
1
HI everyone, I have two eth. cards in my computer wth different providers. I want to use eth0 only for Proxmox and eth1 for KVM VM.
About providers:
1) DSL router (I want to use it for Proxmox)
2) FTTB (I want to use it only for VM)
If it's not difficult for someone plz show config.
Thanks.
 
Your Proxmox server sees two NICs: eth0 and eth1.

eth0 should already be configured. Proxmox has probably associated a bridge to it: vmbr0.

Log into the web console and create a new bridge device (Configuration > System > Network), giving it an IP address on the FTTB network. Call it "vmbr1" and add "eth1" to "Bridge ports" field.

Now, when you create VMs, set their NIC to be attached to vmbr1 instead of the default vmbr0. I suppose vmbr0 can be removed, but I'd rather test it first on a non-production environment or wait for a more advanced Proxmoxer to answer :-)
 
Thanks for your reply. But I have alredy did this. No internet on my VM :mad: with vmbr1. Can I config eth1 for my VM without vmbr? Later I will show my config ( I am not at home now).
 
Hello !
I have the same problem... I have three ethernet cards in my server. I want to use eth0 to access the web interface, eth1 for VM web server, eth2 for mail server - different ISP. It's possible to configure that ? Thank you !
 
Hello !
I have the same problem... I have three ethernet cards in my server. I want to use eth0 to access the web interface, eth1 for VM web server, eth2 for mail server - different ISP. It's possible to configure that ? Thank you !
Hi,
of course - simply generate bridges (like vmbr2,vmbr3 or vmbr10,vmbr100). You don't need to assign an ip on the pve-host on this bridges. If you now create an vm with an Nic in vmbr2, the vm is directly connected with the cable which is plugged in the coressponding real nic.

Udo
 
Hello !

It's just woking ! I install 2 OS' on two different ethernet cards and works ! well... one more problem - the proxmox stop working after a couple of minutes if I boot CENT OS (iredOS). On screen appear "cpu0 unimplemented perfctr wrsmr: ............." Still reading the forum for a solution...

Best regards !
 
Hello !

It's just woking ! I install 2 OS' on two different ethernet cards and works ! well... one more problem - the proxmox stop working after a couple of minutes if I boot CENT OS (iredOS). On screen appear "cpu0 unimplemented perfctr wrsmr: ............." Still reading the forum for a solution...

Best regards !
Hi,
no idea about the kernel panic?! - But please create an new thread for this topic - it's has nothing to do with two nics.

Udo