返回列表 發帖

VirtualBox + RouterOS——Case Study 002

本帖最後由 角色 於 2018-3-4 19:15 編輯

Please see the following diagram:



Objective:
1. In order to use ssh or Winbox to access the RouterOS vm's in additional to Case Study 001.

Procedure:
1. Configure the interface "ether2" of Router R1 as a bridge adapter to the host computer
  1. VBoxManage modifyvm R1 --nic2 bridged
  2. VBoxManage modifyvm R1 --bridgeadapter2 'en6: Thunderbolt Ethernet 3'
複製代碼
#
Please note the device name 'en6: Thunderbolt Ethernet 3' for the bridge adapter is only applicable to my case. You have to change as per your host name. You may obtain the name via the VirtualBox GUI.

2. Configure the interface "ether2" of Router R2 as a bridge adapter to the host computer
  1. VBoxManage modifyvm R2 --nic2 bridged
  2. VBoxManage modifyvm R2 --bridgeadapter2 'en6: Thunderbolt Ethernet 3'
複製代碼
#

3. Set the IP address of "ether2" of R1
  1. /ip address add address=192.168.55.29/24 interface=ether2
複製代碼
#

4. Set the IP address of "ether2" of R2
  1. /ip address add address=192.168.55.28/24 interface=ether2
複製代碼
#

5. After the above configuration, we are able to access the router vm's using the "ssh" or "Winbox" command.







附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

返回列表