S
S
Shogun Goose2019-11-02 19:41:21
Debian
Shogun Goose, 2019-11-02 19:41:21

Why when setting up ospf frr on debian do packets not go through the machine?

I decided to look at the task with wsr and try to configure the frr package. I started with ospf and ran into some problems.
There are 3 machines L-SRV, L-FW and ISP
The server has statics configured with the following settings

auto ens33
iface ens33 inet static
    address 172.16.20.10/24
    gateway 172.16.20.1

statics on interfaces is configured on L-FW
auto ens33
iface ens33 inet static
    address 172.16.20.1/24
auto ens34
iface ens34 inet static
    address 10.10.10.1/24

in the file /etc/sysctl.conf I wrote net.ipv4.ip_froward = 1
cat /proc/sys/net/ipv4/ip_forward gives 1
on the machine I configured the FRR routing package
in the daemon file on ospfd set yes other daemons: no
via vtysh I wrote:
int lo
    ip add 3.3.3.3/32
router ospf
    ospf router-id 3.3.3.3
    network 10.10.10.0/24 area 0
    network 172.16.20.0/24 area 0
end
wr mem

On the machine, ISP configured statics on two interfaces and DHCP for Internet access:
auto ens33
iface ens33 inet dhcp

auto ens34
iface ens34 inet static
    address 10.10.10.10/24

auto ens35
iface ens35 inet static
    address 20.20.20.10/24

in the file /etc/sysctl.conf I wrote net.ipv4.ip_froward = 1
cat /proc/sys/net/ipv4/ip_forward gives 1
similarly to the previous machine configured frr ospf
also in the demons I wrote ospfd = yes and the rest: no
through vtysh I registered :
int lo
    ip add 100.100.100.100/32
router ospf
    ospf router-id 100.100.100.100
    network 10.10.10.0/24 area 0
    network 20.20.20.0/24 area 0
    network 192.168.134.0/24 area 0
end
wr mem

On both machines, show run produces identical output, except for addresses
In the L-FW logs, nothing is said about the neighbor 100.100.100.100
And in the ISP logs it says that it sees the neighbor 3.3.3.3
Ping from L-SRV until 20.20
. L-SRV to 192.168.134.2 (NAT gateway address in vmware) does not go
Ping from ISP to 192.168.134.2 goes
in the routing tables of ISP and L-FW there are entries about networks received through ospf
iptables are not there, and apparmor is disabled
I don’t even know what to see, traffic goes through L-FW, but not through ISP (
I’m sure it’s my stupidity that I didn’t see it somewhere, but still I ask for help.
Not a big digression, I'm not setting up bgp here, because I'm training to set up ospf via frr. I understand that there is Internet access and should be bgp.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pilG, 2021-10-16
@pilG

the frr package did not find the frr package on the first two disks of the debian image. What disc contains this package?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question