Hi all,<\/p>\n
Wonder if anyone could help me with this. I have to vlan configured: 192.168.2.x and 192.168.1.x, both have dhcp server, sharing the same internet connection. There are 2 server in network 192.168.2.x that I want the guys from 192.168.1.x to access. Problem is that I want to keep them separately. How can I solve this ?<\/p>\n
regards,<\/p>\n
Tiago Felizol<\/p>","upvoteCount":4,"answerCount":16,"datePublished":"2011-01-10T05:28:14.000Z","author":{"@type":"Person","name":"tiagofelizol2","url":"https://community.spiceworks.com/u/tiagofelizol2"},"acceptedAnswer":{"@type":"Answer","text":"
When you say you “want to keep the separately”, you mean you don’t want your machines from 192.168.1.x to able to see the 192.168.2.x machines?<\/p>\n
Then I’m going with Vee.Hexx, static routes could solve your issue.<\/p>\n
Try configure a static route at one machine at 192.168.2.x to see the server at 192.168.1.x (let’s suppose here 192.168.1.1) trought your router.<\/p>\n
Let’s assume your router is 192.168.3.1:<\/p>\n
route add 192.168.1.1 192.168.3.1<\/p>\n
/ /<\/p>\n
(route add SERVER ROUTER)<\/p>","upvoteCount":0,"datePublished":"2011-01-10T08:35:19.000Z","url":"https://community.spiceworks.com/t/vlan-configuration/74248/5","author":{"@type":"Person","name":"lucasbackes","url":"https://community.spiceworks.com/u/lucasbackes"}},"suggestedAnswer":[{"@type":"Answer","text":"
Hi all,<\/p>\n
Wonder if anyone could help me with this. I have to vlan configured: 192.168.2.x and 192.168.1.x, both have dhcp server, sharing the same internet connection. There are 2 server in network 192.168.2.x that I want the guys from 192.168.1.x to access. Problem is that I want to keep them separately. How can I solve this ?<\/p>\n
regards,<\/p>\n
Tiago Felizol<\/p>","upvoteCount":4,"datePublished":"2011-01-10T05:28:14.000Z","url":"https://community.spiceworks.com/t/vlan-configuration/74248/1","author":{"@type":"Person","name":"tiagofelizol2","url":"https://community.spiceworks.com/u/tiagofelizol2"}},{"@type":"Answer","text":"
i’m taking an educated guess here -<\/p>\n
you’ll want to configure your router/firewall to allow traffic between those 2 vlans/networks.<\/p>\n
i was going to sugest a 255.255.254.0 subnet, but you want to keep them seperate.<\/p>\n
static routes maybe an alternative, but i have no experience with them so i dont fully understand how they work.<\/p>","upvoteCount":0,"datePublished":"2011-01-10T05:42:57.000Z","url":"https://community.spiceworks.com/t/vlan-configuration/74248/2","author":{"@type":"Person","name":"timd5286","url":"https://community.spiceworks.com/u/timd5286"}},{"@type":"Answer","text":"
Could you provide a little more information as to how you want to keep them (I’m assuming the two servers) seperate?<\/p>","upvoteCount":0,"datePublished":"2011-01-10T06:06:07.000Z","url":"https://community.spiceworks.com/t/vlan-configuration/74248/3","author":{"@type":"Person","name":"jon8719","url":"https://community.spiceworks.com/u/jon8719"}},{"@type":"Answer","text":"
Have a firewall that allows each to get to the internet, but have ACL’s in place where they can not talk to eachother.<\/p>","upvoteCount":0,"datePublished":"2011-01-10T06:52:49.000Z","url":"https://community.spiceworks.com/t/vlan-configuration/74248/4","author":{"@type":"Person","name":"Rivitir","url":"https://community.spiceworks.com/u/Rivitir"}},{"@type":"Answer","text":"
And, forgot to say, deppending on which switch you’re using for your vlans, you can configure a route between those vlans just for the ports you want to be visible for the other vlan.<\/p>","upvoteCount":0,"datePublished":"2011-01-10T08:37:57.000Z","url":"https://community.spiceworks.com/t/vlan-configuration/74248/6","author":{"@type":"Person","name":"lucasbackes","url":"https://community.spiceworks.com/u/lucasbackes"}},{"@type":"Answer","text":"
You will need to allow the traffic between the two vlans. You can set it up so only the servers can talk to the other vlan and only on the required ports. It is just a matter of adding another ACL to the router and placing it before the one that denies traffic.<\/p>\n
Allow traffic from the server IP on the required port to the vlan2.<\/p>\n
you will also have to configure the traffic from vlan2 to the server on vlan1.<\/p>","upvoteCount":0,"datePublished":"2011-01-10T08:38:19.000Z","url":"https://community.spiceworks.com/t/vlan-configuration/74248/7","author":{"@type":"Person","name":"manclncjj","url":"https://community.spiceworks.com/u/manclncjj"}},{"@type":"Answer","text":"
The simplest might be to create a new subnet 192.168.3.x and move the servers there, then allow both 192.168.1.x and 192.168.2.x clients<\/p>\n
Your other option is adding routs for the 192.168.2.x clients to the specific IP on the other subnet.<\/p>","upvoteCount":0,"datePublished":"2011-01-10T09:17:20.000Z","url":"https://community.spiceworks.com/t/vlan-configuration/74248/8","author":{"@type":"Person","name":"tim7139","url":"https://community.spiceworks.com/u/tim7139"}},{"@type":"Answer","text":"
There are several options. I do not thing adding a route to the servers will help without routing between the networks, at some point each network has to know about the other and without some routing between them, they will not communicate.<\/p>\n
It the network card supports VLANS than adding a second ip address to the card and allowing multiple VLANS on the port to the server, would helps solve the problem.<\/p>\n
Another solution is to use a second NIC on the servers and configure it for the other network.<\/p>","upvoteCount":0,"datePublished":"2011-01-10T11:17:45.000Z","url":"https://community.spiceworks.com/t/vlan-configuration/74248/9","author":{"@type":"Person","name":"tim37816417","url":"https://community.spiceworks.com/u/tim37816417"}},{"@type":"Answer","text":"
If this is a cisco IOS router, research the “Router on a stick” configuration.<\/p>\n
If it’s a “home” type router, look about adding static routes to router.<\/p>\n
Host based routing can get very messy very quick.<\/p>\n
I think the final route table would look something like this:<\/p>\n
0.0.0.0 0.0.0.0 X.X.X.X (x = ISP addy, default gateway)<\/p>\n
192.168.1.0 255.255.255.0 192.168.1.1<\/p>\n
192.168.2.0 255.255.255.0 192.168.2.1<\/p>\n
-HTH<\/p>","upvoteCount":0,"datePublished":"2011-01-10T14:36:48.000Z","url":"https://community.spiceworks.com/t/vlan-configuration/74248/10","author":{"@type":"Person","name":"jeffsharp8377","url":"https://community.spiceworks.com/u/jeffsharp8377"}},{"@type":"Answer","text":"
Jeff5521 wrote:<\/p>\n
\n192.168.1.0 255.255.255.0 192.168.1.1<\/p>\n
192.168.2.0 255.255.255.0 192.168.2.1<\/p>\n<\/blockquote>\n
just so i understand that;<\/p>\n
you add those lines into a cisco router.<\/p>\n
192.168.1.0 = network<\/p>\n
255.255… = subnet<\/p>\n
192.168.1.1 = router?<\/p>\n
ie: if devices behind cisco router wants to speak with the 192.168.1.0 range, then it is todo so via the 192.168.1.1 device?<\/p>\n
lets say you have a multi-segment network; 192.168.1.0, 2.0, 3.0. they are chained together in a serial method, so 1.0 is not directed connected to 3.0 network.<\/p>\n
i’d have to add a static route on both 1.1 router and 2.1 router (and the same for the return journey), for 1.0 network to speak with 3.0 network? sounds alot simplier than I thought!<\/p>","upvoteCount":0,"datePublished":"2011-01-11T03:01:13.000Z","url":"https://community.spiceworks.com/t/vlan-configuration/74248/11","author":{"@type":"Person","name":"timd5286","url":"https://community.spiceworks.com/u/timd5286"}},{"@type":"Answer","text":"
You are on the right track. Routers automatically know about all routes they are “connected” to.<\/p>\n
you would add the routes to the “default gateway”.<\/p>\n
Look at a router like a traffic cop directing traffic. In order to make a left turn you have to get the go ahead from the traffic cop in the intersection.<\/p>\n
all devices with the same NETWORK number can communicate by way of braodcasting across the same physical switch. If they want to communicate with another network, we have to give them the roadmap, in other words the IP address of the router that knows about the remote network.<\/p>\n