返回列表 發帖

VirtualBox + RouterOS——Case Study 004

本帖最後由 角色 於 2018-3-5 11:42 編輯

Please see the following figure:



Objective:

1. Configure the router R1's ether1 to be a dhcp client such that it obtians 1) ip address from the dhcp server, 2) dns server, 3) IP address of Internet gateway.

Procedures:

1. System reset the router R1 (please see CS001)
  1. /system reset-configuration no-defaults=yes
複製代碼
#

2. Remove the default dhcp client
  1. /ip dhcp-client remove 0
複製代碼
#

3. Check there is no item in /ip route, /ip address, /ip dhcp client.

4. Add the dhcp client at interface ether1
  1. /ip dhcp-client add interface=ether1 disabled=no
複製代碼
#

5. Now you able to ping a hostname, "www.abc.com"



Remarks:
If you not able to ping hostname but IP, then you have to set the previous dns server to allow the remote-dns-requests.
附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

返回列表