From owner-freebsd-net@FreeBSD.ORG Mon Nov 14 00:41:52 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A17DB16A41F for ; Mon, 14 Nov 2005 00:41:52 +0000 (GMT) (envelope-from baldur@foo.is) Received: from gremlin.foo.is (gremlin.foo.is [194.105.250.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 417F943D46 for ; Mon, 14 Nov 2005 00:41:51 +0000 (GMT) (envelope-from baldur@foo.is) Received: from 127.0.0.1 (localhost.foo.is [127.0.0.1]) by injector.foo.is (Postfix) with SMTP id 7D25428465 for ; Mon, 14 Nov 2005 00:41:48 +0000 (GMT) Received: by gremlin.foo.is (Postfix, from userid 1000) id 3E45028441; Mon, 14 Nov 2005 00:41:45 +0000 (GMT) Date: Mon, 14 Nov 2005 00:41:45 +0000 From: Baldur Gislason To: freebsd-net@freebsd.org Message-ID: <20051114004145.GA97528@gremlin.foo.is> User-Agent: Mutt/1.4.2.1i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on gremlin.foo.is X-Spam-Level: X-Spam-Status: No, score=-5.8 required=6.0 tests=ALL_TRUSTED,BAYES_00, HOT_NASTY autolearn=ham version=3.0.4 X-Sanitizer: Foo MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Subject: zebra - ospfd and gif0 problems X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2005 00:41:52 -0000 I'm trying to setup a small VPN with IPIP tunnels and using Zebra with OSPF to do the routing. However, ospfd doesn't seem to recognise the gif0 interface. tesla# sho ip osp int fxp0 is up, line protocol is up Internet Address 192.168.1.50/24, Area 0.0.0.0 Router ID 192.168.1.50, Network Type BROADCAST, Cost: 10 Transmit Delay is 1 sec, State DR, Priority 1 Designated Router (ID) 192.168.1.50, Interface Address 192.168.1.50 No backup designated router on this network Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:02 Neighbor Count is 0, Adjacent neighbor count is 0 vlan0 is up, line protocol is up Internet Address 192.168.2.50/24, Area 0.0.0.0 Router ID 192.168.1.50, Network Type BROADCAST, Cost: 10 Transmit Delay is 1 sec, State DR, Priority 1 Designated Router (ID) 192.168.1.50, Interface Address 192.168.2.50 No backup designated router on this network Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:09 Neighbor Count is 0, Adjacent neighbor count is 0 lo0 is up, line protocol is up OSPF not enabled on this interface gif0 is up, line protocol is up OSPF not enabled on this interface And here's the ospf configuration: router ospf ospf router-id 192.168.1.50 network 192.168.1.0/24 area 0.0.0.0 network 192.168.2.0/24 area 0.0.0.0 network 192.168.192.0/30 area 0.0.0.0 neighbor 192.168.192.1 And ifconfig of gif0 gif0: flags=8051 mtu 1280 tunnel inet xxx.xxx.xxx.xxx --> zzz.zzz.zzz.zzz inet 192.168.192.2 --> 192.168.192.1 netmask 0xfffffffc inet6 fe80::210:4bff:fecc:fe38%gif0 prefixlen 64 scopeid 0xc Is anyone running ospfd on freebsd with point to point interfaces? Baldur