Hello,
don't know if this a known problem, so here is the test case:
on machine A:
# ifconfig vlan5
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:17:31:b6:d9:c4
priority: 0
vlan: 5 priority: 0 parent interface: nfe0
groups: vlan
inet6 fe80::217:31ff:feb6:d9c4%vlan5 prefixlen 64 scopeid 0x11
inet 192.168.30.1 netmask 0xffffff00 broadcast 192.168.30.255
(it is a test vlan)
A's ospfd.conf:
redistribute connected
area 0.0.0.0 {
interface gif0
interface vlan5 { passive }
}
on machine B:
redistribute connected
area 0.0.0.0 {
interface gif0
interface rl1 { passive }
}
all works great so far, I am able to see the routes pointing to A on B,
and vice versa.
A:
192.168.100.1 192.168.100.2 UH 4 9885 - 4 gif0
192.168.100.2/32 192.168.100.1 UG 0 0 - 32 gif0
192.168.200/24 192.168.100.1 UG 0 0 - 32 gif0
B:
192.168.30/24 192.168.100.2 UG 0 0 - 32 gif0
now we're changing the ip of A's vlan5:
ifconfig vlan5 192.168.10.1/24
let's check the table on B:
192.168.10/24 192.168.100.2 UG 0 0 - 32 gif0
192.168.30/24 192.168.100.2 UG 0 0 - 32 gif0 !!!
and again:
ifconfig vlan5 192.168.20.1/24
192.168.20/24 192.168.100.2 UG 0 0 - 32 gif0
192.168.30/24 192.168.100.2 UG 0 0 - 32 gif0 !!!
I.e. changing the address on the interface for the first time will be
done by ospfd as adding the route, and stalling the existent route.
subsequent changes working well.
--
With best regards,
Gregory Edigarov