User Tools

Site Tools


kvm:bridge_interface

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
kvm:bridge_interface [2021/04/09 10:33]
admin
kvm:bridge_interface [2021/04/09 10:40] (current)
admin
Line 102: Line 102:
 </​code>​ </​code>​
  
-In this configuration second interface eth1 and br2 will not be accessible outside. +<note warning>In this configuration second interface eth1 and br2 will not be accessible outside.</​note>​ 
-To use a second interface and address we need to add another routing table. To do this go to file:+ 
 +<note important>​To use a second interface and address we need to add another routing table.To do this go to file:</​note>​
  
 <code bash> <code bash>
Line 128: Line 129:
  
 <code bash> <code bash>
-ip route add default via 10.10.0.dev eth1 table rt2 +ip route add default via 10.5.23.254 dev br2 table rt2; 
-ip rule add from 10.10.0.0/24 table rt2+ip rule add from 10.5.23.0/24 table rt2
 </​code>​ </​code>​
  
kvm/bridge_interface.1617957229.txt.gz · Last modified: 2021/04/09 10:33 by admin