Thanks for the replies, but I am still not getting zebra and
ospf to work.

I setup my ospfd.conf and zebra.conf files per the samples below.
The only difference in my config files are:
1. The network folks told me to use 0.0.0.0 in my network area statements.
2. The network folks told me to take out the area 0.0.0.0 stub


Here are the log files at startup.

I see problems, but don't know enough about zebra and ospf to debug.
Any ideas?  (Also see my config files below the logs)



OSPFD LOG:

2005/05/06 17:00:29 OSPF: old umask 23 127
2005/05/06 17:00:29 OSPF: interface 172.27.106.10 join AllSPFRouters
Multicast group.
2005/05/06 17:00:29 OSPF: ospf_apiserver_ism_change
2005/05/06 17:00:29 OSPF: oi->ifp->name=dummy0
2005/05/06 17:00:29 OSPF: old_state=1
2005/05/06 17:00:29 OSPF: oi->state=3
2005/05/06 17:00:29 OSPF: interface 172.22.106.10 join AllSPFRouters
Multicast group.
2005/05/06 17:00:29 OSPF: ospf_apiserver_ism_change
2005/05/06 17:00:29 OSPF: oi->ifp->name=eth0
2005/05/06 17:00:29 OSPF: old_state=1
2005/05/06 17:00:29 OSPF: oi->state=3
2005/05/06 17:00:29 OSPF: interface 172.16.106.10 join AllSPFRouters
Multicast group.
2005/05/06 17:00:29 OSPF: ospf_apiserver_ism_change
2005/05/06 17:00:29 OSPF: oi->ifp->name=eth1
2005/05/06 17:00:29 OSPF: old_state=1
2005/05/06 17:00:29 OSPF: oi->state=3
2005/05/06 17:00:29 OSPF: ospf_apiserver_new_if
2005/05/06 17:00:29 OSPF: ifp name=sit0 status=0 index=0
2005/05/06 17:00:29 OSPF: ospf_apiserver_new_if: interface sit0 not known
to OSPFd?
2005/05/06 17:00:29 OSPF: Packet from [0.0.0.0] received on link eth0 but
no ospf_interface
2005/05/06 17:00:31 OSPF: Packet from [0.0.0.0] received on link eth0 but
no ospf_interface
2005/05/06 17:00:31 OSPF: LSA: AS-external-LSA was not originated.
2005/05/06 17:00:31 OSPF: LSA: AS-external-LSA was not originated.
2005/05/06 17:00:31 OSPF: LSA: AS-external-LSA was not originated.
2005/05/06 17:00:31 OSPF: Packet from [0.0.0.0] received on link eth1 but
no ospf_interface
2005/05/06 17:00:31 OSPF: Packet from [0.0.0.0] received on link eth1 but
no ospf_interface
2005/05/06 17:00:31 OSPF: Packet from [0.0.0.0] received on link eth1 but
no ospf_interface
2005/05/06 17:00:34 OSPF: Packet from [0.0.0.0] received on link eth0 but
no ospf_interface
2005/05/06 17:00:39 OSPF: Packet from [0.0.0.0] received on link eth0 but
no ospf_interface
2005/05/06 17:00:41 OSPF: Packet from [0.0.0.0] received on link eth0 but
no ospf_interface
2005/05/06 17:00:41 OSPF: Packet from [0.0.0.0] received on link eth1 but
no ospf_interface
2005/05/06 17:00:41 OSPF: Packet from [0.0.0.0] received on link eth1 but
no ospf_interface
2005/05/06 17:00:41 OSPF: Packet from [0.0.0.0] received on link eth1 but
no ospf_interface
2005/05/06 17:00:44 OSPF: Packet from [0.0.0.0] received on link eth0 but
no ospf_interface
2005/05/06 17:00:49 OSPF: Packet from [0.0.0.0] received on link eth0 but
no ospf_interface
2005/05/06 17:00:51 OSPF: Packet from [0.0.0.0] received on link eth0 but
no ospf_interface
2005/05/06 17:00:51 OSPF: Packet from [0.0.0.0] received on link eth1 but
no ospf_interface
2005/05/06 17:00:51 OSPF: Packet from [0.0.0.0] received on link eth1 but
no ospf_interface
2005/05/06 17:00:51 OSPF: Packet from [0.0.0.0] received on link eth1 but
no ospf_interface
"ospfd.log" 47L, 3512C


zebra log:

2005/05/06 17:00:18 ZEBRA: old umask 23 127
2005/05/06 17:00:29 ZEBRA: zebra message comes from socket [12]
2005/05/06 17:00:29 ZEBRA: zebra message comes from socket [12]
2005/05/06 17:00:29 ZEBRA: zebra message comes from socket [12]




> Does anyone have a HOWTO or SCRIPT for this config?
> Or, can anyone share their zebra.conf and ospf.conf for a STANDARD VIPA
> setup?

don't use zebra for interface configuration, linux do it:

zlinux1:~ # cat /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO='static'
STARTMODE='onboot'
IPADDR='10.2.11.100'
MTU='1500'
NETMASK='255.255.255.0'
NETWORK='10.2.11.0'
BROADCAST='10.2.11.255'

zlinux1:~ # cat /etc/sysconfig/network/ifcfg-eth1
BOOTPROTO='static'
STARTMODE='onboot'
IPADDR='10.2.12.100'
MTU='1500'
NETMASK='255.255.255.0'
NETWORK='10.2.11.0'
BROADCAST='10.2.11.255'

zlinux1:~ # cat /etc/sysconfig/network/ifcfg-dummy0
BOOTPROTO="static"
STARTMODE="onboot"
IPADDR="10.3.3.100"
NETMASK="255.255.255.255"


zlinux1:~ # cat /etc/zebra/zebra.conf
! -*- zebra -*-
!
! zebra sample configuration file
!
! $Id: zebra.conf.sample,v 1.14 1999/02/19 17:26:38 developer Exp $
!
hostname zlinux1
password zebra
enable password zebra
!
log file /var/log/zebra.log


zlinux1:~ # cat /etc/zebra/ospfd.conf
! -*- ospf -*-
!
! OSPFd sample configuration file
!
!
hostname zlinux1
password zebra
enable password zebra
interface lo
  ip ospf hello-interval 10
  ip ospf dead-interval 40
!
interface eth0
  ip ospf hello-interval 10
  ip ospf dead-interval 40
!
interface eth1
  ip ospf hello-interval 10
  ip ospf dead-interval 40
!
interface dummy0
  ip ospf hello-interval 10
  ip ospf dead-interval 40
!
!
router ospf
  ospf router-id 10.3.3.100
  area 1.1.1.1 stub
  redistribute connected
  passive-interface lo
  network 10.2.11.100/24 area 1.1.1.1
  network 10.2.12.100/24 area 1.1.1.1
  network 10.3.3.100/32 area 1.1.1.1
!
log file /var/log/ospfd.log


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to