Comware Based
1753404 Members
7400 Online
108793 Solutions
New Discussion

Communicate to a device connected to another switch.

 
SOLVED
Go to solution
lautrec
Occasional Advisor

Communicate to a device connected to another switch.

 

Hello everybody.

I have theses two switches, 3Com 4500 and 3Com 2928.

3Com 4500 - IP: 20.20.X.X ; Mask: 255.255.240.0

3Com 2928 - IP: 192.168.1.X; Mask: 255.255.255.0

And a printer(20.20.2.1) connected in the switch 3Com 4500 and i need access this printer from the devices on the 3Com 2928. I already tried to make a trunk between the switches, and the same Vlan(Vlan 100) in theses two switches one with interface and another without interface, and enable IP Routing, but doesn't work.

I dont know if this is good practice or not, but i did this way...

I create 2 Vlans in each switches

Switch A:

Vlan 255 - 10.5.0.1; 255.255.255.0

Vlan 100 - 192.168.100.2; 255.255.255.0

Swtich B:

Vlan 255 - 10.5.0.2; 255.255.255.0

Vlan 200 - 172.168.200.2; 255.255.255.0

So i create this routes:

Switch A:

10.5.0.1 - 255.255.255. - 10.5.0.2

172.16.200.2 - 255.255.255.0 - 10.5.0.2

Switch B :

10.5.0.2 - 255.255.255. - 10.5.0.1

192.168.100.2 - 255.255.255.0 - 10.5.0.1

Now the Switch A can ping i the switch and the vlans of the "B" and "vice versa". But i can't ping from Vlan 1 in any other vlan.

1 REPLY 1
jmpk
HPE Pro
Solution

Re: Communicate to a device connected to another switch.

Hello ,

I hope you are using this as lab/ testing purpose. Has Vlan 1 has route to reach other vlans ?

Since i am considering you are using to lab purpose  i wouldsuggest to use defulat route instead mentioning the route..

Eg: 

ip route 0.0.0.0 0.0.0.0 10.5.0.2


I work for HPEAccept or Kudo