Koozali.org: home of the SME Server

Routing Help Needed on SME 6.01

pistonpilot

Routing Help Needed on SME 6.01
« on: January 15, 2006, 08:43:28 PM »
I have the following configuration.

E-smith server - 192.168.0.25 - connects to Linksys Router - Wan Interface.
Linksys Router Lan is 192.168.1.1
I need to get to 192.168.1.200 from the outside interface on the E-smith
192.168.1.200 is hardwired to the router through a switch.

I cannot ping 192.168.1.1 from the server even though I added the network to the routing table.  

I also turned off the firewall functions of the Linksys Router and put 192.168.1.200 on DMZ just to be doubly sure.

But since I cannot ping the router what does it matter?

My routing table on the e-smith is:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
68.80.190.0     *               255.255.255.0   U     0      0        0 eth1
192.168.1.0     maxserver.maxwe 255.255.255.0   UG    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]#

Everyone on 192.168.1.0 sees 192.168.0.25 just fine - I can see network shares.  

Why can't I ping the 192.168.1.0 network?

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Routing Help Needed on SME 6.01
« Reply #1 on: January 16, 2006, 12:26:45 AM »
Let's see:
Code: [Select]

INTERNET
      |
   SME (192.168.0.25)
        Switch
     |   |   |   |
                (?)WAN- Linksys - LAN 192.168.1.1
                                              |  |  |  |
                                          192.168.1.200

If this is correct, then you should remove the 192.168.1.0 from the local networks, since the linksys won't bridge and it's natting the 192.168.1.0. You cannot ping the 192.168.1.1 but you can whatever the WAN interface on the linksys is.

Keep the 192.168.1.200 on the linksys as DMZ or forward ports and setup a proxypass pointing to the WAN IP on the linksys router. Then you should be able to access this server from the outside.

pistonpilot

Routing Help Needed on SME 6.01
« Reply #2 on: January 16, 2006, 06:02:27 AM »
Your diagram is correct except there is no switch between the SME and the Linksys Router - I have it directly connected to the WAN Port.  Eth0 <--->WAN Port on the Linksys.

I already put the 192.168.1.200 on the DMZ for the Linksys.  

I can delete the network from the SME but what else do I need on the Linksys?  Don't I need a port forward on the SME and to what?

192.168.1.1 or 192.168.1.200?

pistonpilot

Routing Help Needed on SME 6.01
« Reply #3 on: January 16, 2006, 11:12:13 AM »
This is a Linksys 54G router.  In Gateway mode.  I could change it to Router mode as it really isn't a gateway device although it works fine on this network as a gateway device.  The E-smith is the true gateway device.  

My issue is that I am in Thailand and my client is Philadephia and I'm not sure what will happen to the connection beyond the Linksys Router if I put it in router mode.  

I turned off all security on the Linksys router.  It should respond to a ping from the SME from eth0 to the Wan port but does not.  

Ping is the key - why can't I ping 192.168.1.1 or .200 especially since I have .200 on the DMZ?

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Routing Help Needed on SME 6.01
« Reply #4 on: January 16, 2006, 01:54:37 PM »
Quote from: "pistonpilot"

Ping is the key - why can't I ping 192.168.1.1 or .200 especially since I have .200 on the DMZ?


Just because it's in DMZ does not mean it's going to get the ICMP packets. The linksys router is certainly blocking your requests, but you should be able to ping the WAN IP. If you changed it to bridge mode, then what you're saying and all your topology makes no sense.

Is this a 1 port or a 4 port linksys?

pistonpilot

Routing Help Needed on SME 6.01
« Reply #5 on: January 16, 2006, 02:08:05 PM »
1 or 4 port - doesn't matter I connect to the WAN port, not the built in switch.  And for the other things, I have turned off all security.

The only thing I can think of, is to change the Router from Gateway mode to Router mode.  

Just not sure what will happen when I do and as I am 10,000 miles away I'm not favoring it.

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Routing Help Needed on SME 6.01
« Reply #6 on: January 16, 2006, 02:17:37 PM »
Quote from: "pistonpilot"
1 or 4 port - doesn't matter I connect to the WAN port, not the built in switch.  And for the other things, I have turned off all security.

When you turn the security off then all 5 ports on the linksys become 1 switch.
If you have a 1 port device then that does not happen.

So it does matter.
If 192.168.1.200 is pointing to 192.168.1.1 as the gateway, then the linksys is routing and it's why you cannot ping it from SME.

pistonpilot

Routing Help Needed on SME 6.01
« Reply #7 on: January 16, 2006, 02:25:57 PM »
No - it does not.  WAN is 192.168.0.0 network and the 4 ports are 192.168.1.0 network.

The router is in Gateway mode - not Router mode.  I might agree with you if it was in router mode but I'm not sure what it will do should I make that switch as I am 10,000 miles away.

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Routing Help Needed on SME 6.01
« Reply #8 on: January 16, 2006, 03:06:20 PM »
OK then, good luck!