Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!ames!sdcsvax!ucbvax!DEVVAX.TN.CORNELL.EDU!fedor From: fedor@DEVVAX.TN.CORNELL.EDU (Mark Fedor) Newsgroups: comp.protocols.tcp-ip Subject: Re: Problems starting vv0 Proteon PROnet-10 driver Message-ID: <8708060201.AA17853@devvax.TN.CORNELL.EDU> Date: Wed, 5-Aug-87 22:01:56 EDT Article-I.D.: devvax.8708060201.AA17853 Posted: Wed Aug 5 22:01:56 1987 Date-Received: Sat, 8-Aug-87 07:13:38 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 52 Here is a fix and explanation to the problem.... This was posted to USENET some time ago, I get no credit for this fix, but I should get something for finding this article out of all the tons of News articles I have saved.... :^) Hope this helps! Mark ----------------------------------- Article 3887 of net.unix-wizards: >From: ron@BRL.ARPA Newsgroups: net.unix-wizards Subject: brl-vgr Bug Report Message-ID: <4577@brl-smoke.ARPA> Date: 13 Oct 86 23:15:30 GMT Sender: news@brl-smoke.ARPA Subject: Unable to set vv address on subnet Index: sys/vaxif/if_vv.c 4.3BSD Description: Ifconfig returns an error when you try to set the address on the proteon when using subneting. Repeat-By: ifconfig vv0 128.63.4.3 netmask 255.255.255.0 Fix: The vv driver checks to see if the local net part of address corresponds to the hardware address of the interface installed in your system. The subnet mask can not be set before the address because the mask has to be tied to a particular internet address. The fix is to make the vv driver mask off all but the lowest eight bits of the address before making the validity check. This is OK since the device can only deal with eight local address bits. In vvioctl: /* * Attempt to check agreement of protocol address * and board address. */ switch (ifa->ifa_addr.sa_family) { case AF_INET: if ((in_lnaof(IA_SIN(ifa)->sin_addr) & 0xFF) != vv_softc[ifp->if_unit].vs_host) error = EADDRNOTAVAIL; break; } break;