Comware

 View Only
last person joined: 3 days ago 

Expand all | Collapse all

Communicate to a device connected to another switch.

This thread has been viewed 1 times
  • 1.  Communicate to a device connected to another switch.

    Posted Nov 04, 2019 02:33 PM

     

    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.


    #switch
    #3Com
    #VLAN
    #routing


  • 2.  RE: Communicate to a device connected to another switch.

    EMPLOYEE
    Posted Nov 05, 2019 02:22 AM

    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