Monday, October 7, 2019

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.



No comments:

Post a Comment