Community discussions

MikroTik App
用户头像
Riyad
刚刚加入了
Topic Author
Posts: 22
加入: Thu Jun 22, 2006 8:23 am
Location:Dhaka, Bangladesh

边界网关协议声明

Wed Jun 15, 2011 1:36 am

DEAR,

我Have following conf in my cisco router. and i want to transfer my cisco to my MT RB750G. Basically there is BGP announcement which i could not find in MT forum or docs. Would you like to help me to resolve this solution. i attached my conf file.
mysrv相依。rtf
============================
router bgp ********
no synchronization
bgp log-neighbor-changes
network 0.0.0.0 mask 255.255.252.0
neighbor 0.0.0.233 remote-as *****
neighbor 0.0.0.233 soft-reconfiguration inbound
neighbor 0.0.0.233 prefix-list default in
neighbor 0.0.0.233 prefix-list BTTB-OUT out
没有auto-summary
==================================

How to implement above config in MT RB.
You do not have the required permissions to view the files attached to this post.
Top
fewi
Forum Guru
Forum Guru
Posts: 7717
加入: Tue Aug 11, 2009 3:19 am

Re: BGP ANNOUNCEMENT

Wed Jun 15, 2011 1:47 am

That is not only missing the two prefix lists you're referring to, making it impossible to replicate what you have for filters, but a network statement for 0.0.0.0 for a /23 also doesn't make any sense.
So really it's hard to give any answer more specific than the wiki manual already does.
Top
用户头像
Riyad
刚刚加入了
Topic Author
Posts: 22
加入: Thu Jun 22, 2006 8:23 am
Location:Dhaka, Bangladesh

Re: BGP ANNOUNCEMENT

Fri Jun 17, 2011 5:52 am

That is not only missing the two prefix lists you're referring to, making it impossible to replicate what you have for filters, but a network statement for 0.0.0.0 for a /23 also doesn't make any sense.
So really it's hard to give any answer more specific than the wiki manual already does.
Hello, if i missing anything intentionally sorry for that, but i recheck my modified cisco conf file. and there is neither "network statement for 0.0.0.0 for a /23" .

我t was "network 0.0.0.0 mask 255.255.252.0" that means /22 . So how could you calculate /23 from this statement.
我want to know, How to write following cisco conf in my MT RB450G or RB750G.

"router bgp ********
no synchronization
bgp log-neighbor-changes
network 0.0.0.0 mask 255.255.252.0
neighbor 192.168.1.233 remote-as *****
neighbor 192.168.1.233 soft-reconfiguration inbound
neighbor 192.168.1.233 prefix-list default in
neighbor 192.168.1.233 prefix-list GW-OUT out
没有auto-summary

Thats all ...if u need my orginal cisco conf file then pm me .. plz

Regards
Top
blake
Member
Member
Posts: 426
加入: Mon May 31, 2010 10:46 pm
Location:Arizona

Re: BGP ANNOUNCEMENT

Fri Jun 17, 2011 10:31 am

我believe I'm speaking for fewi as well as myself, but we have extensive Cisco experience and have not seen a network statement such as that. From the syntax it would appear to match any network you want to advertise as long as its a /22. Interesting, but again I've never seen it in operation. I'll have to test it.

What is your IP range? We could help you write compatible RouterOS filters if you provide us that information.

Thanks.
Top
cupis
Frequent Visitor
Frequent Visitor
Posts: 74
加入: Sun Apr 10, 2011 1:25 am

Re: BGP ANNOUNCEMENT

Fri Jun 17, 2011 11:21 am

You will need to provide the Cisco config defining the two prefix-lists:

"sh run | i default"
and
"sh run | i GW-OUT"

Regards,
Top
用户头像
Riyad
刚刚加入了
Topic Author
Posts: 22
加入: Thu Jun 22, 2006 8:23 am
Location:Dhaka, Bangladesh

Re: BGP ANNOUNCEMENT

Wed Jun 22, 2011 5:37 am

我believe I'm speaking for fewi as well as myself, but we have extensive Cisco experience and have not seen a network statement such as that. From the syntax it would appear to match any network you want to advertise as long as its a /22. Interesting, but again I've never seen it in operation. I'll have to test it.

What is your IP range? We could help you write compatible RouterOS filters if you provide us that information.

Thanks.
So what do u want? my public ip range? If u provide me your email address then i will send it to you otherwise..:(
Just think "i have a network with "1022" public ip address " If you never heard a network like /22 netmask although you have extensive Cisco experience, look the following.
NB: "Oh one things more i dont need to advertise anything from my router. I want to know how to use my cisco bgp config as it is in my RB450G or RB750G. thats all.

Address: 192.168.32.0 11000000.10101000.001000 00.00000000
Netmask: 255.255.252.0 = 22 11111111.11111111.111111 00.00000000
Wildcard: 0.0.3.255 00000000.00000000.000000 11.11111111
=>
Network: 192.168.32.0/22 11000000.10101000.001000 00.00000000 (Class C)
Broadcast: 192.168.35.255 11000000.10101000.001000 11.11111111
HostMin: 192.168.32.1 11000000.10101000.001000 00.00000001
HostMax: 192.168.35.254 11000000.10101000.001000 11.11111110
Hosts/Net: 1022 (Private Internet)
For security reasons i could not put here my public ip's .
Top
blake
Member
Member
Posts: 426
加入: Mon May 31, 2010 10:46 pm
Location:Arizona

Re: BGP ANNOUNCEMENT

Wed Jun 22, 2011 8:35 am

我f you never heard a network like /22 netmask although you have extensive Cisco experience, look the following.
我know what a /22 is. I'm saying I've never seennetwork 0.0.0.0 mask 255.255.252.0in a config, but I have seen actual blocks listed likenetwork 209.145.204.0 mask 255.255.252.0.

我f you want to hide your public IPs, that's fine. I can't help you though. Maybe someone else will pick up on this thread.

Best of luck!
Top

Who is online

Users browsing this forum: No registered users and 5 guests