Switches, Hubs, and Modems
1753756 Members
4798 Online
108799 Solutions
New Discussion юеВ

Re: VLAN configuration on 2510 and routing through Cisco 1841

 
Shadow13
Respected Contributor

Re: VLAN configuration on 2510 and routing through Cisco 1841

Stacking in HP is not to combine the switch as 1 switch, it's only used to manage the switched through 1 IP address, but to configure them you need to configure each 1 seperatly
eash
Advisor

Re: VLAN configuration on 2510 and routing through Cisco 1841

Hi Shadow,

Thanks for the reply.

The customer VLAN's are from 1 to 5 they dont want to change the VLAN number. So I thaought with stacking I will be able so see all the ports of the stack.

Anyway to do that.
Shadow13
Respected Contributor

Re: VLAN configuration on 2510 and routing through Cisco 1841

configure the same vlans on the other switches and tagged the upling ports between the switches in these vlans except vlan 1 which should be untagged, then untag the ports of the clients in the vlan where you want to assign to them
eash
Advisor

Re: VLAN configuration on 2510 and routing through Cisco 1841

Hi Shadow,

I tried and it did not work. Only the systems connected to the the first switch worked and were able to get the IP address from the the DHCP server which is configured on the router
The systems on the second and third switch were not getting connected please find below the configuration of the 3 switches and the router. The router is connected to the BB modem.
One other problem although the system on the first switch is getting the IP address but it is not able to reach the internet.

Please find the config of the three switches and the router.

Running configuration:

; J9019B Configuration Editor; Created on release #Q.11.17

hostname "switch-1"
ip default-gateway 192.168.0.202
snmp-server community "public" Unrestricted
vlan 1
name "MMGT"
untagged 25-26
ip address 192.168.0.201 255.255.255.248
no untagged 1-24
exit
vlan 2
name "VLAN2"
untagged 1-8
tagged 25-26
exit
vlan 5
name "VLAN5"
untagged 21-24
tagged 25-26
exit
vlan 6
name "VLAN6"
untagged 9-20
tagged 25-26
exit
stack commander "xyz"
stack auto-grab
stack member 1 mac-address 0026f15f9340
stack member 2 mac-address 0026f15f1b00

switch-1#

hostname "switch-2"
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
no ip address
tagged 25-26
no untagged 1-24
exit
vlan 3
name "VLAN3"
untagged 3-14
tagged 25-26
exit
vlan 4
name "VLAN4"
untagged 15-23
tagged 25-26
exit
vlan 5
name "VLAN5"
untagged 1-2
tagged 25-26
exit
vlan 6
name "VLAN6"
untagged 24
tagged 25-26
exit
stack join 0026f15d6aa0

switch-2#
hostname "switch-2"
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
no ip address
tagged 25-26
no untagged 1-24
exit
vlan 3
name "VLAN3"
untagged 3-14
tagged 25-26
exit
vlan 4
name "VLAN4"
untagged 15-23
tagged 25-26
exit
vlan 5
name "VLAN5"
untagged 1-2
tagged 25-26
exit
vlan 6
name "VLAN6"
untagged 24
tagged 25-26
exit
stack join 0026f15d6aa0

switch-2#

Running configuration:

; J9019B Configuration Editor; Created on release #Q.11.17

hostname "switch-3"
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 18-24,26
no ip address
tagged 25
no untagged 1-17
exit
vlan 2
name "VLAN2"
untagged 7-17
tagged 25
exit
vlan 5
name "VLAN5"
untagged 1-6
tagged 25
exit
stack join 0026f15d6aa0

switch-3#

sh run
Building configuration...

Current configuration : 2420 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zeroip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.0.19 192.168.0.21
ip dhcp excluded-address 192.168.0.83
ip dhcp excluded-address 192.168.0.144
ip dhcp excluded-address 192.168.0.63
!
ip dhcp pool VLAN2
network 192.168.0.0 255.255.255.224
default-router 192.168.0.1
dns-server 202.148.202.3
lease 2
!
ip dhcp pool VLAN3
network 192.168.0.32 255.255.255.224
default-router 192.168.0.33
dns-server 202.148.202.3
lease 2
!
ip dhcp pool VLAN4
network 192.168.0.64 255.255.255.224
default-router 192.168.0.65
dns-server 202.148.202.3
lease 2
!
ip dhcp pool VLAN5
network 192.168.0.96 255.255.255.224
default-router 192.168.0.97
dns-server 202.148.202.3
lease 2
!
ip dhcp pool VLAN6
network 192.168.0.128 255.255.255.224
default-router 192.168.0.129
dns-server 202.148.202.3
lease 2
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.1
description MMGNT-VLAN 1
encapsulation dot1Q 1 native
ip address 192.168.0.202 255.255.255.248
no snmp trap link-status
!
interface FastEthernet0/0.2
description VLAN -2
encapsulation dot1Q 2
ip address 192.168.0.1 255.255.255.224
no snmp trap link-status
!
interface FastEthernet0/0.3
description VLAN-3
encapsulation dot1Q 3
ip address 192.168.0.33 255.255.255.224
no snmp trap link-status
!
interface FastEthernet0/0.4
description VLAN-4
encapsulation dot1Q 4
ip address 192.168.0.65 255.255.255.224
no snmp trap link-status
!
interface FastEthernet0/0.5
description VLAN-5
encapsulation dot1Q 5
ip address 192.168.0.97 255.255.255.224
no snmp trap link-status
!
interface FastEthernet0/0.6
description VLAN-6
encapsulation dot1Q 6
ip address 192.168.0.129 255.255.255.224
no snmp trap link-status
!
interface FastEthernet0/1
ip address 192.168.0.209 255.255.255.248
duplex auto
speed auto
!
interface Serial0/0/0
no ip address
shutdown
clock rate 2000000
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.0.210
!
ip http server
!
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
login
!
end

Router#

eash
Advisor

Re: VLAN configuration on 2510 and routing through Cisco 1841

Hi All,

REquest you help to go through the config and let me know what is wrong.
1.Why systems in the second and third switch not coming on the LAN
2.Allthough systems in the first switch was on the LAN they were not able to reach the internet.

Regards,
Eash
eash
Advisor

Re: VLAN configuration on 2510 and routing through Cisco 1841

Hi all,

Any feed back on the configs

Regards,
Eash
eash
Advisor

Re: VLAN configuration on 2510 and routing through Cisco 1841

Hi All,

Please help on the config.

Regards,
Eash.
AndeasBehncke
New Member

Re: VLAN configuration on 2510 and routing through Cisco 1841

Hi eash,

1. Check your configuration of the native vlan, this need the components to "talk".
2. Did you can ping any System in the WAN or Internet? The default route on your Router shows an address, that i can not refer to your global IP configuration.

Greets
eash
Advisor

Re: VLAN configuration on 2510 and routing through Cisco 1841

Hi andeas,

Thanks for the support.

The default route on the router is pointing to the customer's BB router and IP address on that device is 192.168.0.210. The present config on is the BB router is default gateway for the LAN and after the 2510 switch introduction the router sits between the 2510 and BB router.

Regarding your suggestion of native LAN it was not sure what you were referring to.

Regards,
Easwar.
Shadow13
Respected Contributor

Re: VLAN configuration on 2510 and routing through Cisco 1841

the uplink ports between the switches should be untagged in VLAN 1 specially that the 1st switch uplink ports to the 2nd switch is untagged and on the 2nd switch they are tagged, this will lead to both switches not able to communicate to each other and of course the other switches also that connect through the 2nd switch will not be able to reach the 1st switch in VLAN 1

untag all the uplink ports in VLAN 1 plz