Koozali.org: home of the SME Server

Problems with SME and wireless network

thernes

Problems with SME and wireless network
« on: September 15, 2004, 03:33:59 PM »
Ok, here's the situation;

I have setup the SME server as a gateway with no problems, and the network cable goes from the gateway into a wireless router. The gateway has been set up as dhcp server and the dhcp server has been disabled on the wireless router.

The gateway has adress 192.168.1.1 and the dhcp server is giving out adresses from 192.168.1.65-192.168.1.254. (Network mask is 255.255.255.0).
The wireless router requires me to assign it's ip-adress, so I have assigned 192.168.1.65 to it.

My problem is that I can not get in touch with the sme server or get an internet connection at all. I have checked the SME server and I have no problems pinging differen websites with it.

I have tried to assign an ip-adress to the wireless card on my computer in the dhcp-ip range and I have tried to get it to obtain an adress automatically, but no luck.

I have disabled all (at least I think I have) firewall functions on the wireless router and still no contact with the SME server.

When I installed the SME server the first time it suggested that I should use this ip-adress for it; 192.168.67.1, but this seems to be a range that my wireless router does not handle, so I changed it to 192.168.1.1.

Any help with suggested network settings or anything would be highly appreciated as I would like to use the SME server as a gateway and not as a standalone server.

thanks,

Thomas

Offline meanpenguin

  • ****
  • 138
  • +0/-0
Problems with SME and wireless network
« Reply #1 on: September 15, 2004, 05:47:23 PM »
Hi,

just to verify some things,

1.  The wire from the SME GW,  what port is it connected to on the wireless router?

2.  If the DHCP is set to provide addressed in 65-254, you don't want to statically assign anything in that range.  so set the address to the wiress router to 192.168.1.2

Ed

thernes

Problems with SME and wireless network
« Reply #2 on: September 15, 2004, 08:33:07 PM »
The wire from the SMW GW is connected to the Cable/DSL port on the router. I'll give it a try to assign one of the static ip-adresses and see if it solves anything.

thernes

Problems with SME and wireless network
« Reply #3 on: September 15, 2004, 08:37:58 PM »
Another quick question; Can I leave the dhcp-server running on the wirelsss router to have the wireless cards fetch ip-adresses from the router(when I assign it an adress in the "static ip-range"), or will they go through the router and get ip-adresses from the SME GW?

Offline gelcube

  • ***
  • 55
  • +0/-0
    • http://www.ninetails.net
Additional Clarification...
« Reply #4 on: September 15, 2004, 09:51:28 PM »
Ok, so your wireless workstation goes to the wireless router, then the cable goes from the WAN port to the SME Server, and then from the SME Server to the internet?  The wireless router has internal addresses in the 192.168.1.x range, and so does the internal SME Server addresses?

Offline meanpenguin

  • ****
  • 138
  • +0/-0
Problems with SME and wireless network
« Reply #5 on: September 15, 2004, 09:53:01 PM »
Here is one way to get it working.
It may not be what you want but get it working
like this then you can reconfigure.

Set IP if wireless to 192.168.1.2 (Assuming SME LAN address is 192.168.1.1)

Cable Modem --> SME --> Wireless LAN port (Not WAN)
Turn on DHCP Server on SME
turn off on Wireless

ALL wireless clients should be able to get access
to the internet and SME server.
(make sure you turn on wireless security!)
-------------------------------------------
If you have to use the WAN port, then
you must have the Wireless DHCP be on a different
address range than the SME's.   i.e.  For SME Use  192.168.20.1, Wireless 192.168.1.1.
Leave DHCP on for both.
Cable -> SME (192.168.20.1)-> Wireless WAN (192.168.1.1)
*** This is not the best configuration...
-------------------------------------------
My configuration

Cable -> (WAN PORT) Wireless Router -> SME (In Server Only Mode)

Wireless Router set to 192.168.1.1
SME set to  182.168.1.10
Turn DHCP Off on Wireless
Turn DHCP On on SME.
All works fine.....
Again Turn on Wireless security!

Ed

thernes

Problems with SME and wireless network
« Reply #6 on: September 15, 2004, 10:08:43 PM »
Small update;

I have, as you describe, discovered that I can not use the same ip-ranges/subnets for the SME GW and the wireless router, when I use the WAN port.

So this is what i have done;
I have set up the SME gw with ip-adress 192.168.67.1 (as suggested by the setup) I have also turned on DHCP and am giving out adresses between 192.168.67.100-200

I have configured the wireless router with IP-adress 192.168.1.1. When I reboot the router, it gets an adress from the SMW GW, but I am still not able to connect to the GW or the internet, even if I have a live ping to the internet on the GW

Both the GW and the wireless router is using subnet mask 255.255.255.0

I will try your suggestions and report back ;)

thernes

Problems with SME and wireless network
« Reply #7 on: September 15, 2004, 11:34:45 PM »
This solution did the trick;

Quote
set IP if wireless to 192.168.1.2 (Assuming SME LAN address is 192.168.1.1)

Cable Modem --> SME --> Wireless LAN port (Not WAN)
Turn on DHCP Server on SME
turn off on Wireless

ALL wireless clients should be able to get access
to the internet and SME server.
(make sure you turn on wireless security!)

Offline meanpenguin

  • ****
  • 138
  • +0/-0
Problems with SME and wireless network
« Reply #8 on: September 16, 2004, 05:55:20 PM »
Quote

Small update;

I have, as you describe, discovered that I can not use the same ip-ranges/subnets for the SME GW and the wireless router, when I use the WAN port.

So this is what i have done;
I have set up the SME gw with ip-adress 192.168.67.1 (as suggested by the setup) I have also turned on DHCP and am giving out adresses between 192.168.67.100-200

I have configured the wireless router with IP-adress 192.168.1.1. When I reboot the router, it gets an adress from the SMW GW, but I am still not able to connect to the GW or the internet, even if I have a live ping to the internet on the GW

Both the GW and the wireless router is using subnet mask 255.255.255.0

I will try your suggestions and report back ;)


Forgot a step..  You would have to tell SME that the 192.168.1.xxx is an allowed local LAN trafic (In addition to the 192.168.97.xxx which is allowed by default).  There is a panel in the server-manager.

Ed

thernes

Problems with SME and wireless network
« Reply #9 on: September 16, 2004, 05:59:57 PM »
I haven't experienced any problems even if I left out this step.

martinhick

Problems with SME and wireless network
« Reply #10 on: September 18, 2004, 12:21:05 PM »
Have you got this working yet!

What make of access point are you using.

I have just installed a SysLink and it works perfectly.

I have an ADSL router connecting to the external lan card of the SME box. This router is set to give out DHCP (range 10.0.0.5 and up). The SME box is the only device receiving DHCP from the router.

My SME box with DHCP set (range 192.168.42.100-192.168-42.150) is connected to an 8 port switch serving my local boxes. I have a cable from my switch to the SysLink which has an address of 192.168.42.254.

I can see and use the SysLink from any where in the house with no problems.

My switch is cable self detecting meaning that I do not need to provide a cross over cable to connect to it.

Do you require a cross over to connect your SME box to you access point.

Martin

thernes

Problems with SME and wireless network
« Reply #11 on: September 18, 2004, 01:53:01 PM »
Yes, I got it working.

1. Connected the external netwokr (cable modem) to the first network card on the SME gateway
2. Connected a cable from the second network card to one of my wireless router's 4 lan ports (NOT the 1 WAN port that is on the wireless router)

Ip-setup

SME GW
Ip-adress 192.168.1.1
Subnet mask: 255.255.255.0
Dhcp-server is on
dhcp ip-range: 192.168.1.65 - 192.168.1.250

Wireless router
Manually set ip-adress: 192.168.1.2

That's about it. The wireless card on my computer now gets it's ip-adresses server from the dhcp-server on the gateway. I struggled a long time with different configurations, just to discover that I had the cable from the router in my WAN port when it should be in the LAN-port ;-)

Offline meanpenguin

  • ****
  • 138
  • +0/-0
Problems with SME and wireless network
« Reply #12 on: September 19, 2004, 09:41:08 AM »
Quote

I haven't experienced any problems even if I left out this step.


This was only if you were going to use the WAN port method.  Cable -> SME ->  (WAN) Wireless

You mentioned that it did not work.  

It would be because this step (Additional LAN) was skipped.

Ed