08-23-2015 09:20 AM - edited 03-08-2019 01:28 AM
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.
08-23-2015 09:55 AM
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
08-23-2015 10:50 AM
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.
09-15-2015 05:03 AM
Thank u very much istvan bro
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