Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2002 13:09:10 -0700 (PDT)
From:      Jin Guojun (DSD staff) <jin@ncs.lbl.gov>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/42093: ypbind hangs on NIC with the lowest scopeid
Message-ID:  <200208272009.g7RK9AX7000803@ncs.lbl.gov>

next in thread | raw e-mail | index | archive | help

>Number:         42093
>Category:       bin
>Synopsis:       ypbind hangs on NIC with the lowest scopeid
>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 Aug 27 13:10:06 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jin Guojun (DSD staff)
>Release:        FreeBSD 4.6.2-RELEASE i386
>Organization:
>Environment:


	FreeBSD 4.x

>Description:

	If NICs present in following order, then, ypbind does not bind on
	fxp0, which has a default router associated. Ypbind always try to
	bind on a NIC up with lowest scopeid, but not the NIC had address
	associated with the default router.
	All other network services, such NFS, nslookup, work well, except
	ypbind.

sk0: flags=c843<UP,BROADCAST,RUNNING,SIMPLEX,LINK2,MULTICAST> mtu 1500
        inet6 fe80::200:5aff:fe98:ea24%sk0 prefixlen 64 scopeid 0x1 
        inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
        ether 00:00:5a:98:ea:24
        media: Ethernet 1000baseSX <full-duplex>
        status: active
sk1: flags=c843<UP,BROADCAST,RUNNING,SIMPLEX,LINK2,MULTICAST> mtu 1500
        inet6 fe80::200:5aff:fe98:ea25%sk1 prefixlen 64 scopeid 0x2 
        inet 10.0.1.1 netmask 0xffffff00 broadcast 10.0.1.255
        ether 00:00:5a:98:ea:25
        media: Ethernet 1000baseSX <full-duplex>
        status: active
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 131.234.123.10 netmask 0xffffff00 broadcast 131.234.123.255
        inet6 fe80::230:48ff:fe23:6124%fxp0 prefixlen 64 scopeid 0x3 
        ether 00:30:48:23:61:24
        media: Ethernet 100baseTX <full-duplex>
        status: active

>How-To-Repeat:
	Install at least two NICs, and user the second one as
	primary interface, and configure the system to use NIS.
	After system boot, issue command rcpinfo -p and/or ypwhich
	if you have a ypserv running.

	rcpinfo -p will hang forever.
	ifconfig the first NIC (sk0 and sk1 in this case) down and
	restart ypbind, then ypbind will work.

>Fix:

	Work around:

		Configure non primary NIC(s )(sk0 and sk1 in this case) in
	/usr/local/etc/rc.d/01.if-sk.sh if they come up at front of the primary
	NIC.



>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?200208272009.g7RK9AX7000803>