Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 579
  • Last Modified:

How to create additional networks on layer 3 Cisco switch

I have a layer 3 Cisco switch that is on a 192.168.10.x network. I need to create two additional networks on this switch that I can route out to another site which is connected by an ASA firewall.  How do I create the two additional networks which are 172.16.5.x and 172.16.15.x.  Below is a diagram.  Thanks



[ASA Firewall]------------------[Layer 3 Cisco Switch]
0
wayy2be
Asked:
wayy2be
  • 2
  • 2
1 Solution
 
Schuyler DorseyCommented:
Are you saying 172.16.5.x and 172.16.15.x are in a remote site, and you want your internal machines to be able to reach them?

If this is the case, you would just need the routes created in your l3 switch..

example:
ip route 172.16.15.x 255.255.255.0 172.16.16.4 (where 172.16.16.4 is actually the internal interface of the ASA)

If however, you are actually wanting to create new vlans on your l3 switch and for those two segments to be internal to your network.. you would just need to create the l2 and l3 vlan settings..

example.
vlan 15
interface vlan 15
ip address 172.16.15.254 255.255.255.0
no shutdown
0
 
wayy2beAuthor Commented:
I want those two segments to be internal to my LAN but reachable from the other site.  Do I need to assign ports to the VLANs?  Can you explain a little bit more to clarify?  Thanks
0
 
Schuyler DorseyCommented:
The only ports that would need to be assigned to the vlans are the ports where a device would sit.

Eg. If a device on the new vlan will plug into port gi1/0/48,.

conf t
interface gi1/0/48
switchport access vlan 15 (or your new vlan number)
0
 
pergrCommented:
Keep in mind to also add static routes on the ASA, pointing to the switch as the next hop.

I assume the 192.168.10.x  network is not directly connected on the ASA either, so the routes for the new networks would look similar to the route for 192.168.10.0/24
0
 
wayy2beAuthor Commented:
Worked like a charm.  Tnx!
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now