07-20-2019 06:01 AM
Hi,
Switch L3 - Route Mode
I have one Network with VLANs
Network as 172.16.1.0 to 172.16.8.0
==================================
Switch L3 - Route ModeRouting
I have another Network with VLANs
Network as 192.168.1.0 to 192.168.5.0
I want to communicate between both networks. Kindly advise how can it be done.
Regards,
Manish
07-20-2019 06:15 AM - edited 07-20-2019 07:09 AM
in order to comunicate 2 devices must share a same subnet (network) , so u need to add trunk link with x.x.x.x /30 between 2 switches .
since u have L3 switches, they can do routing. so u can enable RIP or EIGRP or any other protocol and advertise networks u have on each switch.
add interface vlan x on both and add vlan x into database. set ip address on interface vlan x in /30 like 10.0.0.x 255.255.255.252
other option is to disable switching on interface that will connect 2 switches together and set ip there.
Regards, ML
**Please Rate All Helpful Responses **
07-20-2019 06:21 AM - edited 07-20-2019 07:12 AM
you should get PT from Net Academy and go to CLN to find labs and practice files.
also latest version of PT comes with some samples, jsut find one u want by opening samples from file menu
see
https://learningnetwork.cisco.com/docs/DOC-24391
Regards, ML
**Please Rate All Helpful Responses **
07-20-2019 06:33 AM
Hi,
Thanks for the reply.
I have changed the mode of the switch to router, then also I am not able to get the command <ip routing>
Your advise I am not getting it, kindly can you explain me by example.
07-20-2019 06:56 AM - edited 07-20-2019 07:10 AM
get PT from CLN (free packet tracer software to practice cisco CLI_)
!
hostname SW2
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
interface Vlan10
mac-address 0001.6314.6401
ip address 10.0.0.1 255.255.255.252
!
interface Vlan20
mac-address 0001.6314.6402
ip address 10.10.0.1 255.255.255.0
!
interface Vlan30
mac-address 0001.6314.6403
ip address 10.30.0.1 255.255.255.0
!
interface Vlan40
mac-address 0001.6314.6404
ip address 10.40.0.1 255.255.255.0
interface Vlan1
no ip address
shutdown
!
interface Vlan10
mac-address 0090.2b9d.ba01
ip address 10.0.0.2 255.255.255.252
Switch 1
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
Regards, ML
**Please Rate All Helpful Responses **
07-20-2019 06:16 AM
Create an port-channel/Trunk between these switches and allow VLAN in the port-channel / Trunk.
Either you can create a same VLAN SVI on both the switches, or do static route poing to each other gateways.
07-20-2019 06:30 AM
Hi,
Thanks for the reply
Can you guide me with examples of commands for both the options. Since one network is a production environment and the other is testing so if anything goes wrong, production will be halted. Please help!
Also I came across that by ip routing it can be done. For that I have changed the mode of the switch to router, then also I am not able to use the command <ip routing>
07-20-2019 07:03 AM
I need to have some more information, what is the model of the switch ? when you mention switch to router mode (here we need to see your Running config to suggest better)
if it is acting as router mode, we need to create a Point to point interface between these device and exchange route.
we can provide sample config once you provide both the switch configs for reference.
07-22-2019 02:40 AM
Hi,
One with Network 192.168.1.0 to 192.168.5.0 is Cisco SG-300
The config is attached
Other with Network 172.16.1.0 to 172.16.8.0 is HPE 5510
The config is attached
Please guide.
Also I am not able to understand one thing. Please make me understand.
I am accessing the Cisco switch from my PC which is remotely connecting another PC which is connected to Cisco switch.
My main PC is connected to HPE 5510 - i.e. 172.16.1.x
While the PC to whom I have remotely connected which is connected to Cisco SG-300 is having one NIC with 172.16.x.x
while another NIC is having 192.168.x.x
Based on the above I am able to access both Cisco SG-300 switches but for testing purpose I have connected one PC to Cisco-SG300 with 192.168.4.2 IP. This PC can access my PC which is connected to HPE 5510, but my PC which is connected to Cissco SG-300 is not able to connect the 192.168.4.2 PC.
I am attaching network diagram.
Please help.
Kindly advise.
07-22-2019 02:41 AM
07-22-2019 02:42 AM
07-24-2019 05:52 AM
Will you help me ?
07-20-2019 07:04 AM
07-20-2019 07:26 AM
I agree; if u doing homework, u may need to go back to books and school notes
Regards, ML
**Please Rate All Helpful Responses **
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide