two AS announce config migration 1.6.6 -> 2.0.12

nixx nixxwork at gmail.com
Thu Jul 27 03:39:23 CEST 2023


 show route for 192.168.200.100
and
show route protocol TestMain all
in attachments.

On Thu, 27 Jul 2023 at 02:40, Ondrej Zajicek <santiago at crfreenet.org> wrote:

> On Wed, Jul 26, 2023 at 11:00:26PM +0300, nixx wrote:
> > Hello.
> >
> > I need to announce one autonomous system from under another so that the
> > path "world -> AS65007 -> AS65065" must be visible from the outside
> world.
> > I successfully do it on version 1.6.6 (config-file and 'show route' from
> > live system with changed ip-addresses in attach).
>
> Hello
>
> That is an interesting question. By usint 'multihop 2' you implicitly
> changed gateway mode for TestMain from 'direct' to 'recursive', which
> means that it tries to resolve 192.168.200.100 in the master table.
> But that is the same for both v1.6 and v2.0.
>
> Perhaps there is some detail that you have direct protocol in v1.6 but
> not in v2.0?
>
> What you get from commands:
>
>   show route for 192.168.200.100
>
>   show route protocol TestMain all
>
> ?
>
> --
> Elen sila lumenn' omentielvo
>
> Ondrej 'Santiago' Zajicek (email: santiago at 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."
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20230727/7a15222e/attachment.htm>
-------------- next part --------------
bird>  show route for 192.168.200.100
Table master4:
192.168.200.96/29     unicast [direct1 2023-07-26 05:55:39] * (240)
        dev lanif.601


bird> show route protocol TestMain all
Table master4:
10.88.195.192/26   unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.192.192/26   unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.194.192/26   unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.193.192/26   unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.192.32/27    unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.192.128/26   unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.194.128/26   unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.193.128/26   unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.195.144/28   unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.192.64/26    unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.195.160/27   unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.194.64/26    unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.195.64/27    unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.193.64/26    unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.192.0/22     unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.193.0/26     unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.195.96/27    unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.195.0/26     unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.192.0/28     unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
10.88.194.0/26     unreachable [TestMain 2023-07-26 21:43:43 from 10.99.11.2] * (100) [AS65065i]
        Type: BGP univ
        BGP.origin: IGP
        BGP.as_path: 65065
        BGP.next_hop: 10.99.11.2
        BGP.local_pref: 220
-------------- next part --------------
bird> show route for 192.168.200.100
192.168.200.96/29   dev enp129s0.601 [direct1 2023-05-20 17:17:44] * (240)


bird> show route protocol TestMain all
10.88.192.32/27  via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220
10.88.195.96/27  via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220
10.88.195.160/27 via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220
10.88.193.64/26  via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220
10.88.193.0/26   via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220
10.88.193.192/26 via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220
10.88.193.128/26 via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220
10.88.192.64/26  via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220
10.88.192.0/22   unreachable [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/-) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 10.99.11.2
	BGP.local_pref: 220
10.88.192.0/28   via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220
10.88.192.192/26 via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220
10.88.192.128/26 via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220
10.88.195.64/27  via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220
10.88.195.0/26   via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220
10.88.195.192/26 via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220
10.88.194.64/26  via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220
10.88.194.0/26   via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220
10.88.194.192/26 via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220
10.88.194.128/26 via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220
10.88.195.144/28 via 192.168.200.100 on enp129s0.601 [TestMain 2023-05-20 17:17:47 from 10.99.11.2] * (100/0) [AS65065i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 65065
	BGP.next_hop: 192.168.200.100
	BGP.local_pref: 220


More information about the Bird-users mailing list