User Tools

Site Tools


proxmox:networking:bridged_vm_traffic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
proxmox:networking:bridged_vm_traffic [2021/06/19 12:08] – created peterproxmox:networking:bridged_vm_traffic [2021/06/19 12:16] (current) – [Create a bridged network] peter
Line 22: Line 22:
 auto vmbr1 auto vmbr1
 iface vmbr1 inet manual iface vmbr1 inet manual
- bridge_ports eth1 +        bridge_ports eth1 
- bridge_stp off +        bridge_stp off 
- bridge_fd 0+        bridge_fd 0
 </file> </file>
  
Line 37: Line 37:
 ---- ----
  
-===== Only a single interface =====+===== Only having a single interface =====
  
-If you have no separate interface, you can either bound the virtual network card to the available interface like this:+If there is no separate interface, the virtual network card can be bound to the available interface like this:
  
 <file bash /etc/network/interfaces> <file bash /etc/network/interfaces>
Line 47: Line 47:
 auto vmbr1 auto vmbr1
 iface vmbr1 inet static iface vmbr1 inet static
- address 10.3.5.1 +        address 10.3.5.1 
- netmask 255.255.255.0 +        netmask 255.255.255.0 
- bridge_ports eth0 +        bridge_ports eth0 
- bridge_stp off +        bridge_stp off 
- bridge_fd 0+        bridge_fd 0
 </file> </file>
  
 +<WRAP info>
 **NOTE:**  An IP address has to be assigned to **vmbr1** which is used for **eth0**. **NOTE:**  An IP address has to be assigned to **vmbr1** which is used for **eth0**.
 +</WRAP>
 +
  
 ---- ----
Line 64: Line 67:
 This can be configured this way: This can be configured this way:
  
-</code>+<code>
 auto vmbr1 auto vmbr1
 iface vmbr1 inet manual iface vmbr1 inet manual
- bridge_ports eth0.10 +        bridge_ports eth0.10 
- bridge_stp off +        bridge_stp off 
- bridge_fd 0+        bridge_fd 0
 </code> </code>
  
Line 123: Line 126:
         bridge-fd 0         bridge-fd 0
 </file> </file>
 +
 +<WRAP info>
 +**NOTE:**  There are 2 separate physical network cards in the system:
 +
 +  * enp3s0:   This only has a single port.
 +  * enp11s0:  This has 4 ports.
 +
 +The host will use the **enp3s0** card.
 +
 +The VMs will use the **enp11s0** card.
 +
 +  * Notice the **bridge-ports enp11s0f0 enp11s0f1 enp11s0f2 enp11s0f3** line which will bridge all 4 ports on this card.
 +
 +</WRAP>
 +
  
 ---- ----
  
proxmox/networking/bridged_vm_traffic.1624104538.txt.gz · Last modified: 2021/06/19 12:08 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki