ricky 发表于 2005-1-14 15:07:31

RouteOs可以做双机冗余吗?可以提高路由的稳定性。

bow 发表于 2005-1-14 15:58:44

可以用vrrp作双机热备.当备用机找不到主机是就会接管过来.但外网链路故障时.备机还可以找到主机.就不起作用了.所以是一种设备备份的方式

jack_i5 发表于 2005-1-14 19:37:59

可以从一定程度上降低故障率和提高网络稳定性。BOW:vrrp是什么呢?哪里有它的资料可以查阅?

mywangba 发表于 2005-1-14 20:41:46

搜索就行

bow 发表于 2005-1-14 22:06:29

QUOTE (jack_i5 @ Jan 14 2005, 07:37 PM)
可以从一定程度上降低故障率和提高网络稳定性。BOW:?vrrp是什么呢?哪里有它的资料可以查阅?
Virtual Router Redundancy Protocol虚拟路由冗余协议RouterOS就支持

hyh0826 发表于 2005-1-15 13:16:30

QUOTE (bow @ Jan 14 2005, 10:06 PM)


QUOTE (jack_i5 @ Jan 14 2005, 07:37 PM)
可以从一定程度上降低故障率和提高网络稳定性。BOW:?vrrp是什么呢?哪里有它的资料可以查阅?
Virtual Router Redundancy Protocol虚拟路由冗余协议RouterOS就支持
应该怎么做呢?谈谈你的经验~!

bow 发表于 2005-1-15 20:05:19

Configuring Master VRRP routerFirst of all we should create a VRRP instance on this router. We will use the priority of 255 for thisrouter as it should be preferred router. ip vrrp> add interface=local priority=255 ip vrrp> printFlags: X - disabled, I - invalid, M - master, B - backup0 M name="vr1" interface=local vrid=1 priority=255 interval=1preemption-mode=yes authentication=none password="" on-backup=""on-master="" ip vrrp>Next the virtual IP address should be added to this VRRP instance ip vrrp> address add address=192.168.1.1/24 \\... virtual-router=vr1 ip vrrp> address printFlags: X - disabled, A - active# ADDRESS NETWORK BROADCAST VIRTUAL-ROUTER0 192.168.1.1/24 192.168.1.0 192.168.1.255 vr1 ip vrrp>Now this address should appear in /ip address list: ip address> printFlags: X - disabled, I - invalid, D - dynamic# ADDRESS NETWORK BROADCAST INTERFACE0 10.0.0.1/24 10.0.0.0 10.0.0.255 public1 192.168.1.2/24 192.168.1.0 192.168.1.255 local2 D 192.168.1.1/24 192.168.1.0 192.168.1.255 local ip address>Configuring Backup VRRP routerNow we will create VRRP instance with lower priority (we can use the default value of 100), so thisrouter will back up the preferred one: ip vrrp> add interface=local ip vrrp> printFlags: X - disabled, I - invalid, M - master, B - backup0 B name="vr1" interface=local vrid=1 priority=100 interval=1preemption-mode=yes authentication=none password="" on-backup=""on-master="" ip vrrp>Now we should add the same virtual address as was added to the master node:Page 283 of 564 ip vrrp> address add address=192.168.1.1/24 \\... virtual-router=vr1 ip vrrp> address printFlags: X - disabled, A - active# ADDRESS NETWORK BROADCAST VIRTUAL-ROUTER0 192.168.1.1/24 192.168.1.0 192.168.1.255 vr1 ip vrrp>Note that this address will not appear in /ip address list: ip address> printFlags: X - disabled, I - invalid, D - dynamic# ADDRESS NETWORK BROADCAST INTERFACE0 10.1.0.1/24 10.0.0.0 10.0.0.255 public1 192.168.1.3/24 192.168.1.0 192.168.1.255 local ip address>Testing fail overNow, when we will disconnect the master router, the backup one will switch to the master state: ip vrrp> printFlags: X - disabled, I - invalid, M - master, B - backup0 M name="vr1" interface=local vrid=1 priority=100 interval=1preemption-mode=yes authentication=none password="" on-backup=""on-master="" ip vrrp> /ip address printFlags: X - disabled, I - invalid, D - dynamic# ADDRESS NETWORK BROADCAST INTERFACE0 10.1.0.1/24 10.0.0.0 10.0.0.255 public1 192.168.1.3/24 192.168.1.0 192.168.1.255 local2 D 192.168.1.1/24 192.168.1.0 192.168.1.255 local ip vrrp>

alexhj 发表于 2005-1-17 09:07:41

可以让两台机器互为热备,会更完美vrrp比cisco的hsrp真是好多了

ricky 发表于 2005-1-17 09:10:46

mikrotik的举例中是双线路备份的例子,好像不是双机备份的例子。

bow 发表于 2005-1-17 11:30:11

是双机热备

nihaoya 发表于 2005-1-17 17:47:33

准确地说,应该是双线双机热备。一个外网是10.0.0.1,另一个外网是10.1.0.1。问题是能否单外网双机热备?希望有高手来解答!!!

alexhj 发表于 2005-1-17 18:37:47

QUOTE (nihaoya @ Jan 17 2005, 05:47 PM)
准确地说,应该是双线双机热备。一个外网是10.0.0.1,另一个外网是10.1.0.1。问题是能否单外网双机热备?希望有高手来解答!!!
当然可以啊两个路由器虚拟出一个网关给用户使用,一个做master,一个做slave,master断了slave就会接替,但虚拟网关不变也就是说用户几乎不受影响

dennys 发表于 2005-1-19 21:43:11

这个到是不错
页: [1]
查看完整版本: RouteOs可以做双机冗余吗