home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / vxworks / 1026 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  4.1 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!dog.ee.lbl.gov!lbl.gov!vxwexplo
  2. From: mea@sparta.com (Mike Anderson)
  3. Newsgroups: comp.os.vxworks
  4. Subject: re: Ethernets and backplane networks
  5. Date: Tue, 17 Nov 92 18:59:49 EST
  6. Organization: Lawrence Berkeley Laboratory, Berkeley CA
  7. Lines: 69
  8. Sender: vxwexplo@lbl.gov
  9. Message-ID: <9211172359.AA00299@borg>
  10. NNTP-Posting-Host: 128.3.112.16
  11. Originator: daemon@vxw.ee.lbl.gov
  12.  
  13. Greetings!
  14.  
  15. Bill Frewing writes:
  16. >  
  17. > Mike Anderson replied to my questions about using up internet network 
  18. > numbers (with 'private' ethernets for VxXorks crates and backplane 
  19. > networks) with a fairly comprehensive posting about subnets. I have
  20. > a further question on that subject: do the subnets have to be physically
  21. > connected ?  Ie. could the subnets be arranged as follows where the
  22. > subnets have netmask 0xffffffc0:
  23. >                     Internet G/W             Main Ethernet (not subnetted)
  24. > Internet ----------[192.9.200.1]----------------------------------------------
  25. > (sees only                       |                |
  26. >  net 192.9.200.0)                |                |
  27. >                          ---------------   ---------------
  28. >     Suns w/ 2 Enets  [ 192.9.200.2 ]   [ 192.9.200.3 ] <- main Enet
  29. >              [ 192.9.201.1 ]   [ 192.9.201.64] <- subnetted Enet
  30. >                          ---------------   ---------------
  31. >                                  |                |
  32. >                                  |                |
  33. >            (00 sub-network)  ---------            |
  34. >                                               ----------  (01 sub-network)
  35. > I would guess that the problem may be that each Sun could only have one
  36. > netmask, and for the above configuration it would need a different one for
  37. > the main network (192.9.200) and the sub-netted network (192.9.201).
  38.  
  39.   By virtue of the fact that you're using a class C network, the 192.9.201.xxx networks
  40. are completely separate *networks* from the 192.9.200.xxx network not subnets.  However,
  41. if you set the network mask to 0xffffffc0 then that means that you would now have 4
  42. subnetworks on the 192.9.201 net and 4 subnets on the 192.9.200 net.  This is possible
  43. to handle via clever uses of routing table entries, but I would exercise caution about
  44. trying to use *different* subnet masks on the two Enet interfaces.  I have had problems
  45. doing this because the routing table takes the netmask into account when allowing you
  46. to perform the "route add net" calls.  Also, broadcasts can be a pain because, by design,
  47. gateways do not forward broadcast packets (just image what would happen to the Internet
  48. if every ARP broadcast got forwarded from a LAN out into the world! :-).  Therefore, such
  49. a set up would work provided that the 00 subnet (192.9.201.xx) did not expect to broadcast
  50. packets to the 01 subnet.  You might also have to use a "default" route (0.0.0.0) 
  51. to the Sun with 2 Enets for packets to be routed properly like so:
  52.  
  53. -> hostAdd "default", "0.0.0.0"
  54. -> routeAdd "default", "192.9.201.1"   # this handles the 00 subnet and do likewise on 01
  55.  
  56. Hope this helps,
  57.  
  58.  
  59. ==============================================================================
  60.     AAAA  D D    D D    EEEEE   M   M  TM  // AAAA RRRR  TTTTTT SSSSS EEEEE TM
  61.    A   A  D   D  D   D  E      M M M M    // A   A R   R   TT   S     E
  62.   AAAAAA  D   D  D   D  EEEEE  M  M  M   // AAAAAA RRRR    TT    SSS  EEEEE
  63.  A     A  D   D  D   D  E      M     M  // A     A R  R    TT       S E
  64. A      A  D D    D D    EEEEE  M     M // A      A R   R   TT   SSSSS EEEEE
  65.  
  66. Process Distribution/Control and Communications for Distributed Systems
  67.  
  68. Mike Anderson                       Voice: (703) 448-0210 ext. 235
  69. Director, ADDEM(TM) Project Office  FAX:   (703) 734-3323
  70. SPARTA, Inc.                        EMAIL: mea@sparta.com
  71. Suite 900                     
  72. 7926 Jones Branch Drive        "It is useless for sheep to pass resolutions 
  73. McLean, VA  22102               in favor of vegetarianism while wolves remain
  74.                                 of a different opinion."
  75.  
  76.                                    William R. Inge, D.D.
  77. ==============================================================================
  78.  
  79.