Guest User

conf.d/net

a guest
Dec 12th, 2014
19
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. #Configure TUN/TAP interface
  3. tuntap_tap0="tap"
  4.  
  5. # tap0 defined empty to avoid DHCP being run for their configuration
  6. config_tap0=null
  7.  
  8. # same for eth0
  9. config_eno1=null
  10.  
  11. # Configure network bridge
  12. config_br0="dhcp" # if we obtain IP from DHCP, guest network interface also can obtain IP from DHCP
  13. ##config_br0="192.168.1.1/24" # OR manually, guest network interface need configure manually.
  14. #mac_br0="aa:bb:cc:dd:ee:ff" # You can specify mac address to correctly get IP from DHCP
  15. bridge_br0="eno1 tap0" # add all interfaces to bridge, usually use one TUN/TAP interface for one Vritual Machine. In this example we have one VM.
  16. rc_net_br0_need="net.eno1 net.tap0" # we need run eth0 and tap0 before create bridge!
RAW Paste Data