Community discussions

MikroTik App
 
kazhuyo
just joined
Topic Author
Posts: 2
Joined: Fri Mar 16, 2012 7:36 am

Howto Configure Internal BGP ?

Mon Oct 21, 2013 10:20 am

I've Juniper J4350, but get error and can't boot right now.
I want to move all configuration in juniper to my CCR.

here's the backup configuration from juniper :
admin@seamolec> show configuration
version 8.0R2.8;
system {
host-name seamolec;
root-authentication {
encrypted-password "$1$htWhAVz5$K.ibFi3Org5ANE5CTrjsc/"; ## SECRET-DATA
}
name-server {
192.168.223.10;
192.168.166.11;
}
login {
user admin {
uid 2000;
class super-user;
authentication {
encrypted-password "$1$aTsDiiKD$A.xgN4cNaZCFT9cOCAL2p."; ## SECRET-DATA
}
}
}
services {
ssh;
telnet;
web-management {
http {
interface [ ge-0/0/0.0 ge-0/0/1.0 ge-0/0/2.0 ge-0/0/3.0 ];
}
}
}
syslog {
user * {
any emergency;
}
file messages {
any any;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
address 192.168.1.1/24;
}
}
}
ge-0/0/1 {
description "LAN Server Seamolec";
unit 0 {
family inet {
address 192.168.222.129/25;
}
}
}
ge-0/0/3 {
description "Link ke Pustekkom";
unit 0 {
family inet {
address 192.168.132.246/30;
}
}
}
lo0 {
description "Loopback Seamolec";
unit 0 {
family inet {
address 192.168.132.121/32;
}
}
}
}
snmp {
community diknas {
authorization read-write;
}
trap-group diknas {
categories {
chassis;
link;
}
targets {
10.0.0.4;
10.10.204.2;
}
}
}
routing-options {
router-id 192.168.132.121;
autonomous-system 18051;
}
protocols {
bgp {
group ibgp {
type internal;
multihop;
local-address 192.168.132.121;
export [ nhs advertise_to_Pustekom ];
neighbor 192.168.132.165 {
description "Peer ke NOC Ciputat.A-M10i";
}
neighbor 192.168.132.166 {
description "Peer ke NOC Ciputat.B-M10i";
}

neighbor 192.168.132.225 {
description "Peer ke NOC Cyber.A-M10i";
}
neighbor 192.168.132.226 {
description "Peer ke NOC Cyber.B-M10i";
}
neighbor 192.168.132.109 {
description "Peer ke Senanyan";
}
neighbor 192.168.132.122 {
description "Peer ke SRX-240 Schoolnet";
}
}
}
ospf {
area 0.0.0.0 {
interface lo0.0;
interface ge-0/0/3.0 {
interface-type nbma;
neighbor 192.168.132.245;
}
}
}
}
policy-options {
policy-statement advertise_to_Pustekom {
term 1 {
from {
protocol direct;
route-filter 192.168.222.128/25 exact;
}
then accept;
}
term 2 {
then reject;
}
}
policy-statement nhs {
then {
next-hop self;
}
}
}
My Question is :

1. there's anyone can give me a clue howto configure ibgp in CCR ?
2. in my backup configuration, i've bold this line :
protocols {
bgp {
group ibgp {
type internal;
multihop;
local-address 192.168.132.121;
export [ nhs advertise_to_Pustekom ];
neighbor 192.168.132.165 {
description "Peer ke NOC Ciputat.A-M10i";
}
neighbor 192.168.132.166 {
description "Peer ke NOC Ciputat.B-M10i";
}

howto configure this line in mikrotik routerboard CCR ?

thank for any help...
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7053
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Howto Configure Internal BGP ?

Mon Oct 21, 2013 10:54 am

If remote and local AS is the same then peering is considered iBGP.
 
kazhuyo
just joined
Topic Author
Posts: 2
Joined: Fri Mar 16, 2012 7:36 am

Re: Howto Configure Internal BGP ?

Mon Oct 21, 2013 11:18 am

If remote and local AS is the same then peering is considered iBGP.
and then how to configure these line in mikrotik ?
protocols {
bgp {
group ibgp {
type internal;
multihop;
local-address 192.168.132.121;
export [ nhs advertise_to_Pustekom ];
neighbor 192.168.132.165 {
description "Peer ke NOC Ciputat.A-M10i";
}
neighbor 192.168.132.166 {
description "Peer ke NOC Ciputat.B-M10i";
}
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7053
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Howto Configure Internal BGP ?

Mon Oct 21, 2013 11:21 am

/routing bgp peer add remote-address=192.168.132.165 remote-as=xxxx update-source=192.168.132.121 out-filter=advertise_to_Pustekom

the same for other peer

Who is online

Users browsing this forum: No registered users and 28 guests