home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vxworks
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscit.sc.hp.com!cupnews0.cup.hp.com!hppad.waterloo.hp.com!rypma
- From: rypma@waterloo.hp.com (Ted Rypma)
- Subject: Re: Forwarding of MAC broadcasts
- Sender: news@waterloo.hp.com (NetNews)
- Message-ID: <C0MBsq.EBL@waterloo.hp.com>
- Date: Sun, 10 Jan 1993 03:17:14 GMT
- References: <9301071938.AA09078@kuwait.whizkids>
- Organization: HP Panacom Div Waterloo ON Canada
- X-Newsreader: TIN [version 1.1.4 PL6]
- Lines: 34
-
- Bill Baumann (billb%kuwait@sun.com) wrote:
- : VxWorks is causing problems by forwarding broadcast messages.
- :
- : Here's the deal : I have a development system that is broadcasting over
- : FDDI to a specific IP address. The IP address is a Unix box, and the
- : FDDI MAC address is a broadcast. I'm using the AP Labs driver.
-
- I just read Hwa Jin's response to this and I think I have a glimmering of
- an explaination.
-
- Note that the _MAC_ address is a broadcast and the _IP_ address is not.
- Now, one of the (many) failings of BSD 4.3 network code is the fact that
- the "broadcastness" of the incoming frame is lost once you get into IP
- protocol code. If the IP address is not broadcast, whether legitimately so
- or as a result of a misunderstood subnet broadcast (due to incorrect or no
- subnet mask), IP will forward if so configured. Of course, it REALLY should
- NOT be forwarded because the MAC address was broadcast - information that
- BSD 4.3 Tahoe quietly throws away.
-
- BSD Networking Release 2 code nicely fixes this (I'm not sure whether Reno
- code does or not, but it may).
-
- We had the same problem in VxWorks 5.0.3 network code causing problems when
- multiple subnets were in use on the same wire - we would forward another
- subnet's broadcasts. I fixed this in our VxWorks networking code by just not
- forwarding frames which would be retranmitted on the same interface on which
- they came in. Not an ideal solution, but it looked after the immediate problem
- (besides, we don't claim to be an ideal IP router and we're not a
- workstation :-).
-
- Regards,
-
- Ted Rypma
- HP Panacom Division
-