電訊茶室's Archiver

角色 發表於 2015-5-24 01:32

【RouterOS】—— One router and two network segments

[i=s] 本帖最後由 角色 於 2015-5-24 02:45 編輯 [/i]

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

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=41104&ptid=6633]1#[/url] [i]角色[/i] [/b]

因為同在192.168.0.0/16下.

角色 發表於 2015-5-24 22:38

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=41107&ptid=6633]2#[/url] [i]雯雯[/i] [/b]

不太明白,你的意思是?

雯雯 發表於 2015-5-25 11:00

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=41118&ptid=6633]3#[/url] [i]角色[/i] [/b]

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

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.