From owner-freebsd-net@FreeBSD.ORG Fri Apr 7 08:18:06 2006 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 0F8DA16A400 for ; Fri, 7 Apr 2006 08:18:06 +0000 (UTC) (envelope-from mirrormaster@solnet.ch) Received: from mail01.solnet.ch (mail01.solnet.ch [212.101.4.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id A87FC43D45 for ; Fri, 7 Apr 2006 08:18:05 +0000 (GMT) (envelope-from mirrormaster@solnet.ch) Received: from [192.168.1.100] (unknown [82.220.17.23]) by mail01.solnet.ch (Postfix) with ESMTP id 8215C62161; Fri, 7 Apr 2006 08:18:02 +0000 (GMT) Message-ID: <4436201C.2020107@solnet.ch> Date: Fri, 07 Apr 2006 10:17:32 +0200 From: Thomas User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: freebsd-net@freebsd.org, boris@tagnet.ru Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mail01.solnet.ch Cc: Subject: problem with quagga 0.99.3 with freebsd 6.1-prerelease 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: Fri, 07 Apr 2006 08:18:06 -0000 Hi I have a strange behavior with the latest quagga 0.99.3 from the ports. Zebra set all ips when quagga is started but it doesn't display them "show run" on the management console (vytsh). Perhaps someone can confirm this? Details: System: 6.1-PRERELEASE #2: Thu Apr 6 23:04:50 UTC 2006, RELENG_6 src was last updated on April 6. Quagga 0.99.3 from the ports with all features enabled and with --localstatedir=/usr/local/mydir/quagga/ The System is running on a flash card. my make.conf NO_ACPI= NO_ATM= NO_AUTHPF= NO_BLUETOOTH= NO_CVS= NO_DICT= NO_FORTRAN= NO_GAMES= NO_GDB= NO_INFO= NO_LPR= NO_MODULES= NO_PF= NO_PROFILE= NO_RCMDS= NO_SHARE= NO_SHAREDOCS= NO_USB= NO_BIND_DNSSEC= NO_BIND_ETC= NO_BIND_LIBS_LWRES= NO_BIND_MTREE= NO_BIND_NAMED= # added by use.perl 2006-04-05 12:21:54 PERL_VER=5.8.8 PERL_VERSION=5.8.8 my rc.conf ifconfig_em0="up mtu 1546 polling" ifconfig_em1="up mtu 1546 polling" quagga_enable="YES" Quagga starts and all Interfaces get the correct IP addresses set by zebra.conf. ifconfig after boot: em1: flags=8843 mtu 1546 options=4b inet6 fe80::230:48ff:fe2c:6b5d%em1 prefixlen 64 scopeid 0x2 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 ifconfig on the system ist correct. But as you see the vtysh output from zebra doesn't show any ip (192.168.0.1/24) for em1; vtysh output with "show run": interface em1 bandwidth 1000000 description VLAN4 ip ospf cost 55 ipv6 nd suppress-ra link-detect Show the zebra.conf file: interface em1 description VLAN4 bandwidth 1000000 link-detect ip address 192.168.0.1/24 <----- IP is here ipv6 nd suppress-ra Second part. If i restart zebra, the IPs are shown in the vtysh mode. Now I try to change the ip from 192.168.0.1/24 to 192.168.1.1/24 vtysh: conf t (config)# interface em1 (config-if)# ip address 192.168.1.1/24 (config-if)# exit (config)# exit #show run interface em1 bandwidth 1000000 description VLAN4 ip address 192.168.0.1/24 ip ospf cost 55 ipv6 nd suppress-ra zebra still shows the old IP address. System ifconfig displays: em1: flags=8843 mtu 1546 options=4b inet6 fe80::230:48ff:fe2c:6b5d%em1 prefixlen 64 scopeid 0x2 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 You see both IPs are added on the system If I repeat this step then zebra shows me the new one too: interface em1 bandwidth 1000000 description VLAN4 ip address 192.168.0.1/24 ip address 192.168.1.1/24 ip ospf cost 55 If zebra doesn't show the correct or any IP and you do a "wr mem" it will save the wrong ip's or non ip to the config file. All your configs are gone!. I don't have this problem on the same system with quagga 0.98.5. Cheers, Thomas