Switches, Hubs, and Modems
1752579 Members
4041 Online
108788 Solutions
New Discussion юеВ

Re: DHCP... What Gives...

 
SOLVED
Go to solution
psycho.chicken
Regular Advisor

Re: DHCP... What Gives...

isnt 10.3.10.1 supposed to be given to the vlan, as it's default gateway...
psycho.chicken
Regular Advisor

Re: DHCP... What Gives...

That IP is coming from me creating the vlans, I gave each vlan an ip...

vlan10 = 10.3.10.1 /24 etc

is this not correct?
Matt Hobbs
Honored Contributor

Re: DHCP... What Gives...

An IP address has to be unique on the VLAN that it's in. Since you have the same address configured on both switches that is a big no no. The 5300 is doing all your routing so it should be the only one to have those IP addresses.


I would recommend you go through this free self paced course - http://www.hp.com/rnd/training/technical/IPR_foundations.htm
psycho.chicken
Regular Advisor

Re: DHCP... What Gives...

Dont i create the vlans on both switches?

Matt Hobbs
Honored Contributor

Re: DHCP... What Gives...

Yes, but you don't give them IP addresses, especially don't give them the same IP address which has been configured on another switch.

On that 2600, you can either do:

2600(config)# vlan 10
2600(vlan-10)# no ip address

or

2600(config)# vlan 10
2600(vlan-10)# ip address 10.3.10.2/24

Repeat for the other VLANs but leave VLAN1 alone, it's okay because it has a different IP address to that of VLAN1 on the 5300.

The first option is how I would do it on the other VLANs(no ip address)
psycho.chicken
Regular Advisor

Re: DHCP... What Gives...

ok...

I was under the impression that i am creating the vlans on all the switches.

meaning i tell switch 5400-1

vlan10-d 10.3.10.1 /24

tell switch 2

vlan10-d 10.3.10.1

----

Your tellign me to

switch 5400-1

vlan10-d 10.3.10.1

switch 2

vlan10-d 10.3.10.2

switch 3

vlan10-d 10.3.10.3

etc...

So the default gateway on swithces 2,3,4 is still switch 5400... 10.3.10.1
Matt Hobbs
Honored Contributor
Solution

Re: DHCP... What Gives...

That's kind of what I'm telling you but I wouldn't bother putting those IP addresses on for VLAN10,20,30 etc. A VLAN does not have to have an IP address.

This would be config I would base my edge switches on:

hostname "wa_vlan10_01"
snmp-server contact "systems"
ip default-gateway 10.3.100.200
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 7-48,50
ip address 10.3.100.102 255.255.255.0
tagged 49
no untagged 1-6
exit
vlan 10
name "vlan10-d"
untagged 1
tagged 49
exit
vlan 20
name "vlan20-d"
untagged 2
tagged 49
exit
vlan 30
name "vlan30-d"
untagged 3
tagged 49
exit
vlan 40
name "vlan40-d"
untagged 4
tagged 49
exit
vlan 50
name "vlan50-d"
untagged 5
tagged 49
exit
vlan 90
name "vlan90-d"
untagged 6
tagged 49
exit
spanning-tree
password manager


The other edge switches would be the same, except they would each have a different IP addresses in VLAN1

vlan 1
name "DEFAULT_VLAN"
untagged 7-48,50
ip address 10.3.100.103 255.255.255.0
tagged 49
no untagged 1-6
exit

The default gateways will remain pointing to the .1 addresses that is already configured on the 5400. The 5400's configuration is fine the way it is.
psycho.chicken
Regular Advisor

Re: DHCP... What Gives...

but the default gateway (on client pc's) will still be the 10.3.10.1 etc... that i put into the 5400

SO I AM re-creating the vlan's on the other switches, just not giving them all IP's, just the primary one...

And that could be the management one at that...

I'm gonna reset to factory and try it out.

It makes sence, i just confused myself and programmed too much on the edge switches...
psycho.chicken
Regular Advisor

Re: DHCP... What Gives...

That was the ticket!

DHCP Relay is working!!

Now everytime i reboot the switch.. all the setting sgo away but the main IP...
psycho.chicken
Regular Advisor

Re: DHCP... What Gives...

Yes, I did a "write memory"