[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

routing question



Yo-

I think I am having a routing problem which is responsible for
"corrupting" my ISDN connection intermittently.  I have ISDN with an
Ascend Pipeline 50 router using NAT (network address translation) for a
dial-up connection.  My desire is to have traffic not destined for the
internet to stay on the local LAN segment and for internet traffic to be
routed directly to the router.  My current set-up is working but I feel
like something is wrong so I thought I'd post here and let the network
guru's look at it.

My setup:

ISDN w/Pipe 50 router (setup to use NAT exactly as on Ascend's
			white-paper) ip address 192.168.100.101
Debian box ip address 192.168.100.102
Win95      ip address 192.168.100.103

/etc/init.d/network
---------------------
#!      /bin/sh
ifconfig lo 127.0.0.1
route add -net 127.0.0.0
IPADDR=192.168.100.102
NETMASK=255.255.255.0
NETWORK=192.168.100.0
BROADCAST=192.168.100.255
GATEWAY=192.168.100.101
ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
route add -net ${NETWORK} && route add default gw ${GATEWAY} metric 1

------------------------------------------------------------
/sbin/route -v
----------------------
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
localnet        *               255.255.255.0   U     0      0       19
eth0
127.0.0.0       *               255.0.0.0       U     0      0        5 lo
default         pipe.lucidity.o 0.0.0.0         UG    1      0       87
eth0
------------------------------------------------------------

Can anybody tell if my routes are messed up?  What should they be?

Any info is greatly appreciated.  I can provide any other relevant info if
you need it to help diagnose anything!

Thanks,

-Ian
_____________________________________________________________________
Ian K. Setford                                  ians@jove.acs.unt.edu
						     ian@monolith.org
				                      H: 940.566.0461
				                    Pgr: 817.901.0255


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: