Date: Tue, 5 Jun 2001 11:34:19 -0700 (PDT) From: bannai@pacbell.net To: freebsd-gnats-submit@FreeBSD.org Subject: kern/27891: Cannot assign a IP address to a interface when a route to the same subnet exists in the routing table Message-ID: <200106051834.f55IYJL18409@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 27891 >Category: kern >Synopsis: Cannot assign a IP address to a interface when a route to the same subnet exists in the routing table >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 05 11:40:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Vinay Bannai >Release: 4.2 >Organization: Luminous Networks >Environment: FreeBSD ernestbsd.luminousnetworks.com 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000 jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC i386 >Description: When assigning a IP address to a interface, you get a error when a route to the same subnet already exists in the routing table. This can happen usually when running OSPF (or any routing protocol) when a route is learnt from a neighbor. This populates the kernel routing table. At a later stage when you add a interface on the subnet that is learnt from the neighbor, you get a error. We tried this by using a static route. I am not sure if using a static route causes this problem. >How-To-Repeat: - Add a static route to the kernel routing table (eg. 172.16.0.0/16) - Set the IP address of a interface (eg 172.16.100.10) This causes the ifconfig to fail >Fix: I am not sure, but could this be related to using a static route. I will try with a dynamic routing protocol.. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106051834.f55IYJL18409>