Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: elno16 on February 04, 2011, 10:00:09 AM

Title: VLAN?
Post by: elno16 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



Title: Re: VLAN?
Post by: johnp 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?
Title: Re: VLAN?
Post by: CharlieBrady 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.
Title: Re: VLAN?
Post by: johnp 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 :)
Title: Re: VLAN?
Post by: Franco 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.

Title: Re: VLAN?
Post by: johnp 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.

Title: Re: VLAN?
Post by: CharlieBrady 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?
Title: Re: VLAN?
Post by: elno16 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.
Title: Re: VLAN?
Post by: CharlieBrady 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.
Title: Re: VLAN?
Post by: johnp 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.
Title: Re: VLAN?
Post by: lanfeu2000 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
Title: Re: VLAN?
Post by: Buckwheat 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
Title: Re: VLAN?
Post by: johnp 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.
Title: Re: VLAN?
Post by: Stefano 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
Title: Re: VLAN?
Post by: lanfeu2000 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


Title: Re: VLAN?
Post by: mmccarn 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)

Title: Re: VLAN?
Post by: jester 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 (http://bugs.contribs.org/show_bug.cgi?id=6749#c7).

For now the following page describes should get you going: Releasing Contribs (http://wiki.contribs.org/Releasing_Contribs).


Welcome and a big thanx!
Title: Re: VLAN?
Post by: Buckwheat on October 08, 2011, 10:06:27 PM

Found answer to own question.