Discussion:
[quagga-users 8854] Problems with OSPF (OSPF not enable on this interface)
Pablo Guerra Santiago
2007-09-09 18:11:44 UTC
Permalink
I am using VMWare 6.0 Workstation with two Ubuntu 7.04 machines. I am doing a Ipv6 over ipv4 tunnel. I am using ripngd for ipv6 and ospf for ipv4 but I can't get that ospf turns enable. I can ping on ipv4 and ipv6 but as I said ospf is not enable. I left information here. Any idea?

The ripngd, osfpd and zebra configurations are the following.

OSPFD.CONF
! -*- ospf -*-
!
! OSPFd sample configuration file
!
!
hostname ospfd
password zebra
log stdout
!enable password please-set-at-here
!
interface tun6to4
interface lo
interface eth1


ip ospf hello-interval 3
router ospf
ospf router-id 10.10.16.1
redistribute connected

network 192.168.220.0/32 area 0.0.0.40
! network 192.168.1.0/24 area 0
!

line vty




ZEBRA.CONF

! -*- zebra -*-
!
! zebra sample configuration file
!
! $Id: zebra.conf.sample,v 1.1.1.1 2002/12/13 20:15:30 paul Exp $
!
hostname Router
password zebra
enable password zebra
!
! Interface's description.
!
!
interface eth1
link-detect
ip address 192.168.220.130/32
ipv6 nd suppress-ra



interface lo
link-detect
ip address 10.10.16.1/32
ipv6 address 0200::16:1/128

interface tun6to4
link-detect
ipv6 nd suppress-ra
!ipv6 address 03ff::16/128

router-id 10.10.16.1
line vty
! description test of desc.
!
!interface sit0
! multicast

!
! Static default route sample.
!
!ip route 0.0.0.0/0 203.181.89.241
!

!log file /var/log/quagga/zebra.log
line vty





RIPNGD

! -*- rip -*-
!
! RIPngd sample configuration file
!
! $Id: ripngd.conf.sample,v 1.1.1.1 2002/12/13 20:15:30 paul Exp $
!
hostname ripngd
password zebra
log stdout
!
! debug ripng events
! debug ripng packet
!
!
router ripng
network tun6to4
route 0200::16:1/128
default-information originate
! redistribute connected
! network sit1
! route 3ffe:506::0/32
! distribute-list local-only out sit1
!
!ipv6 access-list local-only permit 3ffe:506::0/32
!ipv6 access-list local-only deny any
!
line vty


OSPF

ospfd> show ip ospf interface
eth1 is up
ifindex 2, MTU 1500 bytes, BW 0 Kbit <UP,BROADCAST,RUNNING,MULTICAST>
OSPF not enabled on this interface
lo is up
ifindex 1, MTU 16436 bytes, BW 0 Kbit <UP,LOOPBACK,RUNNING>
OSPF not enabled on this interface
sit0 is down
ifindex 3, MTU 1480 bytes, BW 0 Kbit <NOARP>
OSPF not enabled on this interface
tun6to4 is up
ifindex 4, MTU 1480 bytes, BW 0 Kbit <UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>
OSPF not enabled on this interface


Router> show interface eth1
Interface eth1 is up, line protocol is up
index 2 metric 1 mtu 1500
flags: <UP,BROADCAST,RUNNING,MULTICAST>
HWaddr: 00:0c:29:8d:53:39
inet 192.168.220.130/24 broadcast 192.168.220.255
inet6 fe80::20c:29ff:fe8d:5339/64
988 input packets (0 multicast), 191332 bytes, 0 dropped
0 input errors, 0 length, 0 overrun, 0 CRC, 0 frame
0 fifo, 0 missed
985 output packets, 139693 bytes, 0 dropped
0 output errors, 0 aborted, 0 carrier, 0 fifo, 0 heartbeat
0 window, 0 collisions



***@zaseg-desktop:~$ ip addr show
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet 10.10.16.1/32 scope global lo
inet6 200::16:1/128 scope global
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth1: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0c:29:8d:53:39 brd ff:ff:ff:ff:ff:ff
inet 192.168.220.130/24 brd 192.168.220.255 scope global eth1
inet6 fe80::20c:29ff:fe8d:5339/64 scope link
valid_lft forever preferred_lft forever
3: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
4: ***@NONE: <POINTOPOINT,MULTICAST,NOARP,UP,10000> mtu 1480 qdisc noqueue
link/sit 0.0.0.0 peer 192.168.220.129
inet6 3ff::16/128 scope global
valid_lft forever preferred_lft forever
inet6 fe80::c0a8:dc82/64 scope link
valid_lft forever preferred_lft forever
inet6 fe80::a0a:1001/64 scope link
valid_lft forever preferred_lft forever
***@zaseg-desktop:~$




_________________________________________________________________
Llama a tus amigos de PC a PC: ¡Es GRATIS!
http://get.live.com/messenger/overview
Andreas Unterkircher
2007-09-10 04:03:56 UTC
Permalink
Probably I miss something with IPv6, but my first guess is that your
network-statement within ospfd.conf does not match any of the IP
addresses configured on your machine. So either you need to replace
/32 with /24 or you specify the correct IP address 192.168.220.130/32.
Post by Pablo Guerra Santiago
OSPFD.CONF
network 192.168.220.0/32 area 0.0.0.40
inet 127.0.0.1/8 scope host lo
inet 10.10.16.1/32 scope global lo
inet6 200::16:1/128 scope global
inet6 ::1/128 scope host
inet 192.168.220.130/24 brd 192.168.220.255 scope global eth1
inet6 fe80::20c:29ff:fe8d:5339/64 scope link
Cheers,
Andreas
Pablo Guerra Santiago
2007-09-10 09:17:48 UTC
Permalink
Thanks, everything runs well now ;)> Date: Mon, 10 Sep 2007 06:03:56 +0200> From: ***@netshadow.at> To: ***@hotmail.com> CC: quagga-***@lists.quagga.net> Subject: Re: [quagga-users 8854] Problems with OSPF (OSPF not enable on this interface)> > Probably I miss something with IPv6, but my first guess is that your> network-statement within ospfd.conf does not match any of the IP > addresses configured on your machine. So either you need to replace> /32 with /24 or you specify the correct IP address 192.168.220.130/32.> > On Sun, Sep 09, 2007 at 06:11:44PM +0000, Pablo Guerra Santiago wrote:> > OSPFD.CONF> > > > network 192.168.220.0/32 area 0.0.0.40> > > > ***@zaseg-desktop:~$ ip addr show> > inet 127.0.0.1/8 scope host lo> > inet 10.10.16.1/32 scope global lo> > inet6 200::16:1/128 scope global > > inet6 ::1/128 scope host > > inet 192.168.220.130/24 brd 192.168.220.255 scope global eth1> > inet6 fe80::20c:29ff:fe8d:5339/64 scope link > > Cheers,> Andreas
_________________________________________________________________
Consigue el nuevo Windows Live Messenger
http://get.live.com/messenger/overview

Loading...