Date: Sun, 14 Jan 2001 14:13:17 +0100 From: Andreas Klemm <andreas@klemm.gtn.com> To: zebra@dml.com Cc: freebsd-xircom@lovett.com, freebsd-mobile@freebsd.org Subject: =?iso-8859-1?Q?ospf_doesn=B4t_work_on_laptop_using_xe0_=28Xircom=29_driv?= =?iso-8859-1?Q?er_=28FreeBSD_4=2E2+zebra_0=2E90=29?= Message-ID: <20010114141317.A9171@aklemm.klemm.gtn.com>
next in thread | raw e-mail | index | archive | help
Hi ! I have a small network running 1 cisco and 2 zebra OSPF/BGP4 speakers. Upgrade from zebra 0.89a to 0.90 went smoothly on my FreeBSD 4.2-STABLE main server with a fxp0 interface. I installed zebra 0.90 additionally on my laptop, which is also FreeBSD 4.2-STABLE. This is a new installation. There I experience major OSPF problems. BGP4 runs fine, but OSPF simply doesnīt work. As Ethernet interface I use a Xircom 10/100 Realport 16 Bit card with modem. The major problem seems to be, that zebra doesnīt find the xe0 interface... Ccīd to the FreeBSD-mobile and Xircom mailinglist since zebra runs on a FreeBSD-STABLE machine with a normal interface card without trouble. +--------------------------------------------------------------- "show ip ospf inter shows" results in: aklemm-ospfd# sh ip ospf inter lo0 is down, line protocol is down OSPF not enabled on this interface ppp0 is down, line protocol is down OSPF not enabled on this interface vmnet1 is down, line protocol is down OSPF not enabled on this interface xe0 is down, line protocol is down ^^^^^^^^^^^ <------------------------------------ !!! OSPF not enabled on this interface ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ <----------- !!!!!!!!!!!!!!! --------------------------------------------------------------+ +--------------------------------------------------------------- "show ip ospf" shows: OSPF Routing Process, Router ID: 172.16.2.4 Supports only single TOS (TOS0) routes This implementation conforms to RFC2328 RFC1583Compatibility flag is disabled SPF schedule delay 5 secs, Hold time between two SPFs 10 secs Refresh timer 10 secs Number of external LSA 0 Number of areas attached to this router: 0 ^^^ <-- !!! --------------------------------------------------------------+ Zebra configuration from sh run +--------------------------------------------------------------- [snip] ! interface xe0 description backbone ip ospf priority 2 ! router ospf ospf router-id 172.16.2.4 passive-interface lo0 passive-interface ppp0 passive-interface vmnet1 network 172.16.2.0/24 area 0 ^^^^^^^^^^^^^ <-- this is o.k., see ip address below !!! ! [snip] --------------------------------------------------------------+ FreeBSD interface configuration Firewall type is open, it doesnīt block anything root@aklemm[ttyp1]{151} /var/log ipfw l 00100 allow ip from any to any via lo0 00200 deny ip from any to 127.0.0.0/8 65000 allow ip from any to any 65535 deny ip from any to any Same settings as on FreeBSD server ... this should do anything bad. +--------------------------------------------------------------- root@aklemm[ttyp1]{147} ~ ifconfig -a lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 faith0: flags=8000<MULTICAST> mtu 1500 gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 xe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 172.16.2.4 netmask 0xffffff00 broadcast 172.16.2.255 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ <-- !!! matches OSPF settings inet6 fe80::210:a4ff:febb:11e8%xe0 prefixlen 64 scopeid 0x9 ether 00:10:a4:bb:11:e8 media: autoselect (10baseT/UTP) supported media: autoselect 10baseT/UTP 100baseTX --------------------------------------------------------------+ When using ethereal as sniffer on my freebsd server (all systems are located on a Cisco 2516, which has a 14-port hub integrated) I donīt see any OSPF packet transmitted from my laptop ... When enabling all OSPF debugging on my laptop I donīt see any arriving OSPF interface. If I bring the xe0 interface into up/down/up status I see no additional debug output, no OSPF actually starting. It looks like zebra OSPF totally ignores my interface. The output of "sh ip ospf inter" and "sh ip ospf" (see above) seconds that ... Here some debugging output I collected after turning on all debugging and bringing the interface up down several times: +--------------------------------------------------------------- 2001/01/14 13:38:39 informational: OSPF: LSA[Refresh]:ospf_lsa_refresh_walker(): start 2001/01/14 13:38:39 informational: OSPF: LSA[Refresh]: ospf_lsa_refresh_walker(): next index 14 2001/01/14 13:38:39 informational: OSPF: LSA[Refresh]: ospf_lsa_refresh_walker(): refresh index 13 2001/01/14 13:38:39 informational: OSPF: LSA[Refresh]: ospf_lsa_refresh_walker(): end 2001/01/14 13:38:49 informational: OSPF: LSA[Refresh]:ospf_lsa_refresh_walker(): start 2001/01/14 13:38:49 informational: OSPF: LSA[Refresh]: ospf_lsa_refresh_walker(): next index 15 2001/01/14 13:38:49 informational: OSPF: LSA[Refresh]: ospf_lsa_refresh_walker(): refresh index 14 2001/01/14 13:38:49 informational: OSPF: LSA[Refresh]: ospf_lsa_refresh_walker(): end [...] the "index value" is steadily increasing ... 2001/01/14 13:59:30 informational: OSPF: LSA[Refresh]:ospf_lsa_refresh_walker(): start 2001/01/14 13:59:30 informational: OSPF: LSA[Refresh]: ospf_lsa_refresh_walker(): next index 139 2001/01/14 13:59:30 informational: OSPF: LSA[Refresh]: ospf_lsa_refresh_walker(): refresh index 138 2001/01/14 13:59:30 informational: OSPF: LSA[Refresh]: ospf_lsa_refresh_walker(): end --------------------------------------------------------------+ My kernel config file: +--------------------------------------------------------------- machine i386 cpu I686_CPU ident AKLEMM maxusers 64 options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options MD_ROOT #MD is a potential root device options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options UCONSOLE #Allow users to grab the console options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options SHMSEG=150 options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev options PQ_NORMALCACHE options MROUTING device isa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID #Static device numbering options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? options MAXCONS=9 options SC_HISTORY_SIZE=1024 options SC_PIXEL_MODE options VESA # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 at nexus? flags 0x20 # PCCARD (PCMCIA) support device card device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd0000 # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device # Xircom Ethernet device xe # sound support device pcm # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-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) pseudo-device tun # Packet tunnel. pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device gif 4 # IPv6 and IPv4 tunneling pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter --------------------------------------------------------------+ Many thanks for any help Andreas /// -- Andreas Klemm Powered by FreeBSD SMP Songs from our band >>64Bits<<............http://www.apsfilter.org/64bits.html My homepage................................ http://people.FreeBSD.ORG/~andreas Please note: Apsfilter got a NEW HOME................http://www.apsfilter.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010114141317.A9171>