Routing through a private network

From: Robert Fridman <fridman_at_ucalgary.ca>
Date: Wed, 23 Jan 2002 17:51:09 -0700

I'm trying to route packets from a host (called X, having a class B address)
which is connected to a switch on a private subnet (192.168.1). We have a
gateway node (called Y) with 2 interfaces: one on the class B network (called
y1), the other on the private network (called y2). How can I set up routes so
host X can send and recieve packes from the private network and the public one
(I want it to be visible to the outside world)? I'm running routed on both
nodes.

Internet----router----y1_Y_y2-----private subnet-----X

I've tried setting up static routes from X to Y and Y to X, but the best I
could accomplish is that pingging Y from X works, but not the other way
around.

# iprsetup -d
ipforwarding = 1
ipgateway = 1
ipfirewall = 0
ipchkredirects = 0
ipsrcroute = 1


-- 
	Robert.
-------------------------------------------------------
Robert Fridman			fridman_at_ucalgary.ca
MACI Cluster Computing Systems Administrator
Netera Alliance 
University of Calgary
Phone: (403) 220-6779           Fax: (403) 282-9199
Received on Thu Jan 24 2002 - 00:51:21 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT