Question about setting up VLANS

Ctrackstar126

Senior member
Jul 14, 2005
988
0
76
Ok in class we set up a lab with two switches and a router with two hosts per switch.
We created a VLAN 2(ports 8-12) and a VLAN 3(ports 13-18).
I noticed as you assigned ports to a VLAN that it took it away from the other VLAN.

So my question is what if someone in VLAN2 was allowed to have access to VLAN3 as well or even other VLANs if needed.

I know you can do this with access lists, but its just curiosity about the VLAN portion
 

Pheran

Diamond Member
Apr 26, 2001
5,740
35
91
Originally posted by: Ctrackstar126
Ok in class we set up a lab with two switches and a router with two hosts per switch.
We created a VLAN 2(ports 8-12) and a VLAN 3(ports 13-18).
I noticed as you assigned ports to a VLAN that it took it away from the other VLAN.

So my question is what if someone in VLAN2 was allowed to have access to VLAN3 as well or even other VLANs if needed.

I know you can do this with access lists, but its just curiosity about the VLAN portion
I'm afraid that your question is not well-formed. What do you mean by access?
I suspect that you do not yet understand the difference between layer 2 and layer 3.
Meditate upon this, grasshopper. :)
 

Ctrackstar126

Senior member
Jul 14, 2005
988
0
76
Originally posted by: Pheran
Originally posted by: Ctrackstar126
Ok in class we set up a lab with two switches and a router with two hosts per switch.
We created a VLAN 2(ports 8-12) and a VLAN 3(ports 13-18).
I noticed as you assigned ports to a VLAN that it took it away from the other VLAN.

So my question is what if someone in VLAN2 was allowed to have access to VLAN3 as well or even other VLANs if needed.

I know you can do this with access lists, but its just curiosity about the VLAN portion
I'm afraid that your question is not well-formed. What do you mean by access?
I suspect that you do not yet understand the difference between layer 2 and layer 3.
Meditate upon this, grasshopper. :)


I understand the difference.
What im wondering is i understand the poing of VLANs is to make well veritual lans. I was wondering if you could set it up so a user on VLAN2 could have access to other VLANs.
I figured you could do this with Access Lists. I want to know if it can be configured this way or do you have to do it another way.
 

Ctrackstar126

Senior member
Jul 14, 2005
988
0
76
I had a router. I dont need to actually do it now I am curious on to how it would be done. Its just a curiosity of mine

Not actuall commands or anything just what is needed for it to be done
 

Ctrackstar126

Senior member
Jul 14, 2005
988
0
76
Ok from what I gathered a way to do it would be to set up a third VLAN and put the person on that to be able to communicate with the two VLANs so that the other two VLANs still cant see each other but the third VLAN can see both
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
Originally posted by: spidey07
google "router on @ stick"

pound the OSI model into your he@d. then pound somemore. then pound @g@in.

l@n = bc@st dom@in

Vl@n = bc@st dom@in

need router, must h@ve router. no router = no t@lkie t@lkie. none.
 

Ctrackstar126

Senior member
Jul 14, 2005
988
0
76
http://www.networknewz.com/networknewz-10-20051207RouteronaStick.html

Thats the link I read. It talks about a router. I never said that you wouldnt use a router. I might be wording the questions wrong I guess. What im asking is we set up the VLANs so that VLAN2 on switch 1 can communicate with VLAN2 on switch 2(router also)
and also the same with VLAN3 on switch 1 and 2(with router)

So VLAN2 can ping VLAN2 but I was wondering what if there was an exception. Someone is allowed access to VLAN2 and VLAN3.
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
@s long @s you're routing between the l@yer2 network (vl@n) you're @ll set.

just depends on wht VL@N you're on.
 

Ctrackstar126

Senior member
Jul 14, 2005
988
0
76
yea thats what im getting at. I mean im sure u can use access lists and i dont know why it came to mind but i figured if u had a situation like.
u have finance on vlan2 and lets say human resources(these are just examples) on vlan3.
Lets say the managers are allowed access to both vlans but the workers are not allowed access to both vlans.
From what I gathered from the search term you showed me i found this link:
http://www.networknewz.com/networknewz-10-20051207RouteronaStick.html

And i came up with the conclusion that you would set up a vlan4 and set it up so it can access the other vlans. Or is that not it?

I know there are other ways of doing it but im asking in the context of VLANs