[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-tech
Subject:    Re: ospfd & changing interfaces
From:       Gregory Edigarov <greg () bestnet ! kharkov ! ua>
Date:       2010-06-25 12:13:09
Message-ID: 20100625151309.7669b230 () greg ! bestnet ! kharkov ! ua
[Download RAW message or body]

On Fri, 25 Jun 2010 15:06:37 +0300
Gregory Edigarov <greg@bestnet.kharkov.ua> wrote:

> 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.
> 
systems: 
A: OpenBSD greg.bestnet.kharkov.ua 4.7 GENERIC#558 i386
B: OpenBSD edigarov.sa.net.ua 4.7 GENERIC#0 amd64

-- 
With best regards,
	Gregory Edigarov

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic