Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: pistonpilot on January 10, 2006, 11:57:54 PM

Title: How to route to a different internal network?
Post by: pistonpilot on January 10, 2006, 11:57:54 PM
My SME server is 192.168.0.25 connected to a cable modem on the outside interface.  

Internally I connect to a Linksys wireless router at 192.168.1.1.  I need to connect from the outside to a server at 192.168.1.200 but can't ping it.  I tried using the route command but I must not have done it correctly because I still can't see it from the outside.  

I created a port forward for 192.168.1.200 port 5020.

What am I doing wrong?  Here is what I put in with the Route Command.

 [root@maxserver root]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
69.139.17.128   *               255.255.255.128 U     0      0        0 eth1
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         ubr03-a-rtr.chr 0.0.0.0         UG    0      0        0 eth1


-------------->[root@maxserver root]#  route add -net 192.168.1.0
-------------->netmask 255.255.255.0 dev eth0


[root@maxserver root]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
69.139.17.128   *               255.255.255.128 U     0      0        0 eth1
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         ubr03-a-rtr.chr 0.0.0.0         UG    0      0        0 eth1
[root@maxserver root]#

--- 192.168.1.1 ping statistics ---
390 packets transmitted, 0 received, +156 errors, 100% loss, time 390616ms

[root@maxserver root]# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) from 192.168.0.25 : 56(84) bytes of data.

--- 192.168.1.1 ping statistics ---
10 packets transmitted, 0 received, 100% loss, time 9018ms

[root@maxserver root]#
Title: Re: How to route to a different internal network?
Post by: CharlieBrady on January 11, 2006, 02:21:00 AM
Quote from: "pistonpilot"

What am I doing wrong?


You should be using the "local networks" panel.
Title: How to route to a different internal network?
Post by: pistonpilot on January 11, 2006, 03:35:33 AM
Did that.  Still didn't work.
Title: How to route to a different internal network?
Post by: pistonpilot on January 11, 2006, 08:23:03 AM
Let's assume for the sake of arguement that I got it to work using the route command.  Would the sme server 6.01 remember that command on rebooot or would it be lost?

To date I could not get either command to work, the panel or route.  Did I correctly input the route command?