Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2000 00:42:30 +0200
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
Cc:        zebra@dml.com, zebra@zebra.org, freebsd-net@FreeBSD.ORG
Subject:   Re: [zebra 4398] fbsd-5.0/zebra 0.87: ospf stuck in INIT and dies after debug ospf packet all
Message-ID:  <20000712004230.A4919@titan.klemm.gtn.com>
In-Reply-To: <200007111729.KAA04105@gndrsh.dnsmgr.net>; from freebsd@gndrsh.dnsmgr.net on Tue, Jul 11, 2000 at 10:29:12AM -0700
References:  <20000711084817.A6604@titan.klemm.gtn.com> <200007111729.KAA04105@gndrsh.dnsmgr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 11, 2000 at 10:29:12AM -0700, Rodney W. Grimes wrote:
> Due to the fact that BSD unix's won't send any multicast packets until
> the have a multicast route of some form you have to do this:
> 
> route add 224.0.0.5 127.0.0.1
> route add 224.0.0.6 127.0.0.1
> 
> Before you start ospfd, I show command line route add's above, you
> can also do it with zebra static routes.

I'm using that ,,,,

# multicast and other routes
route add 172.16.1.1 -interface lo0
route add 172.16.2.1 -interface lo0
route add 224.0.0.0/24 -interface lo0

Now I added:
route add 224.0.0.5 127.0.0.1
route add 224.0.0.6 127.0.0.1


root@titan{542} $ netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags      Netif Expire
default            172.16.2.2         UGSc        3       12      xl0
127.0.0.1          127.0.0.1          UH          8     1044      lo0
172.16.1/24        link#2             UC          0        0      ed0 =>
172.16.1.1         lo0                UHS         0        0      lo0
172.16.1.255       ff:ff:ff:ff:ff:ff  UHLWb       2       63      ed0
172.16.2/24        link#1             UC          0        0      xl0 =>
172.16.2.1         lo0                UHS         3       30      lo0
172.16.2.2         0:e0:b0:55:56:3    UHLW        7      696      xl0    996
172.16.2.200       link#1             UHLW        1        2      xl0 =>
172.16.2.255       ff:ff:ff:ff:ff:ff  UHLWb       3      126      xl0
172.16.200.1       172.16.200.1       UH          0        0      lo0
224                lo0                US          0      694      lo0
224.0.0.5          127.0.0.1          UGHS        1      116      lo0
224.0.0.6          127.0.0.1          UGHS        1       18      lo0

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UH          lo0
fe80::%xl0/64                     link#1                        UC          xl0
fe80::%ed0/64                     link#2                        UC          ed0
fe80::%lo0/64                     fe80::1%lo0                   Uc          lo0
ff01::/32                         ::1                           U           lo0
ff02::%xl0/32                     link#1                        UC          xl0
ff02::%ed0/32                     link#2                        UC          ed0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
root@titan{543} $ 


ethereal shows, that no OSPF hello packet will be sent out
on my xl0 interface .... The Cisco (running 12.1(2)T sends
hellos out.

What else could be wrong. Does somebody run -current ???

Here kernel config file and rc.conf...


machine		i386
cpu		I686_CPU
ident		TITAN
maxusers	64

hints		"TITAN.hints"		#Default places to look for devices.
options 	MSGBUF_SIZE=40960

#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
options 	ROOTDEVNAME=\"ufs:ad4s2a\"

options		RANDOMDEV
options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	IPFIREWALL		#firewall
options 	IPFIREWALL_VERBOSE	#print information about dropped packets
options 	IPFIREWALL_FORWARD	#enable transparent proxy support
options 	IPFIREWALL_VERBOSE_LIMIT=100	#limit verbosity
options 	IPDIVERT		#divert sockets
options 	IPSTEALTH		#support for stealth forwarding
options 	DUMMYNET

options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options		FFS_EXTATTR
options		SOFTUPDATES
options 	MFS			#Memory Filesystem
options 	MSDOSFS			#MSDOS Filesystem
options 	NTFS			#NT File System
options 	CD9660			#ISO 9660 Filesystem
options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
options 	PROCFS			#Process filesystem
options 	FDESC			#File descriptor filesystem
options 	KERNFS			#Kernel filesystem
options 	NULLFS			#NULL filesystem
options 	UMAPFS			#UID map filesystem
options 	UNION			#Union filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=8000		#Delay (in ms) before probing SCSI
options 	UCONSOLE		#Allow users to grab the console
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev

options 	AUTO_EOI_1
options 	AUTO_EOI_2
options 	BLKDEV_IOSIZE=8192
options 	MROUTING		# Multicast routing
options 	PQ_HUGECACHE		# color for 1024k/16k cache
options 	COMPAT_LINUX

# To make an SMP kernel, the next two are needed
options 	SMP			# Symmetric MultiProcessor Kernel
options 	APIC_IO			# Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options 	NCPU=2			# number of CPUs
#options 	NBUS=8			# number of busses
#options 	NAPIC=1			# number of IO APICs
#options 	NINTR=24		# number of INTs

device		isa
device		pci
#options 	COMPAT_OLDISA		# compatability shims for lnc, fe, le
#options 	COMPAT_OLDPCI		# compatability shims for lnc, vx

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
#device		atapicd			# ATAPI CDROM drives
#device		atapifd			# ATAPI floppy drives
#device		atapist			# ATAPI tape drives
options 	ATA_STATIC_ID		#Static device numbering
options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices

# SCSI Controllers
device		ahc		# AHA2940 and onboard AIC7xxx devices
options 	AHC_ALLOW_MEMIO

# SCSI peripherals
device		scbus		# SCSI bus (required)
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc	1
device		atkbd
device		psm

device		vga

# splash screen/screen saver
device		splash

# syscons is the default console driver, resembling an SCO console
device		sc	1

# Floating point support - do not disable.
device		npx

# Serial (COM) ports
device		sio

# Parallel port
device		ppc
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
#device		plip		# TCP/IP over parallel
#device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da

# PCI Ethernet NICs that use the common MII bus controller code.
device		miibus		# MII bus support
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.
device		ed

# Sound
device		pcm

# Pseudo devices - the number indicates how many units to allocated.
device		loop		# Network loopback
device		ether		# Ethernet support
device		sl		# Kernel SLIP
device		ppp	1	# Kernel PPP
options 	PPP_BSDCOMP	#PPP BSD-compress support
options 	PPP_DEFLATE	#PPP zlib/deflate/gzip support
options 	PPP_FILTER	#enable bpf filtering (needs bpf)
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		gif	4	# IPv6 and IPv4 tunneling
device		faith	1	# IPv6-to-IPv4 relaying (translation)
device		vn		#Vnode driver (turns a file into a device)
device		snp		#Snoop device - to look at pty/vty/etc..
#device		vlan	1	#VLAN support

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device		bpf		# Berkeley packet filter



# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.
# -- sysinstall generated deltas -- #

# startup files...
local_startup="/home/local/etc/rc.d /usr/local/etc/rc.d /usr/X11R6/etc/rc.d"

# network interface card configuration
hostname="titan.klemm.gtn.com"
network_interfaces="auto"	# List of network interfaces (or "auto").
ifconfig_lo0="inet 127.0.0.1"	# default loopback device configuration.
ifconfig_lo0_alias0="inet 172.16.200.1 netmask 0xffffffff"
ifconfig_xl0="inet 172.16.2.1 netmask 255.255.255.0"
ifconfig_ed0="inet 172.16.1.1 netmask 255.255.255.0"

# OSPF Routing
defaultrouter="172.16.2.2"
router_enable="YES"
router="/usr/local/sbin/zebractl"
router_flags="start"

# TCP/IP
gateway_enable="YES"
named_enable="YES"		# Run named, the DNS server (or NO).
named_flags=""			# Flags for named
#named_flags="-u bind -g bind"	# Flags for named
tcp_extensions="NO"		# Set to YES to turn on RFC1323 extensions.

# syslog
syslogd_enable="YES"		# Run syslog daemon (or NO).
syslogd_flags=""		# Flags to syslogd (if enabled).

# Network Time
ntpdate_enable="YES"		# Run ntpdate to sync time on boot (or NO).
ntpdate_flags="ntp0.fau.de ntp1.fau.de ntp2.fau.de"
				# Flags to ntpdate (if enabled).
xntpd_enable="YES"		# Run ntpd Network Time Protocol (or NO).

# Security
firewall_enable="YES"
firewall_type="open"

# SSH
sshd_enable="YES"		# Enable sshd

# NAT (Network Address Translation)
natd_enable="YES"		# Enable natd (if firewall_enable == YES).
natd_program="/sbin/natd"	# path to natd, if you want a different one.
natd_flags="-log -s -m"		# Additional flags for natd.
natd_interface="xl0"		# Public interface or IPaddress to use.

# Network services
nfs_server_enable="YES"
nfs_client_enable="YES"
amd_enable="YES"		# Run amd service with $amd_flags (or NO).
lpd_enable="YES"		# Run the line printer daemon.
sendmail_flags="-bd -q1m"	# Flags to sendmail (if enabled)

# Emulations
linux_enable="YES"

# Console configuration
moused_enable="NO"
saver="logo"
font8x8="iso-8x8"
font8x14="iso-8x14"
font8x16="iso-8x16"
scrnmap="iso-8859-1_to_cp437"
keyrate="fast"
keymap="german.iso"

-- 
Andreas Klemm                               http://people.FreeBSD.ORG/~andreas
                                     http://www.freebsd.org/~fsmp/SMP/SMP.html
                                   powered by Symmetric MultiProcessor FreeBSD
New APSFILTER 542 and songs from our band - http://people.freebsd.org/~andreas



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000712004230.A4919>