jasonmohan
asked on
Cisco Switching from Layer 2 to Layer 3
Hi,
I'm new to layer 3 switching and want to see if I can get some help. Currently I have no vlans, and everything works. However I would like to do the below configuration and have vlan 10 and vlan 20 talk to each other. Can someone guide me on what I need to do on switch l2 (layer 2) and l3 (layer 3)? I'm assuming the layer 3 switch will do the routing, but I don't know how the uplink plays into the vlans and how to configure the Layer 3 switch. Switch L2 is a layer 2 switch and Switch L3 is a layer 3 switch. Can someone please help me understand how to configure this scenario?
Switch L2
Port 10 / 192.168.1.4 - Client PC - vlan10 - I know how to make this a vlan
ip address: 192.168.1.4
subnet address: 255.255.255.0
gateway: 192.168.0.???? - What do I do here, put the internet gw 192.168.0.1
Port 20 / 192.168.2.2 - Client PC - vlan20 - I know how to make this a vlan
ip address: 192.168.1.4
subnet address: 255.255.255.0
gateway: 192.168.0.???? - What do I do here, put the internet gw 192.168.0.1
Switch L3
Port 1 / 192.168.0.1 - Internet - I don't know what to do here either.
1 Uplink from Switch L2 port 32 to Switch L3 port 33. - I don't know how to carry all the vlan traffic from switch l2 to the layer 3 switch.
I'm new to layer 3 switching and want to see if I can get some help. Currently I have no vlans, and everything works. However I would like to do the below configuration and have vlan 10 and vlan 20 talk to each other. Can someone guide me on what I need to do on switch l2 (layer 2) and l3 (layer 3)? I'm assuming the layer 3 switch will do the routing, but I don't know how the uplink plays into the vlans and how to configure the Layer 3 switch. Switch L2 is a layer 2 switch and Switch L3 is a layer 3 switch. Can someone please help me understand how to configure this scenario?
Switch L2
Port 10 / 192.168.1.4 - Client PC - vlan10 - I know how to make this a vlan
ip address: 192.168.1.4
subnet address: 255.255.255.0
gateway: 192.168.0.???? - What do I do here, put the internet gw 192.168.0.1
Port 20 / 192.168.2.2 - Client PC - vlan20 - I know how to make this a vlan
ip address: 192.168.1.4
subnet address: 255.255.255.0
gateway: 192.168.0.???? - What do I do here, put the internet gw 192.168.0.1
Switch L3
Port 1 / 192.168.0.1 - Internet - I don't know what to do here either.
1 Uplink from Switch L2 port 32 to Switch L3 port 33. - I don't know how to carry all the vlan traffic from switch l2 to the layer 3 switch.
ASKER
I have a Cisco ASA at 192.168.0.1 uplinked on port 1 of the Layer 3 switch, and port 1 on the Cisco ASA switch.
What do I need to do on the uplink port from layer 2 to layer 3 switch? I read some stuff regarding trunking but wasn't sure if I needed to add that, and how.
What do I need to do on the uplink port from layer 2 to layer 3 switch? I read some stuff regarding trunking but wasn't sure if I needed to add that, and how.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the help, and taking the time to explain.
For example
conf t
interface vlan 10
ip address 192.168.1.10 255.255.255.0
interface vlan 20
ip address 192.168.2.20 255.255.255.0
These IP addresses will be a default gateway for your vlans respectively.
After you configured this, you need to configure a static route for internet connection.
Most probably it is going to be
ip route 0.0.0.0 0.0.0.0 192.168.0.1 where X is your interner router/modem
What is your connection from L3 to Internet gateway?