Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Layer 3 between two 2510 and one 2910

 
SOLVED
Go to solution
Natasha Samoylenko
Trusted Contributor
Solution

Re: Layer 3 between two 2510 and one 2910

Example of configuration (topology in attachement):
switch 2510 configuration:

vlan 100
untagged 3,4
tagged 21

vlan 200
untagged 1,2
tagged 21

switch 2910 configuration:
ip routing

vlan 100
ip address 192.168.2.1/24
tagged 22
ip helper-address 192.168.5.10

vlan 200
ip address 192.168.3.1/24
tagged 22
ip helper-address 192.168.5.10

vlan 500
name DHCP_server
ip address 192.168.5.1/24
untagged 10

======

Means I have to write in the IP CONFIG of the NIC CARD every DG ?

regard the helper address its the same like in CISCO ?
1. Choose the port where connect my DHCP SERVER and the write his ip helper address ?

--- If you use DHCP server to configure IP addresses on your hosts, you can configgure DG in DHCP pool.
It wiil assign DG to host automatically.
ip helper-address is the same as in cisco.
You need to configure ip helper-address in VLANs there your hosts resides to let switch catch their broadcast DHCP messages and relay them to DHCP server. An address in ip helper-address command must be the DHCP server ip address.

I think that example will help
ALBERTO BELLELI
Advisor

Re: Layer 3 between two 2510 and one 2910

Hi Natasha

have at the end configure my uplink GIGABIT from 2910 to the 2510 . Have to use the Trunk mode LACP or is enough the TAG :

2910(config)# trunk ethernet 21-24 trk1 lacp
vlan 2
name "Server_Network"
untagged 1-20
ip address 192.168.2.252 255.255.255.0
tagged 21-24
exit

thanks for clarify
Natasha Samoylenko
Trusted Contributor

Re: Layer 3 between two 2510 and one 2910

If you need to connect two switches with parallel links, you should use trunk.
Otherwise you create a loop.

So, if you connect switches 21-24 ports, then on both side of trunk (on both switches) you need to create trunk with command:
2910(config)# trunk 21-24 trk1 trunk
OR (they do the same thing)
2910(config)# trunk 21-24 trk1 lacp

But after that you can not assign ports 21-24 to VLAN.
By default, after command "trunk 21-24 trk1" trk1 will be assigned to VLAN 1 as untagged.
You need to assign trk1 as tagged or untagged to necessary VLANs.

So, you need to go, for example, in VLAN 2:
vlan 2
name "Server_Network"
tagged trk1
ALBERTO BELLELI
Advisor

Re: Layer 3 between two 2510 and one 2910

Yes is clear this

I need only to transport the TAGGED vlan in my TRUNK port as Cisco ( have 6 certification )

I need the equivalent command in HP :

Int Gig1/1
switchport trunk encapsulation dot1q
switchport trunk native vlan 2
switchport trunk allowed vlan 2-4


thanks
Natasha Samoylenko
Trusted Contributor

Re: Layer 3 between two 2510 and one 2910

If you need to configure only one port between switches, then you don't need a trunk command.

I need the equivalent command in HP :
Int Gig1/1
switchport trunk encapsulation dot1q
switchport trunk native vlan 2
switchport trunk allowed vlan 2-4

On HP for port 10:
vlan 2
untagged 10

vlan 3
tagged 10

vlan 4
tagged 10

Terminology:

Cisco trunk ---- HP tagged
Cisco access ---- HP untagged
Cisco EtherChannel or Aggregation --- HP trunk or Link Aggregation
ALBERTO BELLELI
Advisor

Re: Layer 3 between two 2510 and one 2910

100 % clear !

Thanks a lot
Alberto