IPX routing almost there , I can't route to more than one person at a time

IPX routing almost there , I can't route to more than one person at a time

Post by Jay Di Silvest » Sat, 07 Sep 1996 04:00:00



IPX routing almost there , I can't route to more than one person at a
time

I have everything set up for an IP/IPX router via PPP.  But there is a
problem with IPX when more than one person logs in.  Below are the
relevant portions of the "messages" log. the first portion is the
"problem" log, then the "good" log (from the first login) then the PPP
login script.  I'm running CND (Caldera) with an upgrade to kernel
2.0.

IP works fine (Ive deleted the address from the logs).

We use a Win 95 client.  when the IPX problem occurs, the
"connect:details" message fails to show IPX as a protocol.

I believe that the problem line is this:
Sep  6 10:47:35 pinot pppd[9617]: ioctl(SIOCAIFADDR, IPX_DLTITF) 22:
Invalid argument

Help

Problem log __________

Sep  6 10:47:33 pinot mgetty[9617]: data dev=ttyS1, pid=9617,
caller=none, conn=
'28800/ARQ/V34/LAPM/V42BIS', name='', cmd='/bin/login',
user='whitech.ppp'
Sep  6 10:47:33 pinot login: DIALUP ttyS1, whitech.ppp
Sep  6 10:47:34 pinot pppd[9617]: pppd 2.2.0 started by whitech., uid
500
Sep  6 10:47:34 pinot pppd[9617]: Using interface ppp0
Sep  6 10:47:34 pinot pppd[9617]: Connect: ppp0 <--> /dev/ttyS1
Sep  6 10:47:35 pinot pppd[9617]: ioctl(SIOCAIFADDR, IPX_DLTITF) 22:
Invalid argument
Sep  6 10:47:38 pinot pppd[9617]: CCP terminated at peer's request
Sep  6 10:47:38 pinot pppd[9617]: Compression disabled by peer.
Sep  6 10:47:38 pinot pppd[9617]: local  IP address XXXXXXXX
Sep  6 10:47:38 pinot pppd[9617]: remote IP address XXXXXXXX
Sep  6 10:47:38 pinot pppd[9617]: found interface eth0 for proxy arp

Good  log __________

Sep  6 10:21:23 pinot mgetty[9494]: data dev=ttyS0, pid=9494,
caller=none, conn=
'26400/ARQ/V34/LAPM/V42BIS', name='', cmd='/bin/login',
user='disilvej.ppp'
Sep  6 10:21:23 pinot login: DIALUP ttyS0, disilvej.ppp
Sep  6 10:21:24 pinot pppd[9494]: pppd 2.2.0 started by disilvej, uid
501
Sep  6 10:21:24 pinot pppd[9494]: Using interface ppp1
Sep  6 10:21:24 pinot pppd[9494]: Connect: ppp1 <--> /dev/ttyS0
Sep  6 10:21:25 pinot pppd[9494]: local  IP address XXXXXXXXX
Sep  6 10:21:25 pinot pppd[9494]: remote IP addressXXXXXXXX
Sep  6 10:21:25 pinot pppd[9494]: found interface eth0 for proxy arp
Sep  6 10:21:28 pinot pppd[9494]: CCP terminated at peer's request
Sep  6 10:21:28 pinot pppd[9494]: Compression disabled by peer.

PPP login Script

mesg n
nwlogin -t CCH -u guest >/tmp/nwlogin.${$} 2>&1
stty -echo
ttyname=$(tty)
print "PPP executed by ${USERNAME} at $(date) on ${ttyname}"

Quote:>>/tmp/ppp.log

case ${ttyname} in
   *S0) print "Your IP address is XXXXXXX\n\n"
        # Was 31.92
        # old #
        #
        exec /usr/sbin/pppd -detach silent debug modem crtscts
proxyarp ipx-network 10316400 ipx-node 2:0  ipx-routing 2
ipxcp-accept-remote ipxcp-accept-network
        ;;
   *S1) print "Your IP address is XXXXX.XX\n\n"
        # Was 31.93
        # old #
        #
        exec /usr/sbin/pppd -detach silent debug modem crtscts
proxyarp ipx-network 10316400 ipx-node 3:0 ipx-routing 2
ipxcp-accept-remote ipxcp-accept-network
        ;;
 
 
 

1. Routing to two ISP's instead of one: what replaces default route?

Until recently, I used a Red Hat Linux box (2.2 kernel) to masquerade and
firewall my LAN to the Internet. I just needed a static default route on
the Linux box to make everything work.

Now I've got an ADSL connection to PacBell (pbi.net) and a T1 to UUNET. The
ADSL connection uses a simple Alcatel modem, while the T1 uses a Cisco
2620. The Linux box has 3 interfaces, one to each provider and one to the
LAN.

I'd like traffic to use both interfaces, whichever makes most sense for a
given connection. For example, a connection to another UUNET customer
should go out the T1, and connections to PBI customers and servers should
go out the ADSL line.

What do I need to do to make this happen?

The Cisco isn't running any router protocol, and is just handing packets to
the router at "the other end".

I tried "ripquery" (a RIP utility that comes with the routed RPM) from my
Linux box to the ISP router at PacBell and to the Cisco and both attempts
resulted in "query refused". I've got routed running but I'm guessing it's
not accomplishing anything given the ripquery results.

I suppose I could use static routes for 64/8 and 65/8 and let all other
traffic take a specific interface, but it seems like I should be able to
dynamically assign a route based on cost to the destination.

--
Kenneth Porter
http://www.sewingwitch.com/ken/
Remove 'invalid' for correct email address

2. fddi/s 3.0 s/w install & 2.4

3. two ppp connetions, one routes, one doesn't

4. hdparm -I output

5. IPX routing over PPP (One last detail!)

6. New: Adaptec 1542 driver does not compile

7. IPX routing for multi-user games - IP works, IPX how?

8. PPC MPC7400 and SMP

9. 'No route to host' routing problems

10. Routed loses routes after time

11. route problem: route forgot to specify route netmask.

12. Routing problem with source-based routing and routing packets back to sender machine.

13. routed: deleting route (timed out)