Hello, I'm just starting bird with vm and i'm running it on gns3. first of all the ospf is running and can see the routes from he neighbour as we can see below : root@gns3:/etc/netplan# birdc show route BIRD 1.6.3 ready. 1.1.1.1/32 via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.70.0/30 dev ens3 [ospf1 07:34:53] * I (150/5) [192.168.168.1] 192.168.40.0/30 via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.10.0/30 via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.20.0/30 via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.168.1/32 dev lo [ospf1 07:34:53] * I (150/0) [192.168.168.1] but i can't see the routes from the machine which is running bird. is this a bug ? or i have something wrong with ospf configuration ? root@gns3:/etc/netplan# ip route 169.254.0.0/16 dev ens3 scope link metric 1000 192.168.70.0/30 dev ens3 proto kernel scope link src 192.168.70.2 metric 100 regards,
Hello, Maybe show us the actual config? On 24/08/2020 10.43, Mehdi Rukmawan wrote:
Hello,
I'm just starting bird with vm and i'm running it on gns3. first of all the ospf is running and can see the routes from he neighbour as we can see below :
root@gns3:/etc/netplan# birdc show route BIRD 1.6.3 ready. 1.1.1.1/32 <http://1.1.1.1/32> via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.70.0/30 <http://192.168.70.0/30> dev ens3 [ospf1 07:34:53] * I (150/5) [192.168.168.1] 192.168.40.0/30 <http://192.168.40.0/30> via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.10.0/30 <http://192.168.10.0/30> via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.20.0/30 <http://192.168.20.0/30> via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.168.1/32 <http://192.168.168.1/32> dev lo [ospf1 07:34:53] * I (150/0) [192.168.168.1]
but i can't see the routes from the machine which is running bird. is this a bug ? or i have something wrong with ospf configuration ?
root@gns3:/etc/netplan# ip route 169.254.0.0/16 <http://169.254.0.0/16> dev ens3 scope link metric 1000 192.168.70.0/30 <http://192.168.70.0/30> dev ens3 proto kernel scope link src 192.168.70.2 metric 100
regards,
Hello, This is the bird.conf ======================== router id 192.168.168.1; debug protocols all; protocol device { scan time 10; } include "bird.ospf"; and this bird.ospf ================== filter import_OSPF { accept; } protocol ospf v2 { tick 2; debug all; import filter import_OSPF; export filter import_OSPF; area 0 { interface "ens3" { cost 5; type pointopoint; hello 5; retransmit 2; wait 10; dead 20; }; interface "lo" { cost 1000; stub; }; }; } On Mon, Aug 24, 2020 at 2:58 PM Skyler Mäntysaari <sm@samip.fi> wrote:
Hello,
Maybe show us the actual config? On 24/08/2020 10.43, Mehdi Rukmawan wrote:
Hello,
I'm just starting bird with vm and i'm running it on gns3. first of all the ospf is running and can see the routes from he neighbour as we can see below :
root@gns3:/etc/netplan# birdc show route BIRD 1.6.3 ready. 1.1.1.1/32 via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.70.0/30 dev ens3 [ospf1 07:34:53] * I (150/5) [192.168.168.1] 192.168.40.0/30 via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.10.0/30 via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.20.0/30 via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.168.1/32 dev lo [ospf1 07:34:53] * I (150/0) [192.168.168.1]
but i can't see the routes from the machine which is running bird. is this a bug ? or i have something wrong with ospf configuration ?
root@gns3:/etc/netplan# ip route 169.254.0.0/16 dev ens3 scope link metric 1000 192.168.70.0/30 dev ens3 proto kernel scope link src 192.168.70.2 metric 100
regards,
Ah, never mind. It just took some time to get that email as well. On 24/08/2020 10.55, Skyler Mäntysaari wrote:
Hello,
Maybe show us the actual config?
On 24/08/2020 10.43, Mehdi Rukmawan wrote:
Hello,
I'm just starting bird with vm and i'm running it on gns3. first of all the ospf is running and can see the routes from he neighbour as we can see below :
root@gns3:/etc/netplan# birdc show route BIRD 1.6.3 ready. 1.1.1.1/32 <http://1.1.1.1/32> via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.70.0/30 <http://192.168.70.0/30> dev ens3 [ospf1 07:34:53] * I (150/5) [192.168.168.1] 192.168.40.0/30 <http://192.168.40.0/30> via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.10.0/30 <http://192.168.10.0/30> via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.20.0/30 <http://192.168.20.0/30> via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.168.1/32 <http://192.168.168.1/32> dev lo [ospf1 07:34:53] * I (150/0) [192.168.168.1]
but i can't see the routes from the machine which is running bird. is this a bug ? or i have something wrong with ospf configuration ?
root@gns3:/etc/netplan# ip route 169.254.0.0/16 <http://169.254.0.0/16> dev ens3 scope link metric 1000 192.168.70.0/30 <http://192.168.70.0/30> dev ens3 proto kernel scope link src 192.168.70.2 metric 100
regards,
On 24.08.20 09:43, Mehdi Rukmawan wrote:
Hello,
I'm just starting bird with vm and i'm running it on gns3. first of all the ospf is running and can see the routes from he neighbour as we can see below :
root@gns3:/etc/netplan# birdc show route BIRD 1.6.3 ready. 1.1.1.1/32 via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.70.0/30 dev ens3 [ospf1 07:34:53] * I (150/5) [192.168.168.1] 192.168.40.0/30 via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.10.0/30 via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.20.0/30 via 192.168.70.1 on ens3 [ospf1 07:36:32] * I (150/6) [1.1.1.1] 192.168.168.1/32 dev lo [ospf1 07:34:53] * I (150/0) [192.168.168.1]
but i can't see the routes from the machine which is running bird. is this a bug ? or i have something wrong with ospf configuration ?
root@gns3:/etc/netplan# ip route 169.254.0.0/16 dev ens3 scope link metric 1000 192.168.70.0/30 dev ens3 proto kernel scope link src 192.168.70.2 metric 100
regards,
Hi Medhdi, Are you looking for ``` bird> show ospf topology ``` ? Because bird has imported and is aware of your routes. You just see them not in `show routes`. I think this is for all devices routes and alien routes (if you use "learn" in protocol kernel). Bernd
Hi!
root@gns3:/etc/netplan# birdc show route 192.168.70.0/30 dev ens3 [ospf1 07:34:53] * I (150/5) [192.168.168.1]
root@gns3:/etc/netplan# ip route 192.168.70.0/30 dev ens3 proto kernel ...
This route is definitely there, it is probably generated from the interface address.
169.254.0.0/16 dev ens3 scope link metric 1000
This is a link-local range with no reason to propagate through ospf. Maria
Hello Maria, It seem i found the issue. ethernets: ens3: dhcp4: no addresses: [192.168.70.2/30] gateway4: 192.168.70.1 i just put line gateway4 in this static ip. since this is lab i missed this. root@gns3:/etc/bird# ping 1.1.1.1 PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data. 64 bytes from 1.1.1.1: icmp_seq=1 ttl=255 time=2.76 ms i64 bytes from 1.1.1.1: icmp_seq=2 ttl=255 time=2.67 ms ^C --- 1.1.1.1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1003ms rtt min/avg/max/mdev = 2.673/2.719/2.766/0.069 ms root@gns3:/etc/bird# ip route default via 192.168.70.1 dev ens3 proto static metric 20100 169.254.0.0/16 dev ens3 scope link metric 1000 192.168.70.0/30 dev ens3 proto kernel scope link src 192.168.70.2 metric 100 case closed. On Mon, Aug 24, 2020 at 3:09 PM Maria Matejka <maria.matejka@nic.cz> wrote:
Hi!
root@gns3:/etc/netplan# birdc show route 192.168.70.0/30 dev ens3 [ospf1 07:34:53] * I (150/5) [192.168.168.1]
root@gns3:/etc/netplan# ip route 192.168.70.0/30 dev ens3 proto kernel ...
This route is definitely there, it is probably generated from the interface address.
169.254.0.0/16 dev ens3 scope link metric 1000
This is a link-local range with no reason to propagate through ospf.
Maria
participants (4)
-
Bernd Naumann -
Maria Matejka -
Mehdi Rukmawan -
Skyler Mäntysaari