Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:guide-user:virtualization:virtualbox-advanced [2020/01/17 05:43] – [Example:1b SameSegment-same-Subnet PreRouter] someothertime | docs:guide-user:virtualization:virtualbox-advanced [2020/08/15 16:11] (current) – [Resources] add flink re: 80211 bridging issues someothertime | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| This guide extends the basic VirtualBox HowTo with broader setup recommendations, | This guide extends the basic VirtualBox HowTo with broader setup recommendations, | ||
| + | NOTE: Use a wired virtualbox host (unless you are really confident with virtualbox i.e. 80211 bridging issues ). | ||
| ===== Prerequisite Concepts ===== | ===== Prerequisite Concepts ===== | ||
| ==== x86_64 Basics ==== | ==== x86_64 Basics ==== | ||
| Line 147: | Line 148: | ||
| VBoxManage modifyvm " | VBoxManage modifyvm " | ||
| VBoxManage modifyvm " | VBoxManage modifyvm " | ||
| + | </ | ||
| + | |||
| + | |||
| + | === Tagging for VM' | ||
| + | |||
| + | Note: example ip link is non-permanent... see your distro for appropriate place to configure your host nic for a vlan. | ||
| + | |||
| + | You can use a single cable as a " | ||
| + | |||
| + | This can be used for clients... with openwrt on a "real router" | ||
| + | |||
| + | |||
| + | This example shows clientVM' | ||
| + | <code bash> | ||
| + | |||
| + | ######################################################### | ||
| + | NIC=" | ||
| + | ip link add link $NIC name $NIC.50 type vlan id 50 | ||
| + | ip link set dev $NIC.50 up | ||
| + | |||
| + | ######################################################### | ||
| + | In VirtualBox change bridge for a VM to interface NIC.50 | ||
| + | |||
| + | ######################################################### | ||
| + | #-Go to switch... add vlan 50 tagged on same port as pc/server + cpu1 | ||
| + | #-Go to interfaces... add interface... NAME + INTERFACE: | ||
| + | |||
| + | |||
| + | ################################## | ||
| + | #ip -d link show $NIC.50 | ||
| + | #ip link delete $NIC.50 | ||
| + | #tcpdump -nnei $NIC -vvv | ||
| + | |||
| </ | </ | ||
| Line 232: | Line 266: | ||
| Then change the correct VM> | Then change the correct VM> | ||
| + | |||
| + | NOTE: You may need to set the vbox-nic promiscous mode to Allow if bridging to a host bridge | ||
| + | https:// | ||
| + | |||
| ==== ToDo Serial and SSH console examples ==== | ==== ToDo Serial and SSH console examples ==== | ||
| Line 284: | Line 322: | ||
| [5] Image filesystems and alteration in detail | [5] Image filesystems and alteration in detail | ||
| [[https:// | [[https:// | ||
| + | |||
| + | [7] forum re: macos 80211 bridging issues | ||
| + | [[https:// | ||
| + | |||