zebra - ospfd and gif0 problems

Baldur Gislason baldur at foo.is
Sun Nov 13 16:41:52 PST 2005


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<UP,POINTOPOINT,RUNNING,MULTICAST> 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



More information about the freebsd-net mailing list