Koozali.org: home of the SME Server

Network Issue

Offline bala

  • 8
  • +0/-0
Network Issue
« on: December 05, 2016, 06:09:25 AM »
Running  SME Server 8.2.Recently we upgraded our Network and placed a new switch,configured VLANS.Currently sme server is in 192.168.1.x series,LAN users are in 192.168.2.x series,wifi users are in 192.168.0. series.Since the upgrade comminication between systems to sme server is not happening.When I tried to add,its throwing error.Need urgent help.

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Network Issue
« Reply #1 on: December 05, 2016, 09:49:17 AM »
hi there, welcome

which is the IP address of your GW?

please, be aware that SME8.X will be in EOL status in few months, so it's time to start planning upgrade to SME9

Offline bala

  • 8
  • +0/-0
Re: Network Issue
« Reply #2 on: December 05, 2016, 12:19:09 PM »
GW=192.168.1.1 for sme....

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Network Issue
« Reply #3 on: December 05, 2016, 12:22:17 PM »
are both SME and the GW in the same VLAN?

Offline bala

  • 8
  • +0/-0
Re: Network Issue
« Reply #4 on: December 05, 2016, 12:29:13 PM »
sme server IP is 192.168.1.42 and its gateway is 192.168.1.1

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Network Issue
« Reply #5 on: December 05, 2016, 12:32:27 PM »
well, this is the same subnet, you were talking about VLANS in your first post..

so, now, we know that SME and its GW are in the same subnet.. are them in the same VLAN too (if applicable)?

please, be "verbose", remembering that no one can see what you see nor know anything about your setup

thank you

Offline bala

  • 8
  • +0/-0
Re: Network Issue
« Reply #6 on: December 05, 2016, 12:42:26 PM »
Code: [Select]
VLAN1- 192.168.1.1 - servers
VLAN2- 192.168.2.1 - LAN  users
VLAN3- 192.168.0.1 - Wifi users.
No communication to sme server happening for LAN and Wifi users.How to rectify sme settings and what to do with that error I sent as attachment.

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Network Issue
« Reply #7 on: December 05, 2016, 12:50:20 PM »
VLAN1- 192.168.1.1 - servers
VLAN2- 192.168.2.1 - LAN  users
VLAN3- 192.168.0.1 - Wifi users

these are subnets.. can you give us their subnet masks?

can you give more details about your environment? are VLANS (cfr https://en.wikipedia.org/wiki/Virtual_LAN) used in your lan? if so, are SME and its GW in the same VLAN? did you enable interouting among VLANS?
are you able to ping the GW from another client in the same SME's subnet?

Quote
No communication to sme server happening for LAN and Wifi users.How to rectify sme settings and what to do with that error I sent as attachment.

we already know your issue, we don't know anything else.. without info, the only suggestion I can give you is to reset your lan exaclty as it was in the past.

Offline bala

  • 8
  • +0/-0
Re: Network Issue
« Reply #8 on: December 05, 2016, 01:45:06 PM »
sme and GW is in the same VLAN
Inter routing is enabled in VLANs
ping is working to the GW from another client.
We can access(RDP,SSH,PING) any server from LAN and Wifi.

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Network Issue
« Reply #9 on: December 05, 2016, 02:24:26 PM »
ok..

did you try to reboot SME? did you change anything else? was the GW's IP the same?

Offline Jean-Philippe Pialasse

  • *
  • 2,745
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Network Issue
« Reply #10 on: December 05, 2016, 06:04:02 PM »
SME is designed to only communicate with its own local subnetwork .

this mean by default, you SME will only allow SSH, samba access and most mail access and most services on 192.168.0.1/255.255.255.0 . Only exception could be for http not pointing to server-manager,

all requests from 192.168.1.1/255.255.255.0  and 192.168.2.1/255.255.255.0 will hence be rejected untill you go to your server manager and add in local network these two networks.


However I question the purpose of separating into 3 different networks. Do they all need to have the same acces ?
- if yes there is no point in creating vlans. You should have only extend your subnet 192.168.0.1/255.255.255.0  to 192.168.0.1/255.255.0.0 
- If no, then you might not want to add these networks to local truted network of SME....

JP

PS: it is time to move to SME9

Offline bala

  • 8
  • +0/-0
Re: Network Issue
« Reply #11 on: December 06, 2016, 05:57:37 AM »
JP,

When I am trying to add other 2 n/w s to the network option in sme ,its showing error,Is there any other way to add these..


Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Network Issue
« Reply #12 on: December 06, 2016, 03:05:38 PM »
When I am trying to add other 2 n/w s to the network option in sme ,its showing error,Is there any other way to add these..

You need to read and understand the error message, and fix whatever is wrong. What exactly is the error which is "showing"?

Offline bala

  • 8
  • +0/-0
Re: Network Issue
« Reply #13 on: December 07, 2016, 06:33:49 AM »
Cannot contact router

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Network Issue
« Reply #14 on: December 07, 2016, 08:50:19 AM »
Please, tell us exactly what network you're trying to add. Your SME Server (most likely in serveronly mode) has IP 192.168.1.42. I guess its netmask is 255.255.255.0, and its default gateway is 192.168.1.1. Now, you try to add which network, with which netmask, and which gateway ? From the error you've posted, it looks like you have not used a gateway that SME can't reach (outside of the 192.168.1.0/24 network)
C'est la fin du monde !!! :lol:

Offline bala

  • 8
  • +0/-0
Re: Network Issue
« Reply #15 on: December 07, 2016, 08:58:47 AM »
==========================
Network-192.168.0.0
Netmask-255.255.255.0
Router-192.168.0.1
==========================
Network-192.168.2.0
Netmask-255.255.255.0
Router-192.168.2.1
==========================
Tried to add this,Though it might work.
It doesn't.


Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Network Issue
« Reply #16 on: December 07, 2016, 09:01:56 AM »
No, it can't work with these settings. The gateway to reach those networks must be in the 192.168.1.0/24 network for SME to be able to reach it. So, in the 192.168.1.0/24 network, which one is the router able to reach 192.168.0.0/24 and 192.168.2.0/24 ?
C'est la fin du monde !!! :lol:

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Network Issue
« Reply #17 on: December 08, 2016, 06:47:38 AM »
Cannot contact router

That's not what it says. It says "router address is not accessible from the local network". See Daniel's answer, and then some basic documentation on IP network routing. See, for example:

https://en.wikipedia.org/wiki/Hop_(networking)#Next_hop_forwarding