# Meer dan 4 netwerk interfaces maken in Virtualbox

#### Set Mode and enable NIC

When a Mode is set the NIC will be enabled.

<div class="level2" id="bkmrk-set-nic-five-to-host">1. <div class="li">Set NIC five to Host-Only Mode and User vboxnet0 (Initially existing Host-Only Net)</div>```
    VBoxManage modifyvm network-test --nic5 hostonly
    VBoxManage modifyvm network-test --hostonlyadapter5 "vboxnet0"
    ```
2. <div class="li">Set NIC five to Bridge eth1</div>```
    VBoxManage modifyvm network-test --nic5 bridged
    VBoxManage modifyvm network-test --bridgeadapter5 "eth1'
    ```
3. <div class="li">Set NIC to NAT Mode</div>```
    VBoxManage modifyvm network-test --nic5 nat
    ```
4. <div class="li">Use the internal VM net “test01”</div>```
    VBoxManage modifyvm network-test --nic5 intnet
    VBoxManage modifyvm network-test --intnet5 "test01"
    ```
    
    #### Configuring NIC
    
    <div class="level2">
    - <div class="li">To use VLAN and some other things in VMs the Promiscuous mode have to be enabled</div>```
        VBoxManage modifyvm network-test --nicpromisc5 allow-all
        ```
    - <div class="li">Use other hardware type (Intel Pro/1000 MT Server)</div>```
        VBoxManage modifyvm network-test --nictype5 82545EM
        ```
    - <div class="li">Dis/connect cable</div>```
        VBoxManage modifyvm network-test --cableconnected5 off
        ```
    
    </div>BRON: [More than 4 Network Cards in Virtualbox](https://networkengineer.me/2014/07/11/more-than-4-network-cards-in-virtualbox/)

</div>