Hi, How to export address 1.1.1.1/32 from lo interface via BGP? I tried to do: router id 2.2.2.2; protocol kernel { } protocol static { route 1.1.1.1/32 via "lo"; } protocol bgp { local as 65000; neighbor 2.2.2.1 as 65000; export filter { accept; }; } but there are no any prefixes on neighbor 2.2.2.1 :( -- WBR, Eugene Prokopiev
Use protocol direct, as detailed in http://bird.network.cz/?get_doc&f=bird-6.html#ss6.4 <http://bird.network.cz/?get_doc&f=bird-6.html#ss6.4>
Le 11 nov. 2014 à 12:54, Eugene Prokopiev <enp@itx.ru> a écrit :
Hi,
How to export address 1.1.1.1/32 from lo interface via BGP? I tried to do:
router id 2.2.2.2;
protocol kernel { }
protocol static { route 1.1.1.1/32 via "lo"; }
protocol bgp { local as 65000; neighbor 2.2.2.1 as 65000; export filter { accept; }; }
but there are no any prefixes on neighbor 2.2.2.1 :(
Use protocol direct, as detailed in http://bird.network.cz/?get_doc&f=bird-6.html#ss6.4
I tried to add: protocol direct { interface "*"; } but result was the same: bird> show route export bgp1 bird> -- WBR, Eugene Prokopiev
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11.11.2014 17:44, Eugene Prokopiev wrote:
Use protocol direct, as detailed in http://bird.network.cz/?get_doc&f=bird-6.html#ss6.4
I tried to add:
protocol direct { interface "*"; }
but result was the same:
bird> show route export bgp1 bird>
And just 'show route' ?
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIbBAEBAgAGBQJUYj2zAAoJED82D4RIDoWPSNYP+NNGeUloandM7lBKGU1quKYt ZYmvM5+nRJVkdBLWzP9zrWZp1f6KSMRLikWqtKnvFQmSmE+BtJx+Jub1bgXOK+eL UCz9/o2FmMxOgVh+2LdDKKdXyFGgSfUGoyggaV8GlwA8WyOjI15lH/fV9CSwdWBa GYZMMlQP7Jgw3RwsSFmlTCfzwQC0eIEZC1wxZxWLwTxqNsoHAaeBraQr4Cl5EmPM qFDWFac3Hmna5LZh+AKwG+reIsjIuREWb9d8bTOyVeW36P4psnm931iBPFuv8OT7 SbQcVD6k9flfhxOUFcywb5TuBeYrIiLpZHd8lhvfwzwt/IoTdQBQzN8PMaQUwI4C YZMzphu4FVxAYX72CtqzT49DCCUwc4C4WblGfU72ZT06dtH7Cvhux1SAVhCxyhmA HJmkcP+BAatUkQLO1O0SwHi+1g5iLG8YpHQVj7UNZDXzq/304fQQsjUm+fYnLdsO Ks2BbFH8TizS1M5wcoGkbpYfFO972yDcCqVMI/0X4IrmozhE92qxLW0p6WcYdFDA rKGBY6mL3OMMsopUAzRhC1rO+FRsqkrznKqKeRXnwxQSDJeeiNDs/TIrRbJM5ReC sbqnIFVzpqt2I4yTSuLP6W2PtoPGTeyiFO9X3jBczLHcHhLEFwtv4LuUee+2HtBS z1Ckr4tDC6QcoTQRPYo= =NQmx -----END PGP SIGNATURE-----
Hi Eugene Do you have the following configured? # Scan the device for routing changes every 20 seconds, this is required for BIRD to see # the direct routes and the static default protocol device { scan time 10; } If not, that will prevent direct routes from making it into the table. Thanks, Jamie Panagos Managing Principal Content Operations Engineer Time Warner Cable 12101 Airport Way Broomfield, CO 80021 Office: 720-279-2745 Cell: 303-718-7701 Email: jamie.panagos@twcable.com On Tue, 11 Nov 2014, Ondrej Filip wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 11.11.2014 17:44, Eugene Prokopiev wrote:
Use protocol direct, as detailed in http://bird.network.cz/?get_doc&f=bird-6.html#ss6.4
I tried to add:
protocol direct { interface "*"; }
but result was the same:
bird> show route export bgp1 bird>
And just 'show route' ?
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQIbBAEBAgAGBQJUYj2zAAoJED82D4RIDoWPSNYP+NNGeUloandM7lBKGU1quKYt ZYmvM5+nRJVkdBLWzP9zrWZp1f6KSMRLikWqtKnvFQmSmE+BtJx+Jub1bgXOK+eL UCz9/o2FmMxOgVh+2LdDKKdXyFGgSfUGoyggaV8GlwA8WyOjI15lH/fV9CSwdWBa GYZMMlQP7Jgw3RwsSFmlTCfzwQC0eIEZC1wxZxWLwTxqNsoHAaeBraQr4Cl5EmPM qFDWFac3Hmna5LZh+AKwG+reIsjIuREWb9d8bTOyVeW36P4psnm931iBPFuv8OT7 SbQcVD6k9flfhxOUFcywb5TuBeYrIiLpZHd8lhvfwzwt/IoTdQBQzN8PMaQUwI4C YZMzphu4FVxAYX72CtqzT49DCCUwc4C4WblGfU72ZT06dtH7Cvhux1SAVhCxyhmA HJmkcP+BAatUkQLO1O0SwHi+1g5iLG8YpHQVj7UNZDXzq/304fQQsjUm+fYnLdsO Ks2BbFH8TizS1M5wcoGkbpYfFO972yDcCqVMI/0X4IrmozhE92qxLW0p6WcYdFDA rKGBY6mL3OMMsopUAzRhC1rO+FRsqkrznKqKeRXnwxQSDJeeiNDs/TIrRbJM5ReC sbqnIFVzpqt2I4yTSuLP6W2PtoPGTeyiFO9X3jBczLHcHhLEFwtv4LuUee+2HtBS z1Ckr4tDC6QcoTQRPYo= =NQmx -----END PGP SIGNATURE-----
This E-mail and any of its attachments may contain Time Warner Cable proprietary information, which is privileged, confidential, or subject to copyright belonging to Time Warner Cable. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11.11.2014 12:54, Eugene Prokopiev wrote:
Hi,
How to export address 1.1.1.1/32 from lo interface via BGP? I tried to do:
router id 2.2.2.2;
protocol kernel { }
protocol static { route 1.1.1.1/32 via "lo"; }
protocol bgp { local as 65000; neighbor 2.2.2.1 as 65000; export filter { accept; }; }
but there are no any prefixes on neighbor 2.2.2.1 :(
It should work. What is output of 'show route export bgp1' ? Ondrej
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUYiKcAAoJED82D4RIDoWP+Z8QALXya/79nRukLkOMTkiWDuQK v+XqQvBxz4hvy932Ma2KWAmSYGdMlC0Es0Nlmydstnp1KmveN51lKfpQd+k6Hydx CJqW0/jODfmICd1hsaNoxxXl86GoyA38Fggb1vtwjGuoWJyDzfWc+rvA2PVWJQMN K4MLR+ySiRyOdOcwTsbCwtwPHRLWQJN6t7cFzms3oc7gAti5wW7qGHFXbmA8mxFx CEvPiJUKxLyfChCfzIS/7QgssJz9tHY6j2SoKCR8awAu4nSTqR1YEWPoph0lDZnL 4Uy+yLfYTYwQ4umNVIJLhjQqtNL4ChjG0Bf/Xt2PgCAihw32kX1DTcifTRJ7oKQe jdA0Uu3c3ilcMHPaFA3b6uOm7psYf9KiSXXKwYPkuggqNVvioDzR5QQeOgl/ua4g E6EhhPKX49a5AexCpFIX5Gwg8yogM1pxiFFNjESI/qoJO19TVF70WQSiaNxYlBTj W4MedJEatvq1Gg4utkFx0UiKAcUL0zy5e/uTiA/Kn74xQBNR+lb5fTMWgoa4FDj/ eAmYlN5KdQ3fG+9r7+4zY0/u61cU9JivgaC+NEvWmked23tRdjvdoEu6f6ey5STl ODmAdXzBFQuHHGPus4CyPRX7vBsiaq1Z2nrESMtZRQC3na/OECDQBbcEdeu+5c/L AatIf9La8uAmxnT/d+yu =qFT/ -----END PGP SIGNATURE-----
How to export address 1.1.1.1/32 from lo interface via BGP? I tried to do:
router id 2.2.2.2;
protocol kernel { }
protocol static { route 1.1.1.1/32 via "lo"; }
protocol bgp { local as 65000; neighbor 2.2.2.1 as 65000; export filter { accept; }; }
but there are no any prefixes on neighbor 2.2.2.1 :(
It should work. What is output of 'show route export bgp1' ?
Output is empty -- WBR, Eugene Prokopiev
On Tue, Nov 11, 2014 at 03:54:59PM +0400, Eugene Prokopiev wrote:
Hi,
How to export address 1.1.1.1/32 from lo interface via BGP? I tried to do:
router id 2.2.2.2;
protocol kernel { }
protocol static { route 1.1.1.1/32 via "lo"; }
protocol bgp { local as 65000; neighbor 2.2.2.1 as 65000; export filter { accept; }; }
but there are no any prefixes on neighbor 2.2.2.1 :(
Hi You are missing 'protocol device', which is necessary for other protocols to find network devices. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (5)
-
Eugene Prokopiev -
Jamie Panagos -
Olivier Benghozi -
Ondrej Filip -
Ondrej Zajicek