Hi Next step. I want to setup a iBGP peer and I want all the bgp routes learn and distributed to be linked to the VRF internet Seems like I have to choices /routing bgp instance I can add an instance and use routing-table. Or I can add a /routing bgp instance vrf entry after add one to /routing bgp instance but leaving routing-table as main So I want all the BGP routes received and sent to be only from vrf internet. So which one do I use ! Pro's cons. The wiki page is not that informative Alex
Hi Alex, I've used the BGP instance routing table assignment successfully for a similar scenario to what you are trying to achieve. I have also used the VRF section of the BGP configuration, but only for VPN4 routes in an MPLS environment, not standard IPv4/6. I'm not sure if it will do what you want. Regards, Philip Loenneker | Network Engineer | TasmaNet 40-50 Innovation Drive, Dowsing Point, Tas 7010, Australia P: 03 6165 2542 | M: 0404 097 816 philip.loenneker@tasmanet.com.au www.tasmanet.com.au -----Original Message----- From: Public [mailto:public-bounces@talk.mikrotik.com.au] On Behalf Of Alex Samad - Yieldbroker Sent: Monday, 30 January 2017 1:24 PM To: public@talk.mikrotik.com.au Subject: [MT-AU Public] VRF and BGP Hi Next step. I want to setup a iBGP peer and I want all the bgp routes learn and distributed to be linked to the VRF internet Seems like I have to choices /routing bgp instance I can add an instance and use routing-table. Or I can add a /routing bgp instance vrf entry after add one to /routing bgp instance but leaving routing-table as main So I want all the BGP routes received and sent to be only from vrf internet. So which one do I use ! Pro's cons. The wiki page is not that informative Alex _______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com.au
Hi Okay, Not sure I know enough about MPLS (zero really) and I am not using. I think I use the routing mark in the instance and I need to setup a RD in /ip route vrf Alex -----Original Message----- From: Public [mailto:public-bounces@talk.mikrotik.com.au] On Behalf Of Philip Loenneker Sent: Monday, 30 January 2017 2:21 PM To: MikroTik Australia Public List <public@talk.mikrotik.com.au> Subject: Re: [MT-AU Public] VRF and BGP Hi Alex, I've used the BGP instance routing table assignment successfully for a similar scenario to what you are trying to achieve. I have also used the VRF section of the BGP configuration, but only for VPN4 routes in an MPLS environment, not standard IPv4/6. I'm not sure if it will do what you want. Regards, Philip Loenneker | Network Engineer | TasmaNet 40-50 Innovation Drive, Dowsing Point, Tas 7010, Australia P: 03 6165 2542 | M: 0404 097 816 philip.loenneker@tasmanet.com.au www.tasmanet.com.au -----Original Message----- From: Public [mailto:public-bounces@talk.mikrotik.com.au] On Behalf Of Alex Samad - Yieldbroker Sent: Monday, 30 January 2017 1:24 PM To: public@talk.mikrotik.com.au Subject: [MT-AU Public] VRF and BGP Hi Next step. I want to setup a iBGP peer and I want all the bgp routes learn and distributed to be linked to the VRF internet Seems like I have to choices /routing bgp instance I can add an instance and use routing-table. Or I can add a /routing bgp instance vrf entry after add one to /routing bgp instance but leaving routing-table as main So I want all the BGP routes received and sent to be only from vrf internet. So which one do I use ! Pro's cons. The wiki page is not that informative Alex _______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com.au _______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com.au -- Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.http://www.mailguard.com.au/mg Click here to report this message as spam: https://console.mailguard.com.au/ras/1QacmRawdc/4DtItyCkm3Gcq5orT06SEC/0.2
You only need a routing mark, not a routing distinguisher in this context. -----Original Message----- From: Public [mailto:public-bounces@talk.mikrotik.com.au] On Behalf Of Alex Samad - Yieldbroker Sent: Monday, 30 January 2017 2:36 PM To: MikroTik Australia Public List <public@talk.mikrotik.com.au> Subject: Re: [MT-AU Public] VRF and BGP Hi Okay, Not sure I know enough about MPLS (zero really) and I am not using. I think I use the routing mark in the instance and I need to setup a RD in /ip route vrf Alex -----Original Message----- From: Public [mailto:public-bounces@talk.mikrotik.com.au] On Behalf Of Philip Loenneker Sent: Monday, 30 January 2017 2:21 PM To: MikroTik Australia Public List <public@talk.mikrotik.com.au> Subject: Re: [MT-AU Public] VRF and BGP Hi Alex, I've used the BGP instance routing table assignment successfully for a similar scenario to what you are trying to achieve. I have also used the VRF section of the BGP configuration, but only for VPN4 routes in an MPLS environment, not standard IPv4/6. I'm not sure if it will do what you want. Regards, Philip Loenneker | Network Engineer | TasmaNet 40-50 Innovation Drive, Dowsing Point, Tas 7010, Australia P: 03 6165 2542 | M: 0404 097 816 philip.loenneker@tasmanet.com.au www.tasmanet.com.au -----Original Message----- From: Public [mailto:public-bounces@talk.mikrotik.com.au] On Behalf Of Alex Samad - Yieldbroker Sent: Monday, 30 January 2017 1:24 PM To: public@talk.mikrotik.com.au Subject: [MT-AU Public] VRF and BGP Hi Next step. I want to setup a iBGP peer and I want all the bgp routes learn and distributed to be linked to the VRF internet Seems like I have to choices /routing bgp instance I can add an instance and use routing-table. Or I can add a /routing bgp instance vrf entry after add one to /routing bgp instance but leaving routing-table as main So I want all the BGP routes received and sent to be only from vrf internet. So which one do I use ! Pro's cons. The wiki page is not that informative Alex _______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com.au _______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com.au -- Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.http://www.mailguard.com.au/mg Click here to report this message as spam: https://console.mailguard.com.au/ras/1QacmRawdc/4DtItyCkm3Gcq5orT06SEC/0.2 _______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com.au
Hi Some more info I have come across /ip route rule So for dns say I use 8.8.8.8 I had add chain=output action=mark-routing new-routing-mark=Internet dst-address=8.8.8.8/32 seems like I can also us /ip route rule add dst-add=8.8.8.8/32 action=lookup table=Internet I also had something like this add action=mark-routing chain=output new-routing-mark=internet src-address=2.7.3.6/32 but I could use /ip route rule src-address So where is the better place to do it ? I'm thinking ip route rule .... Alex -----Original Message----- From: Alex Samad - Yieldbroker Sent: Monday, 30 January 2017 2:36 PM To: MikroTik Australia Public List <public@talk.mikrotik.com.au> Subject: RE: VRF and BGP Hi Okay, Not sure I know enough about MPLS (zero really) and I am not using. I think I use the routing mark in the instance and I need to setup a RD in /ip route vrf Alex -----Original Message----- From: Public [mailto:public-bounces@talk.mikrotik.com.au] On Behalf Of Philip Loenneker Sent: Monday, 30 January 2017 2:21 PM To: MikroTik Australia Public List <public@talk.mikrotik.com.au> Subject: Re: [MT-AU Public] VRF and BGP Hi Alex, I've used the BGP instance routing table assignment successfully for a similar scenario to what you are trying to achieve. I have also used the VRF section of the BGP configuration, but only for VPN4 routes in an MPLS environment, not standard IPv4/6. I'm not sure if it will do what you want. Regards, Philip Loenneker | Network Engineer | TasmaNet 40-50 Innovation Drive, Dowsing Point, Tas 7010, Australia P: 03 6165 2542 | M: 0404 097 816 philip.loenneker@tasmanet.com.au www.tasmanet.com.au -----Original Message----- From: Public [mailto:public-bounces@talk.mikrotik.com.au] On Behalf Of Alex Samad - Yieldbroker Sent: Monday, 30 January 2017 1:24 PM To: public@talk.mikrotik.com.au Subject: [MT-AU Public] VRF and BGP Hi Next step. I want to setup a iBGP peer and I want all the bgp routes learn and distributed to be linked to the VRF internet Seems like I have to choices /routing bgp instance I can add an instance and use routing-table. Or I can add a /routing bgp instance vrf entry after add one to /routing bgp instance but leaving routing-table as main So I want all the BGP routes received and sent to be only from vrf internet. So which one do I use ! Pro's cons. The wiki page is not that informative Alex _______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com.au _______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com.au -- Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.http://www.mailguard.com.au/mg Click here to report this message as spam: https://console.mailguard.com.au/ras/1QacmRawdc/4DtItyCkm3Gcq5orT06SEC/0.2
Hi Alex, I have seen the ip route rules option, but never used it... however I'm thinking it would be an easier way to solve a VRF routing issue that I have than the current method I have. It's probably not a case of which way is the correct way, but which is the most logical and reproducible method that works for your environment. It may depend mostly on how specific or not the route you need is. Regards, Philip Loenneker | Network Engineer | TasmaNet -----Original Message----- From: Public [mailto:public-bounces@talk.mikrotik.com.au] On Behalf Of Alex Samad - Yieldbroker Sent: Wednesday, 1 February 2017 9:40 AM To: MikroTik Australia Public List <public@talk.mikrotik.com.au> Subject: Re: [MT-AU Public] VRF and BGP Hi Some more info I have come across /ip route rule So for dns say I use 8.8.8.8 I had add chain=output action=mark-routing new-routing-mark=Internet dst-address=8.8.8.8/32 seems like I can also us /ip route rule add dst-add=8.8.8.8/32 action=lookup table=Internet I also had something like this add action=mark-routing chain=output new-routing-mark=internet src-address=2.7.3.6/32 but I could use /ip route rule src-address So where is the better place to do it ? I'm thinking ip route rule .... Alex -----Original Message----- From: Alex Samad - Yieldbroker Sent: Monday, 30 January 2017 2:36 PM To: MikroTik Australia Public List <public@talk.mikrotik.com.au> Subject: RE: VRF and BGP Hi Okay, Not sure I know enough about MPLS (zero really) and I am not using. I think I use the routing mark in the instance and I need to setup a RD in /ip route vrf Alex -----Original Message----- From: Public [mailto:public-bounces@talk.mikrotik.com.au] On Behalf Of Philip Loenneker Sent: Monday, 30 January 2017 2:21 PM To: MikroTik Australia Public List <public@talk.mikrotik.com.au> Subject: Re: [MT-AU Public] VRF and BGP Hi Alex, I've used the BGP instance routing table assignment successfully for a similar scenario to what you are trying to achieve. I have also used the VRF section of the BGP configuration, but only for VPN4 routes in an MPLS environment, not standard IPv4/6. I'm not sure if it will do what you want. Regards, Philip Loenneker | Network Engineer | TasmaNet 40-50 Innovation Drive, Dowsing Point, Tas 7010, Australia P: 03 6165 2542 | M: 0404 097 816 philip.loenneker@tasmanet.com.au www.tasmanet.com.au -----Original Message----- From: Public [mailto:public-bounces@talk.mikrotik.com.au] On Behalf Of Alex Samad - Yieldbroker Sent: Monday, 30 January 2017 1:24 PM To: public@talk.mikrotik.com.au Subject: [MT-AU Public] VRF and BGP Hi Next step. I want to setup a iBGP peer and I want all the bgp routes learn and distributed to be linked to the VRF internet Seems like I have to choices /routing bgp instance I can add an instance and use routing-table. Or I can add a /routing bgp instance vrf entry after add one to /routing bgp instance but leaving routing-table as main So I want all the BGP routes received and sent to be only from vrf internet. So which one do I use ! Pro's cons. The wiki page is not that informative Alex _______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com.au _______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com.au -- Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.http://www.mailguard.com.au/mg Click here to report this message as spam: https://console.mailguard.com.au/ras/1QacmRawdc/4DtItyCkm3Gcq5orT06SEC/0.2 _______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com.au
participants (2)
-
Alex Samad - Yieldbroker
-
Philip Loenneker