Ik heb een systeem met 2 netwerkkaarten waar ik Virtualbox op draai.
1 netwerkkaart wil ik dedicated gebruiken voor Virtualbox.
eth0 heeft als ip adres 192.168.6.4
eth2 moet het Guest OS dat in virtualbox draait voorzien van het statisch ip adres 192.168.6.40
Hoe kan ik dit configureren? Hoe kan ik het GuestOS in het zelfde netwerk zetten als de host op eth0?
dit is mijn etc/networks/interfaces:
This is my etc/networks/interfaces:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.6.4
netmask 255.255.255.0
gateway 192.168.6.1
#auto eth1
iface eth1 inet static
address 192.168.6.10
netmask 255.255.255.0
gateway 192.168.6.1
#Bridging on eth1
auto br1
iface br1 inet static
address 192.168.6.10
netmask 255.255.255.0
gateway 192.168.6.1
bridge_ports eth1 vbox1
#Tap interface eth1
auto vbox1
iface vbox1 inet manual
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE down
tunctl_user ray