Hi all

I made this observation while trying to set up ospf routing. (6.37.1)

Mikrotik Router:
LAN 1: 192.168.57.1/24
LAN 1: 10.247.8.1/29

LAN 2: 172.19.3.1/24

OSPF Router id is set to: 192.168.57.1

bird Router:
LAN 1: 192.168.57.200/24

Lan 2: 44.142.200.36/26

I set-up ospf on both routers. The mikrotik can see the hello packets
from the bird router, but not vice versa. I sniff the interface and
see, that the mikrotik is sending the hello packets with wrong source:
10.247.8.1

I disable 10.247.8.1 for testing and disable, enable the ospf instance
on the mikrotik. ospf hello are still sent with source 10.247.8.1 even
this ip not being active anymore.

I reboot the mikrotik. ospf hello are correctly being sent from
192.168.57.1.

I re-enable 10.247.8.1. ospf hello are still being sent from
192.168.57.1, fine! I disable, enable the ospf instance. source is
still 192.168.57.1, fine!

I reboot the mikrotik. hello source falls back to 10.247.8.1 and ospf
is not working anymore as the bird router cannot reach this ip.

I try to move 10.247.8.1 to a local 'loopback' bridge, as found in some
tudorials. I have to bridge the loopback interface with LAN 1 for my
local routing to work. But this again makes that IP visible on lan 1
and ospf grabs this ip after a reboot.

Some testing by adding some more random secondary IP addresses reveals,
that the ospf service grabs the lowest IP that is present on the
interface during boot time.

Am I missing something? How can I set the source ip for ospf hello
packets on an interface with multiple ip addresses?

-BenoƮt Panizzon-
-- 
I m p r o W a r e   A G    -    Leiter Commerce Kunden
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________
_______________________________________________
Mikrotik mailing list
[email protected]
http://mail.butchevans.com/mailman/listinfo/mikrotik

Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS

Reply via email to