Board logo

標題: 【RouterOS】—— One router and two network segments [打印本頁]

作者: 角色    時間: 2015-5-24 01:32     標題: 【RouterOS】—— One router and two network segments

本帖最後由 角色 於 2015-5-24 02:45 編輯

Please take a look at the following diagram. It shows a router with two interfaces. The first interface is ether1 with IP address 192.168.1.1/24 and the other one is 192.168.2.1/24. Two PCs are attached to the corresponding interface.

The commands used to set up the two interfaces

[attach]3548[/attach]

/ip address
add interface=ether1 address=192.168.1.1/24
add interface=ether2 address=192.168.2.1/24

After the above the commands, there are two dynamic active routes created automatically. Therefore both PCs can be pingable to each other.

Plesae note you have disabled the firewall for both Home and Office Networks.
作者: 雯雯    時間: 2015-5-24 11:23

回復 1# 角色

因為同在192.168.0.0/16下.
作者: 角色    時間: 2015-5-24 22:38

回復 2# 雯雯

不太明白,你的意思是?
作者: 雯雯    時間: 2015-5-25 11:00

回復 3# 角色

通既原因係因為同在192.168.0.0/16下, 睇睇我下圖既firewall rules, 192.168.0.0/16包晒:
[attach]3554[/attach]




歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/) Powered by Discuz! 7.2