Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Planet of Valns- 2010 1

Status
Not open for further replies.

Blackcode7475

Programmer
Dec 28, 2005
14
SY
Hello...

am all new in the Vlan planet (to me at least),in the past few days i have read alot about them, and trying on a small setup of switches, may be my concernes were answered somewhere in this forum, i read most of the vlan related posts, but i would like you experts to take a look at mine too>

what setup a have?

1- Hp procurve 5406zl
2- Hp procurve 2626 switch
3- Hp procurve 2626 switch
4- client Pc1
5- client Pc2

what i have in minde?

i want to put each client Pc in a diferent Vlan, dont allow them to see each other, but they should see the DC+DNS which are on the default_Vlan

i thought of two scenarios :

1- from each 2626 swithc on port 25 a cable to an interface on 5406zl, and on port 26 a cable to an interface on 5406zl.

2- from each 2626 switch on port 25 or 26 a cable to an interface on 5406zl.

which of the previous scenarios are correct, if they are both correct which one is the best, and why ( cons + pros).

what I did so far (I hope its not too long for you)?

lets start with the first scenario -

below is the config of the first 2626 SW

; J4900B Configuration Editor; Created on release #H.10.50

hostname "Denver"
ip default-gateway 192.168.150.2
ip routing
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 9-24,26
ip address 192.168.150.254 255.255.255.0
no untagged 1-8,25
exit
vlan 2
name "A"
untagged 1-8,25
ip address 192.168.155.254 255.255.255.0
exit
spanning-tree

below is the config of the second 2626 SW

; J4900B Configuration Editor; Created on release #H.10.50

hostname "london"
ip default-gateway 192.168.166.2
ip routing
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 9-24,26
ip address 192.168.166.254 255.255.255.0
no untagged 1-8,25
exit
vlan 2
name "A"
untagged 1-8,25
exit

is it correct so far??

now the config for th 5406zl

; J8697A Configuration Editor; Created on release #K.12.57

hostname "CORE_Prime_SW"

module 1 type J8706A
interface A1
name "a"
exit
interface A2
name "b"
exit
interface A3
name "c"
exit
interface A4
name "d"
exit
interface A5
name "e"
lacp Passive
exit
interface A6
name "f"
exit
interface A7
name "g"
flow-control
exit
interface A8
name "h"
exit
interface A9
name "i"
exit
interface A13
name "test8 +"
exit
trunk A11-A12 Trk19 LACP
ip routing
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
forbid A5,A13
untagged A10,A14-A24,Trk19
ip address dhcp-bootp
no untagged A1-A9,A13
ip igmp
exit
vlan 77
name "Management"
ip address 192.168.77.2 255.255.255.0
ip igmp
exit
vlan 200
name "tests-0"
untagged A7
ip address 192.168.200.2 255.255.255.0
ip igmp
exit
vlan 222
name "test11"
untagged A1
ip address 192.168.222.2 255.255.255.0
ip igmp
exit
vlan 133
name "test33"
untagged A6
ip address 192.168.133.2 255.255.255.0
ip igmp
exit
vlan 166
name "test4"
untagged A2
ip address 192.168.166.2 255.255.255.0
ip igmp
exit
vlan 156
name "test5"
untagged A3
ip address 192.168.156.2 255.255.255.0
ip igmp
exit
vlan 150
name "test8"
forbid A13
untagged A5
ip address 192.168.150.2 255.255.255.0
ip igmp
exit
vlan 199
name "tests99"
untagged A4
ip address 192.168.99.2 255.255.255.0
ip igmp
exit
vlan 112
name "test12"
untagged A8
ip address 192.168.112.2 255.255.255.0
ip igmp
exit
vlan 28
name "test28"
untagged A9
ip address 172.28.0.1 255.255.0.0
ip igmp
exit
vlan 155
name "test8+"
forbid A5
untagged A13
ip address 192.168.155.2 255.255.255.0
exit

ip route 0.0.0.0 0.0.0.0 172.28.1.1
spanning-tree Trk19 priority 4

this config is not working in the need way, plz help,there is something but ????

thank u very much for your time
 
I think I can see what you're trying to do.

The first thing is you have no IP address for VLAN 2 on your 2nd 2626.

Also, you have IP addresses in two different subnets on your VLAN1 interfaces on the two 2626s - I can't see how that's going to work.

The thing I wouldn't do is call both VLANs VLAN 2 - if they are on different subnets, give them different VLAN names.

More generally, I think your approach is wrong. This isn't really how VLANs are normally used.
You may encounter a situation at some stage where this approach might be useful, but as an introduction to VLANning, you should not start with this sort of thing.

The way to create three networks on shared physical infrastructure is to have 1 routing switch ("core") routing between your VLANs, with VLANs trunked/"tagged" on links to your "edge" switches.
The way to control access between VLANs is to use access lists on your "core" switch.
 
Man what a relief, thank you for replying, please bare with me,Ill try your kind sugesstions, and let you know if u dont mind.

thank you very much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top