Hi,
I've having trouble configuring multiple areas in ospfd.
System is current.
If I put vlan12 interface in area 0.0.0.7, then vlan12:network is not
announced at all.
If I put it on area 0.0.0.0 then it is announced, but I don't see it as
inter area in remote routers.
How can I add it in area 7?
regards,
Giannis
pf disabled
# cat /etc/ospfd.conf
router-id 192.168.0.5
fib-update yes
stub router no
redistribute connected
redistribute static
area 0.0.0.0 {
interface bge0 {
auth-type crypt
auth-md XX XXXXXXXX
auth-md-keyid XX
}
}
area 0.0.0.7 {
stub
interface vlan12 {passive}
}
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:0a:e4:84:41:a5
description: External
priority: 0
groups: egress
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet6 fe80::20a:e4ff:fe84:41a5%bge0 prefixlen 64 scopeid 0x1
inet 192.168.0.5 netmask 0xffffff00 broadcast 192.168.0.255
bge1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:0a:e4:84:41:a4
description: Internal
priority: 0
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet6 fe80::20a:e4ff:fe84:41a4%bge1 prefixlen 64 scopeid 0x2
vlan12: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:0a:e4:84:41:a4
description: TEST
priority: 0
vlan: 12 parent interface: bge1
groups: vlan
status: active
inet6 fe80::20a:e4ff:fe84:41a4%vlan12 prefixlen 64 scopeid 0x6
inet 10.0.0.2 netmask 0xffffff00 broadcast 10.0.0.255
# ospfctl s n
ID Pri State DeadTime Address Iface Uptime
192.168.0.2 1 FULL/BCKUP 00:00:30 192.168.0.2 bge0 00:00:25
10.0.1.4 1 FULL/DR 00:00:37 192.168.0.1 bge0 00:00:30
# ospfctl s r
10.0.1.4/32 192.168.0.1 Intra-Area Network 11 00:01:13
# ospfctl s f
*S 8 0.0.0.0/0 192.168.0.1
*O 32 10.0.1.4/32 192.168.0.1
*C 4 10.0.0.0/24 link#6
*C 0 127.0.0.0/8 link#0
*S 8 127.0.0.0/8 127.0.0.1
* 4 127.0.0.1/32 127.0.0.1
*C 4 192.168.0.0/24 link#1
*O 32 192.168.0.0/24 192.168.0.5
*S 8 224.0.0.0/4 127.0.0.1
# ospfctl s d|grep 10.0.0
nothing