The command you inputed is not a routing statment.  It's a statement to also
NAT traffic from 192.168.1.0 going to the Internet.  You need a route add
statement

route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.0.253 dev eth0

But I don't think this is really what you need as STN doesn't provide a
means to bind two ip addresses to one NIC.(you can do it under Windows &
full Linux).  The GW ip address needs to be another device somewhere that
route traffic between the two subnets.  If you have a WinNT machine there,
you can do that easily.  It might be possible under Win98, but it is not as
easy and requires registry edits to make it work.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 03, 2000 4:12 PM
To: [EMAIL PROTECTED]
Subject: [ShareTheNet] IP masquerading


Hi all

I tried to make a good routingtable but something is going wrong and I 
really don't know what... maybe there's someone out there who can help 
me to solve this problem.

problem: STN will not drop packets on the NIC of my internal 
gateway/router.

STN
NIC 1 eth0 192.168.0.224
NIC 2 eth1 Real fixed IP with external gateway

Internal gateway/router (Novell)
NIC 1 192.168.0.225
NIC 2 192.168.1.225
This works. Tested it with Wingate

So I started STN
Going to debug by opening a new Console (ALT+F9)
Ofcourse password
Typing the next two lines
ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/24
(first tried this)
route add -net 192.168.1.0 netmask 255.255.255.0 192.168.1.225
(But does not work [No Such Device], so I tried this)
route add -net 192.168.1.0 netmask 255.255.255.0 eth0
STN Accepted all commands... I check the routing table... route has 
made.. but still no routing. I can imagine that because STN will drop 
all packets for subnet 192.168.1.0 on the 192.168.0.0 net. My my 
internal router doesn't pick up those requests. STN must deliver all 
packets for 192.168.1.0 to IP 192.168.0.225 ???????

Someone knows how to solve this issue??

By the way... everything did work with Wingate (Not quite stable) and 
the next route on Wingate/WIN98:
route add 192.168.1.0 netmask 255.255.255.0 192.168.1.225

Regards Randy Schwidder
--
Visit http://www.ShareTheNet.com for info about ShareTheNet
Visit http://www.topica.com/lists/sharethenet for info about this list
___________________________________________________________
T O P I C A  The Email You Want. http://www.topica.com/t/16
Newsletters, Tips and Discussions on Your Favorite Topics
--
Visit http://www.ShareTheNet.com for info about ShareTheNet
Visit http://www.topica.com/lists/sharethenet for info about this list
___________________________________________________________
T O P I C A  The Email You Want. http://www.topica.com/t/16
Newsletters, Tips and Discussions on Your Favorite Topics

Reply via email to