OK, and so what about 3 full feeds? Is there any RouterOS-capable hardware? Or is there any way to upgrade memory in RBs?Two full feeds requires a lot of RAM. You need router with 512MB of ram, like RB1000.
RB450G can handle only one feed.
it is usefull only when you intend to use the second BGP peer as a backup one (and the ISPs doesn't want to use OSPF for it). But it will work as expected only when link to main ISP will go down. You will receive the default route even half on an Internet will have no connection to your main upstream ISP - so you will not be able to access these prefixes. In the case of 2 full views you will access the prefixes via second upstream...Abram, please forget about full feeds! receive only default routes
well, even in the worst case (many different ASes on one uplink to the ~tier1, almost direct connection via second uplink) bgp-prepend=5 (10, 20, etc ) saves the situation =)Chupaka, prepend isn't always working with peering with different AS
So, you insert a default route into your network and propagate the static route? If the largest subnet is a /24, prepending is enough to set the preferred uplink?absolutely wrong. if you announce all your prefixes to all your uplinks, but with different prepend - you get full backup, and at the same time you can control, via which uplinks you will receive the traffic for those subnets
not sure about others, but our ISP receives only /24 ang greater networks. so you are likely can set preffered uplink per /24 subnet (or shorter mask)If the largest subnet is a /24, prepending is enough to set the preferred uplink?
an example of what? =)Have you got an example perhaps?
The smallest subnet you can count on to be advertised properly, is a /24. So, advertising an /21 to the less preferred uplink and a /24 to the preferred, is not possible our case. So how do you manage incoming traffic? Prepending is not very reliable, I think.not sure about others, but our ISP receives only /24 ang greater networks. so you are likely can set preffered uplink per /24 subnet (or shorter mask)
An example of how you set the preference of the outgoing traffic (to the uplinks) with 'automatic' fallback (so, without manual interference in case the preferred uplink is down).an example of what? =)
prepending is exactly what you needSo how do you manage incoming traffic? Prepending is not very reliable, I think.
/routing filter
add action=accept chain=isp2 disabled=no prefix=1.1.1.0/24 set-bgp-prepend=5
add action=accept chain=isp1 disabled=no prefix=2.2.2.0/24 set-bgp-prepend=5
An example of how you set the preference of the outgoing traffic (to the uplinks) with 'automatic' fallback (so, without manual interference in case the preferred uplink is down).
/ip route rule
add disabled=no src-address=1.1.1.0/24 action=lookup table=isp1
add disabled=no src-address=1.1.1.0/24 action=lookup table=isp2
limit? what kind of limiting do you mean? isn't 'full view' just a loud words for those whose server is RB450G and it's enough?.. so you simply get only default routes from uplink providers - and then announce your subnets with different prepend to these uplinks
So, in this case each prefix will have a prepend on different isp. To have everything go through isp1 (isp1 is cheaper), it would beprepending is exactly what you need
Code: Select all/routing filter add action=accept chain=isp2 disabled=no prefix=1.1.1.0/24 set-bgp-prepend=5 add action=accept chain=isp1 disabled=no prefix=2.2.2.0/24 set-bgp-prepend=5
/routing filter
add action=accept chain=isp2 disabled=no prefix=1.1.1.0/24 set-bgp-prepend=5
add action=accept chain=isp2 disabled=no prefix=2.2.2.0/24 set-bgp-prepend=5
Thanks. So this goes with 'normal' announcing our networks (and not default-originate).so now if you don't have a default route in 'isp1' table (isp1 failed, bgp session dropped = no default route) - RouterOS will lookup 'isp2' tableCode: Select all/ip route rule add disabled=no src-address=1.1.1.0/24 action=lookup table=isp1 add disabled=no src-address=1.1.1.0/24 action=lookup table=isp2
Right, got ityes, for full backup you should just prepend all announces to your backup link (with one rule)
and of course you should _not_ announce default route to your upstream provider
ip route 0.0.0.0 0.0.0.0 <neighbor1>
ip route 0.0.0.0 0.0.0.0 <neighbor2>
incoming traffic has no problem, of course. But there is no easy way how to send your packets to the destinations which are not (temporarily accessible via the default route provider (if you have no better routes from the other uplink - as we are discussing the case we have 2 default routes to two upstreams).absolutely wrong. if you announce all your prefixes to all your uplinks, but with different prepend - you get full backup, and at the same time you can control, via which uplinks you will receive the traffic for those subnets
More questions keep popping up....I looked at the wiki but I can't find anything on how the identity of 'table=isp1' and 'table=isp2' is set up. In other words, I have no clue on how the syntax is built.Code: Select all/ip route rule add disabled=no src-address=1.1.1.0/24 action=lookup table=isp1 add disabled=no src-address=1.1.1.0/24 action=lookup table=isp2
ip policy-routing> table isp1
ip policy-routing table isp1> add dst-address=0.0.0.0/0 gateway=<ip-isp1>
ip policy-routing> table isp2
ip policy-routing table isp2> add dst-address=0.0.0.0/0 gateway=<ip-isp2>
Well, right now I have only 35 mbits on one uplink ISP, so it's enough for me now. In a month or two, I'll have two different 100 mbit uplinks, so that's going to be a problem . Actually, I'm here to find the solution before my ass hurts .limit? what kind of limiting do you mean? isn't 'full view' just a loud words for those whose server is RB450G and it's enough?.. so you simply get only default routes from uplink providers - and then announce your subnets with different prepend to these uplinks
Well, I like using Russian while I speak it better than English.p.p.s. the best place for contacts is the Forum for private questions - my SkypeID is 'pavel.skuratovich'. but forum is better