Koozali.org: home of the SME Server

VLAN?

Offline elno16

  • *
  • 11
  • +0/-0
VLAN?
« on: February 04, 2011, 10:00:09 AM »
   

   hello to all SME users...
 
   my VLAN's
   192.168.2.0/24 vlan 2
   192.168.3.0/24 vlan 3
   192.168.4.0/24 vlan 4


   I have a problem with my e-mail sme 7 server.... my network is connected in vlan.  my VLAN's  already has private lan 192.168.2.0/24 192.168.3.0/24 192.168.4.0/24.  when i open my browser to change my account password in vlan 2...i change my password everynow and then....but in vlan 3 and vlan 4....the display is Cannot Connect to Server..... :-( ...  pls help how to fix this problem.....

   God bless




Offline johnp

  • *****
  • 312
  • +0/-0
Re: VLAN?
« Reply #1 on: February 05, 2011, 12:15:48 AM »
Is there inter vlan routing currently? If so have you added the other networks as local networks?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: VLAN?
« Reply #2 on: February 05, 2011, 01:06:57 AM »
SME server does not support vlans. Any issues with vlan concern configuration of other equpiment in your network - e.g. switches and routers, or, as has been mentioned, the 'local networks' list in the SME server server-manager.

Offline johnp

  • *****
  • 312
  • +0/-0
Re: VLAN?
« Reply #3 on: February 05, 2011, 05:56:03 AM »
Quote
SME server does not support vlans.

I disagree with your statement. With proper configuration, sme does support vlans. What it doesn't support is multiple sub interfaces whether tagged or not on ethernet interfaces.

As long as there is some layer 3 device behind the sme, and adding them as local networks vlans are supported. I would think if setup in it's own vlan, acl lists could control security between vlans while still allowing the share of a sme.

I guess we may just disagree about the word support :)

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: VLAN?
« Reply #4 on: February 05, 2011, 01:38:06 PM »
Hi Johnp,
Please post the results of the command ifconfig.

Quote
What it doesn't support is multiple sub interfaces whether tagged or not on ethernet interfaces.
This is what a VLAN is.
The word support coming from Charlie means you won't get any help from the Devs configuring this.


Offline johnp

  • *****
  • 312
  • +0/-0
Re: VLAN?
« Reply #5 on: February 05, 2011, 03:19:13 PM »
After a night rest, I suppose I should correct myself. I believe the base operating system does support multiple sub interfaces.  :lol:

Now more on topic, I think what the OP is trying to do is share sme resources within his multiple vlan environment. If this is the case, both of my original questions need to be affirmative.


Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: VLAN?
« Reply #6 on: February 05, 2011, 04:05:45 PM »
After a night rest, I suppose I should correct myself. I believe the base operating system does support multiple sub interfaces.  :lol:

The base OS does indeed. But SME server provides no facilities for configuring any vlan tagged interfaces.

Quote
Now more on topic, I think what the OP is trying to do is share sme resources within his multiple vlan environment. If this is the case, both of my original questions need to be affirmative.

Indeed - those are the questions which need to be answered. I'll repeat them:

Quote
Is there inter vlan routing currently? If so have you added the other networks as local networks?

Offline elno16

  • *
  • 11
  • +0/-0
Re: VLAN?
« Reply #7 on: February 07, 2011, 03:02:37 PM »
I dont know the route command in my vlan. please send an information or solution how to solve my problem in vlan.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: VLAN?
« Reply #8 on: February 07, 2011, 03:33:14 PM »
I dont know the route command in my vlan. please send an information or solution how to solve my problem in vlan.

You are asking in the wrong forum. You need to consult the documentation of whatever you have in your network which is routing between vlans - perhaps you have a router. SME server does not route between vlans.

Offline johnp

  • *****
  • 312
  • +0/-0
Re: VLAN?
« Reply #9 on: February 08, 2011, 12:47:59 AM »
Some higher end vlan capable switches provide the layer 3 routing functionality, others require an external routing device. You may want to open a topic in the general question forum and describe the make and model of your current equipment.

You won't be able to add the networks to the local network pages ubtil you know the ip address of the device that can communicate with the others. Generally speaking this usually would be the gateway for the network.

Offline lanfeu2000

  • 2
  • +0/-0
Re: VLAN?
« Reply #10 on: September 15, 2011, 08:14:04 PM »
hi elno16
Quote
But SME server provides no facilities for configuring any vlan tagged interfaces

i create a rpm for sme to manage vlan with sme server, if you want i can provid it to you

Offline Buckwheat

  • *
  • 16
  • +0/-0
Re: VLAN?
« Reply #11 on: September 15, 2011, 10:53:04 PM »
hi elno16
i create a rpm for sme to manage vlan with sme server, if you want i can provid it to you

I would like the RPM, can provide an upload link if needed.

Thanks in advance.....BW

Offline johnp

  • *****
  • 312
  • +0/-0
Re: VLAN?
« Reply #12 on: September 16, 2011, 02:22:57 PM »
@lanfeu2000

I'd like to take a look at what this does too. On a test machine of course :)

Please provide info on where to get it.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: VLAN?
« Reply #13 on: September 16, 2011, 02:42:01 PM »
hi elno16
i create a rpm for sme to manage vlan with sme server, if you want i can provid it to you


please go to bugzilla, open a NFR and add your code/rpm  and join the devs' ML to share it, thank you

Offline lanfeu2000

  • 2
  • +0/-0
Re: VLAN?
« Reply #14 on: September 30, 2011, 08:53:56 PM »
Quote
please go to bugzilla, open a NFR and add your code/rpm  and join the devs' ML to share it, thank you

ok

i will try to do it

for now you you can download the rpm and rpms here

http://jolishare.com/ulxLMKszJQ



Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: VLAN?
« Reply #15 on: October 01, 2011, 01:31:20 PM »
I dont know the route command in my vlan. please send an information or solution how to solve my problem in vlan.

You need to use the 'Local networks' panel in the SME server-manager to add the 2nd and 3rd VLANs, specifying as the gateway an IP address on the SME network.

That is, you need to add a 'local network' for vlan3 with a gateway of 192.168.2.? (possibly your existing default gateway), and likewise for vlan 4.

If everything works except login to server-manager (that is, if you can 'ping' your SME server from vlan3 and vlan4, and if you can 'ping' vlan3 and vlan4 systems from your SME), you could also use an ssh tunnel or VPN from vlan3 and vlan4 (or from anywhere else on the planet) to manage your SME.  This would give you server-manager access from the other vlans without exposing the other SME "Local Network" services (SMB ibays, unencrypted SMTP relay, unencrypted POP3, unencrypted IMAP, etc)


Offline jester

  • *
  • 496
  • +1/-0
Re: VLAN?
« Reply #16 on: October 06, 2011, 08:27:10 PM »
i will try to do it

Hi lanfeu2000!

Great that you've created a contrib for this!!

Contrib creators are encouraged to use SME's CVS system so their work gets some peer review and some level of verification for the end user. We are currently discussing documenting & trying to make it even easier for contrib developers to get CVS access and use the buildsystem, see: bug #6749.

For now the following page describes should get you going: Releasing Contribs.


Welcome and a big thanx!

Offline Buckwheat

  • *
  • 16
  • +0/-0
Re: VLAN?
« Reply #17 on: October 08, 2011, 10:06:27 PM »

Found answer to own question.
« Last Edit: October 08, 2011, 10:10:30 PM by Buckwheat »