Aruba & ProVision-based
1753500 Members
4523 Online
108794 Solutions
New Discussion юеВ

Re: How to connect 2 vlan in one switch

 
Pamungkas
New Member

How to connect 2 vlan in one switch

Dear All,

 

I need some help to setup my procurve 2910, i want make 3 different vlan in one switch and 3 different ip address each vlan but i want that all host that different vlan can communicate / connect.
 i already try to use routing on switch but still cannot ping other vlan. is that true that need to use external gateway? can i use internal gateway from the switch? because if external gateway down all host will be disconnected.

 

thanks

2 REPLIES 2
Vince_Whirlwind
Trusted Contributor

Re: How to connect 2 vlan in one switch

Enable IP routing.

Create 3 VLANs.

Create a VLAN interface for each VLAN and give it an IP address.

Configure 3 ports as "untagged" , 1 in each VLAN.

Connect 3 devices, one to each VLANed port.

Configure correct IP settings on each device.

Test each device can ping its default GW.

Test each device can ping the 2 others.

ericwibowo
Occasional Visitor

Re: How to connect 2 vlan in one switch


@Vince_Whirlwind wrote:

Enable IP routing.

Create 3 VLANs.

Create a VLAN interface for each VLAN and give it an IP address.

Configure 3 ports as "untagged" , 1 in each VLAN.

Connect 3 devices, one to each VLANed port.

Configure correct IP settings on each device.

Test each device can ping its default GW.

Test each device can ping the 2 others.


Hi Vince, 

I just follow your instruction,i'm working in my lab  but i found an issue with the result

 

The issue

I cant ping to host 192.168.100.3 from host 10.10.10.3

but i can ping to host 10.10.10.3 from host 192.168.100.3.

 

here's  what i've done so far..

 

hostname "ProCurve Switch 4204vl"
time timezone 7
ip routing
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged A1-A24,B1-B19,B21-B24,C1-C24
ip address 10.10.10.1 255.255.255.0
no untagged B20
exit
vlan 192
name "VLAN192"
untagged B20
ip address 192.168.100.1 255.255.255.0
exit
password manager

 

for device setting,

 

A1,   10.10.10.3        255.255.255.0   10.10.10.1          firewall turnoff   tracert  192.168.100.3 stop at 10.10.10.1 first line

B20 192.168.100.3 255.255.255.0    192.168.100.1  firewall turnoff   tracert 10.10.10.3 Ok

 

I think i missing something but i dont know what is that :D any thought?

 

Thanks in advance

-e