*BSD News Article 99857


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!sol.net!spool.mu.edu!newsspool.sol.net!howland.erols.net!europa.clark.net!worldnet.att.net!newsadm
From: osas@worldnet.att.net (Tim White)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: IPXrouted
Date: Fri, 18 Jul 1997 04:38:56 GMT
Organization: AT&T WorldNet Services
Lines: 72
Message-ID: <33ceea33.38039517@netnews.worldnet.att.net>
NNTP-Posting-Host: 207.146.124.181
X-Newsreader: Forte Free Agent 1.1/16.230
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44593


  Hi,

  I'm trying to configure a 2.2.1 box to route IPX between two networks. 
 I've added IPX to the kernel, and created the /etc/sysconfig entries for 
 ifconfig_xyz_ipx with the appropriate IPX network numbers. IPXrouted starts
 up and appears to broadcast saps( tcpdump shows a packet out every 60 
 seconds ).  On one network we have a Cisco ( network A ) and the other 
 network( B ) has one PC speaking only IPX..the idea is if we can route IPX 
 we will segment some of the traffic off depending on how well the BSD box
 performs. 

  The Cisco router on net A does not see the rip broadcast for B. In a similar
 fashion the PC on B cannot figure out how to get to A. 

  Some pertinent info..from the kernel probe at boot I get the Mac address..

    Address for card on A is 0:0:c0:aa:bb:cc
      "     "           B is 0:0:c0:dd:ee:ff 



  ifconfig -a shows both interfaces up....output similar to 

    inet 1.2.3.4 netmask 0xffffff00 broadcast 1.2.3.255
    ipx 101234.c0aabbcc
    ether 00:00:c0:aa:bb:cc

    inet 5.6.7.8 netmask 0xffffff00 broadcast 5.6.7.255
    ipx 101235.c0aabbcc
    ether 00:00:c0:dd:ee:ff

  Note the second interface has the IPX address as the IPX network number with 
 the Mac address of the first interface appended.
 
  Sending siginfo to IPXrouted generates a RIP table dump. The output is like

  HASH 0
    dest  101235#0:0:0:0:0:0  101235#0:0:c0:aa:bb:cc metric 0, ticks 0
  HASH 1
    dest  101234#0:0:0:0:0:0  101234#0:0:c0:aa:bb:cc metric 0, ticks 0


   NOTE the Mac address is the same for both hashes? Could this be a bug?
  101234 is the IPX net address for A, 101235 is for B. 

 
   'netstat -nr' show the IPX routing tables....

   Destination     Gateway        Flags    Refs     Use    Netif     Expire

    101235.*     101235.c0aabbcc    U        0       0       de1
    101234.*     101234.c0aabbcc    U        0       0       de0


  Note the gateway for both networks has the Mac address for the Net A appended
 to the IPX network address. 

  The /etc/sysconfig file has entries for each interface like

   ifconfig_de0="inet 1.2.3.4 netmask 0xffffff00"
   ifconfig_de0_ipx="ipx 0x101234"


  I've got the ipxgateway="YES" in the sysconfig file. We have played around
 with the ipxrouted flags also in several different configs...the last test was
 with ipxrouted="-s /tmp/logfileipx".

  Any ideas / help would be most appreciated. Pointers to a better IPX routing
 mechanism is also welcome. From the manpage it looks like this should be 
 simple to set up..I've obviously missed something. Thanks in advance.