Koozali.org: home of the SME Server

Would this work on SME7?

Offline nefkho

  • *****
  • 183
  • +0/-0
    • http://www.cagothonglines.com
Would this work on SME7?
« on: September 27, 2006, 07:34:50 AM »
Network B -----> Network A -----> SME7 ----->Internet
192.168.1.0---- 192.168.0.1---192.168.0.5 ----- internet

can network B get internet access with the setup above? so far with SME6.1 it doesnt, network B can only reach Network A but can not get internet or even access the internet ip of SME? anyone can comment as to how i can better solved the scenarion above? looking forward to migrating to SME 7..

thanks,
Nef Kho  :-) .........

Offline jonroberts

  • ****
  • 111
  • +0/-0
    • http://www.westcountrybusiness.com
Would this work on SME7?
« Reply #1 on: September 27, 2006, 10:27:00 AM »
This should work, but you will need to create a route in the Router that connects networks A & B to let it know that Internet is via the SME.  

Try setting that router to have a default gateway on the Network B interface of the SME server & that should do it.

If you haven't got a router, build an SME in server gateway mode with 2 interfaces (1 for each network) & use that to route between them
......

Offline nefkho

  • *****
  • 183
  • +0/-0
    • http://www.cagothonglines.com
Would this work on SME7?
« Reply #2 on: September 27, 2006, 10:41:32 AM »
hi,
thanks,

can i used the current SME to add the router? like some modiification or script to it?
Nef Kho  :-) .........

Offline jonroberts

  • ****
  • 111
  • +0/-0
    • http://www.westcountrybusiness.com
Would this work on SME7?
« Reply #3 on: September 27, 2006, 11:09:21 AM »
I'm not sure I understand what you're trying to do here.  Is there already a router connecting Networks A & B?  If not, how are they connected and / or why are they separate?

How do you connect to the Internet?  Is there another firewall / router there for this or is the connection in the SME?

Depending on what you have already, it may be possible to do - just let me know a little more about your setup & I'll see if I can help.

Jon
......

Offline nefkho

  • *****
  • 183
  • +0/-0
    • http://www.cagothonglines.com
Would this work on SME7?
« Reply #4 on: September 28, 2006, 03:46:20 AM »
Network A ---->RouterA----> RouterB--->Network B --->SME ---> Internet

both router is linksys boadband firewall router, and they are on two separate location but the connection is like a lease line there is no internet with.

RouterA have a dns and gateway pointing to SME but everything seems to work netwrok A to Network B but i cant get internet from Network A.
Nef Kho  :-) .........

Offline jonroberts

  • ****
  • 111
  • +0/-0
    • http://www.westcountrybusiness.com
Would this work on SME7?
« Reply #5 on: September 28, 2006, 10:13:47 AM »
I'm no expert here, but here's my thinking.

Network A PCs need a gateway of Router A
Router A needs to know that all traffic except for Network A routes via Network B (Try a gateway of Router B).
Network B PCs need a Gateway of SME
Router B needs a route of Internet via SME (same as you have done for Router A) and a route of Network A via Router A.
SME needs a route (local network) of Network A via Router B

Alternatively, try above but set Network B PCs with Gateway of Router B.

Basically I think you need to set the routes you have already set in Router A into Router B as well.
......

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Would this work on SME7?
« Reply #6 on: September 28, 2006, 03:25:42 PM »
You would either need to have NAT enabled between Network A and Network B, or you need to add Network A  to "local networks" in server-manager (under "Security")

Offline wjhobbs

  • *****
  • 171
  • +0/-0
    • http://www.chryxus.ca
Would this work on SME7?
« Reply #7 on: September 29, 2006, 02:17:49 AM »
Nef Kho,

I had something like that set up a few months ago to test a new network configuration. If I recall correctly, this is how I did it.

Your two network charts seem to have networks A and B reversed. To be clear, this is the reference for what follows:

Network A devices --- Network A Router --- Network B Router --- SME Server  --- Internet Connection

Router A:
Set the local network IP address to 192.168.1.1 and have DHCP enabled to allocate some set of addresses for Network A in the 192.168.1.xxx range.

Set the WAN access to an address on the Router B LAN (e.g., 192.168.0.201).

Plug the WAN port of Network A Router into a LAN port of Network B router.

Router B:
Do not plug anything into the WAN port of Router B.

Set the local network IP address to 192.168.0.1 and disable DHCP (assuming the SME box will provide DHCP services for this network).

Plug a cable from the local interface on the SME box into any LAN port on Router B along with the cable from Router A and any other devices on Network B.

SME Box:
Set the Local IP address to something unassigned in the Network B range (e.g., 192.168.0.254). Have DHCP enabled to allocate some set of addresses for Network B in the 192.168.0.xxx range.

Set the WAN access to whatever is necessary to establish your connection to your ISP.

This will allow machines on both Network A and Network B to access the internet.

IF you want machines on Network A to be treated from a security perspective as local to the SME Server, specify a Local Network on the SME box with the WAN address of Router A (192.168.0.201) as the router address and the Network A address range (192.168.1.x) specified as the network to add.

Hope this helps.

John
...