Switches, Hubs, and Modems
1752664 Members
5640 Online
108788 Solutions
New Discussion юеВ

Re: IP Routing question between switches

 
Jeff Carrell
Honored Contributor

Re: IP Routing question between switches

well, i see a couple of possible issues:

looks like you need to do the following:

1) untag port 21 into vlan1 on the 2824, so the DC can communicate...its in a tagged port currently on vlan10...

2) tag port 1 in vlan1 on the 2824...
(there is no vlan1 link between the switches in the latest config)

3) tag port 1 in vlan1 on the 2524...

4) also, you don't need an ip addr in vlan10 on the 2524...it doesn't hurt, but generally on a layer2 only switch you only need 1 ip addr on it for mgmt...

another comment, your spanning tree configuration is not the same on both switches, 2824 is set for MSTP, and the 2524 is set for STP...if you keep MSTP, you need to read the manual section on spanning tree for how MSTP needs to be configured, there is more to it than simply enabling it...you of course can use STP and the config is much easier...

remember, for all devices, their def g/w is the ip addr of their vlan on the 2824 switch, as its the router for those 2 networks...

hth...let us know...
sphar
Advisor

Re: IP Routing question between switches

Hi Jeff,

Thanks for the tips, on the PC connected to the Procurve 2524 I can now ping the DC!! But only if I don't use DHCP.

Hope you can assist as to why client isn't receiving a DHCP address from DC.

Steve

Static IP for the client is:
10.16.128.101
255.255.254.0
10.16.128.20
DNS 147.x.y.6 (DC)

Procurve 2824 config

ip default-gateway 147.109.24.16
ip routing
vlan1
name "DEFAULT_VLAN"
untagged 2-24
ip address 147.109.24.16 255.255.255.0
tagged 1
exit

vlan10
name "10DOT"
ip address 10.16.128.20 255.255.254.0
ip helper-address 147.109.24.6
tagged 1
exit

Procurve 2524
ip default-gateway 10.16.128.18
vlan1
name "DEFAULT_VLAN"
untagged 7-26
IP address 147.x.y.17 255.255.255.0
tagged 1
no untagged 2-6
exit
vlan10
name "10DOT"
untagged 2-6
ip address 10.16.128.18 255.255.254.0
tagged 1
exit

DC Config
testdc.test.com.au
IP Address 147.x.y.6
Subnet Mask 255.255.255.0
Default Gateway 147.109.24.16
Preferred DNS 147.x.y.6

DHCP Scope 147.x.y.1 - 147.x.y.254
DHCP superscope
10.16.128.80 - 10.16.128.254
10.16.129.80 - 10.16.129.254
DNS 147.x.y.6
Gateway 10.16.128.18
(Default gateway IP of VLAN10 on 2848)
Jeff Carrell
Honored Contributor

Re: IP Routing question between switches

well, i'm not absolutely sure why...

however, i see 2 places where the def g/w settings are not correct:

1) 2524 has 'ip default-gateway 10.16.128.18'...is should be 10.16.128.20 (2824)

2) DC also has 10.16.128.18, and it should be 10.16.128.20....

the def g/w for all devices on these 2 switches is always the ip addr of the routed interfaces - 2824 vlan ip addresses...

see if that helps...
Jeff Carrell
Honored Contributor

Re: IP Routing question between switches

well, i'm not absolutely sure why...

however, i see 2 places where the def g/w settings are not correct:

1) 2524 has 'ip default-gateway 10.16.128.18'...it should be 10.16.128.20 (2824)

2) DC also has 10.16.128.18, and it should be 10.16.128.20....

the def g/w for all devices on these 2 switches is always the ip addr of the routed interfaces - 2824 vlan ip addresses...

see if that helps...
sphar
Advisor

Re: IP Routing question between switches

Hi Jeff,

Thanks for the reply - the 2524 I changed to the 10.16.128.20 gateway.

The DC is on the 147.109.16.0 subnet and the TCP/IP config complains when I add the 10.16.128.20 address as its gateway since its on another subnet.

Steve
Jeff Carrell
Honored Contributor

Re: IP Routing question between switches

on the DC, the def g/w to be changed is in the 10dot scopes...not its own def g/w...
sphar
Advisor

Re: IP Routing question between switches

Hi Jeff,

Almost working! PC can receive a dhcp address when its in the 147.x.y.z vlan on the 2524, but not on the 10.x.y.z vlan on the 2524

Vlan image attached showing config, hope you can have a quick look and check where I'm going wrong.

Thanks.
Jeff Carrell
Honored Contributor

Re: IP Routing question between switches

sorry, i can't open the attachment...

sphar
Advisor

Re: IP Routing question between switches

Hi Jeff,

Config below, think its almost 100% correct so I'll try in the office tomorrow. Thank you for all you're help.

Procurve 2824
ip default-gateway 10.16.128.20
ip routing

vlan1
name "DEFAULT_VLAN"
untagged 2-24
ip address 147.109.24.16 255.255.255.0
tagged 1 {port connecting 2524 via cat5}
exit

vlan10
name "10DOT"
ip address 10.16.128.20 255.255.254.0
ip helper-address 147.109.24.6
tagged 1 {port connecting 2524 via cat5}
exit

Procurve 2524
ip default-gateway 10.16.128.20

vlan1
name "DEFAULT_VLAN"
untagged 7-26
IP address 147.109.24.17 255.255.255.0
tagged 1 {port connecting 2824 via cat5}
no untagged 2-6
exit

vlan10
name "10DOT"
untagged 2-6
ip address 10.16.128.18 255.255.254.0
tagged 1 {port connecting 2824 via cat5}
exit

Static IP for the client is and can ping 147.109.24.6 DC

IP 10.16.128.101
SN 255.255.254.0
GW 10.16.128.20
DNS 147.109.24.6 (DC)

DC/DHCP server is in 2824 default vlan

Scopes 147.109.24.0 and 10.16.128.0
10.16.128.0 scope option gw 10.16.128.20