Page 1 of 1

Vlan networks and internet

Posted: Mon Jun 03, 2013 3:48 pm
by kadmos
Hello. There is an existing network based on several access points and unmanaged switch. All i want to do is create another network 192.168.2.1/24 use a mikrotik switch and connect it to adsl modem . But i want to have vlan support i want something like network 1 192.168.2.1/24 with two ports 1-2 and a third port 3 that is the dsl modem at 192.168.1.1/24 . i want it somehow to have different dhcp at these two. How can i do this?

Re: Vlan networks and internet

Posted: Mon Jun 03, 2013 4:37 pm
by netzwerghh
Are you shure you have a mikrotik switch? Isn't it a router? Which model is ist?
You should be able to put your ADSL-Network on one port and aggragate the other ports to form a normal switch serving the internal network.

Try search the wiki (http://wiki.mikrotik.com/wiki/Main_Page) for this. It has _lots_ of example configurations that help a lot!

Re: Vlan networks and internet

Posted: Mon Jun 03, 2013 4:44 pm
by kadmos
Are you shure you have a mikrotik switch? Isn't it a router? Which model is ist?
You should be able to put your ADSL-Network on one port and aggragate the other ports to form a normal switch serving the internal network.

Try search the wiki (http://wiki.mikrotik.com/wiki/Main_Page) for this. It has _lots_ of example configurations that help a lot!
I am a bit confused.

Currently there is no Mikrotik device.
I am looking what to buy. So Currently there is a adsl modem at this subnet 192.168.1.1/24 .
I want to create a new network at 192.168.2.1/24 that should be isolated from 192.168.1.1/24 .
But i want both networks to share internet.
Like devices from 192.168.2.1/24 cant see 192.168.1.1/24 and vice versa.
But i want both to get internet from 192.168.1.1 modem/router.

What equipment do i need for this? rb750gl maybe ?

Re: Vlan networks and internet

Posted: Tue Jun 04, 2013 1:47 pm
by gotsprings
You will need to do some work with firewall rules... but a 750GL and some changes on your Modem can do it.

Re: Vlan networks and internet

Posted: Tue Jun 04, 2013 7:50 pm
by kadmos
currently modem is a router too and it is nating.
RB750 would work or not ? Or i need RB75GL.
Also firewall is the solution to my problem ?

Re: Vlan networks and internet

Posted: Thu Jun 06, 2013 9:47 am
by alexandria
currently modem is a router too and it is nating.
RB750 would work or not ? Or i need RB75GL.
Also firewall is the solution to my problem ?

Have you tried configuring Mikrotik Router before? if not. Go to /IP DHCP Client (wait until you get an IP), then create a DHCP Server with the IP range/pool that you want.

Then open Firewall/NAT
Add Chain: srcnat
Out Interface: (select the port where your WAN is connected)
Action:masquerade