Thanks, Clark!
I needed to put the 'gw' and the 'dev eth0' in the route add command line,
despite that the FAQ at sharethenet showed the command line differently!
For me the command line was:
route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.0.250 dev etho
Now to fine tune ICQ for one of the users.
Lyle
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 15, 2000 8:36 PM
To: [EMAIL PROTECTED]
Subject: RE: [ShareTheNet] FW: Ip route add??
Maybe this example will help you debug your problem.
This is a route command that I added to the manual startup commands to
access a friend's system on the @HOME cable modem system in our city.
@HOME filters TCP/IP traffic within the same hubs which prevented us
from connecting to each other. I also had to add a route to the
workstation on my internal LAN so that it could get to my friend's
system via my STN firewall system.
The path is :
my workstation <--> Linux STN <--> @HOME gateway <--> friend's sys
192.168.0.10 <--> 192.168.0.1 eth0
24.4.42.46 eth1 < --> 24.4.40.1<---> 24.4.45.117
My WIN95 workstation --> route add 24.4.45.117 192.168.0.1
My Linux STN --> route add -host 24.4.45.117 gw 24.4.40.1 dev eth1
friend's WIN95 system --> route add 24.4.42.46 24.4.40.1
As you will notice, I did not use a NETMASK parameter on any route
command and I had to use a dev parameter on the STN route command.
I think the SIOADDRT: No such device error occurs because your system
can not find your NIC.
Hope this helps!
Clark..
Lyle Giese wrote:
> Sorry for the last message, I forget that digital signatures don't work
> with
> lists.
>
> Here's the orginal message, hope someone can help.
>
> Lyle
> -----Original Message-----
> From: Lyle
> Sent: Saturday, January 15, 2000 7:19 PM
> To: Sharethenet@Topica. com (E-mail)
> Subject: Ip route add??
>
>
>
>
> I just put up my first STN server for two subnets and am having trouble
> with
> setting the second subnet route in STN.
>
> The STN has a modem for dialup and the primary IP subnet is
> 192.168.0.0/255.255.255.0. It's IP address is 192.168.0.2. There is a
> second subnet there, 192.168.1.0/255.255.255.0. I have a Novell server
> there and am using it as the router between the two subnets. It's at
> 192.168.0.250 and the second interface is at 192.168.1.250. I have the
> Novell server setup with a default route pointing to the STN server
> 192.168.0.2.
>
> I added the following two commands to the STN:
>
> ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/24
> route add -net 192.168.1.0 netmask 255.255.255.0 192.168.0.250
>
> However I cann't ping anything outside of the same subnet from
> 192.168.1.x.
> I would also expect to take a workstation on the 192.168.0.x subnet and
> try
> to ping a workstation on the 192.168.1.x subnet, however when I do a
> traceroute to 192.168.1.100 from 192.168.0.100, it goes to the STN
> server
> and out to the Internet and not back to the Netware server.
>
> In STN, I inputed these commands to the Advanced Setup, Advanced
> Options,
> Manual Startup Commands window. It added them to the manual override
> as:
>
> export STARTUP_TEXT='
> ipfwadmn -F -a m -s 1921.68.0.1.0/24 -D 0.0.0.0/24<shows a square here>
> route add -net 192.168.1.0 netmask 255.255.255.0 192.168.0.250<square>
> <square>
> <square>
> <square>
> '
>
> I don't know if those ' or the squares are sigficant or not, but it
> doesn't
> add the route to the routing table shown in the administrator page.
> What am
> I doing wrong??
>
> Also in the STATUS, boot, there is an error line at the bottom:
>
> SIOADDRT: No such device
>
> Lyle
>
>
--
Visit http://www.ShareTheNet.com for info about ShareTheNet
Visit http://www.topica.com/lists/sharethenet for info about this list
_____________________________________________________________
Check out the new and improved Topica site!
http://www.topica.com/t/13
--
Visit http://www.ShareTheNet.com for info about ShareTheNet
Visit http://www.topica.com/lists/sharethenet for info about this list
_____________________________________________________________
Check out the new and improved Topica site!
http://www.topica.com/t/13