cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
634
Views
0
Helpful
3
Replies

Routing using Layer 3 Switch

adm.mehedi
Level 1
Level 1

Dear All,

I am facing problem with my attached image scenario. I have make dhcp server in my layer 3 switch. I have try to ping router from pc but failed to ping.

Problem is uplink port in vlan 1 and another in vlan 10. Uplink no switchport.  What can i do.

Thank you for your feedback.

3 Replies 3

Dan Lukes
VIP Alumni
VIP Alumni

Feedback forum is dedicated to other topics. See it's description for details.

This thread has been moved to more appropriate community.

But you provided NO configuration details of the switch in question, thus don't wish for valuable advice so much.

Also note if it's Packet Tracer scenario you should consider to [ DELETE ] the thread here and recreate it in appropriate forum of learningnetwork.cisco.com

 

istvan.kelemen1
Level 1
Level 1

Hello,

 

PC's are in vlan 10 meaning they are on a specific subnet. Let's say subnet B resides on vlan 10.

Router is in vlan 1 meaning subnet A.

What you have to do in order to establish full ip connectivity is the following.

 

Subnet A =10.0.0.0/30

Subnet B =192.168.1.0/24

enable ip routing on the L3 switch:

   "ip routing" global command

create svi for vlans:

   interface vlan 1

    ip address 10.0.0.1 255.255.255.252

   interface vlan 10 

    ip address 192.168.1.1 255.255.255.0

 

create a dhcp for vlan 10:

   ip dhcp pool vlan 10

    network 192.168.1.0 255.255.255.0

    default-router 192.168.1.1

 

router's switch facing interface should have the ip address 10.0.0.2 255.255.255.252

and a default route on the router: "ip route 0.0.0.0 0.0.0.0 10.0.0.1"

 

Now you should be able to ping the gateway from the PC's.

 

You can also disable switchport on the switch's router facing interface and assing an ip address to it, just like on the router.

 

interface f0/24

 no switchport

 ip address 10.0.0.1 255.255.255.252

 

Please rate correct answer.

Thank u very much istvan bro
 

Review Cisco Networking products for a $25 gift card