Hello,

Il would like to announce the NAT pools used by my firewalls to my backbone
using OSPF.

Let's say my real network is connected to vmx0. It's address is A/24 and is
NATed to N/24.
My backbone is reached through vmx1.

So I configured a route on the firewall , destination N/24, gateway
127.0.0.1.
Then I configured ospf to "redistribute static, area 0.0.0.0 { interface vmx1
}".
I can see N/24 with ospfctl sh fib, flagged valid.

But the route doesn't show up in the backbone when i use ospfctl sh rib.

I tried to add interface lo0 on the firewall ospfd.conf, this adds
127.0.0.1/32 on the backbone RIB, but I still can't see N/24.

I also tried to configure a lo1 with the address N/24 and to put it in
ospfd.conf, only N/32 shows up on the backbone.

Finally I configured a vether0 with the address N/24 and put it in ospfd.conf,
and that did the trick.

Is that a good way to do what I want, or do someone has any better solution to
advise me ?
Thank you

--
Cordialement,


Pierre Bardou
Ingénieur réseau
Tél. 05.34.61.71.84
bardo...@mipih.fr

12, rue Michel Labrousse
CS 93668- 31036 Toulouse cedex 1


Avant d'imprimer cet e-mail, pensons à l'environnement

Reply via email to