Setting a router and 2 switches into a network

Answered Question
Jan 20th, 2010
User Badges:

Hello !

I have a question, please answer as soon as possbile.

Look I'm new in routing, just lerning CCNA Discovery course, there is the problem:


okay, I'm setting up a ROUTER, and 2 Switches, I configure it through terminal:
the final result we have:
eth 0/0 (from where internet is coming) - IP -
eth 0/1 (inside network) - IP -

Also I configured ARP in the same way:
slash (config)# router rip
slash (config-router)# network        // AS I understand ARP allows to transffer data beetween the networks and make it visible on to other

slash (config-router)# network

now if I ping the both network end devices (PC)  the ping works and the packet a sent and recieved.
!!!! THE PROBLEM IS> Why I cannot ping from (PC0) the (PC1)
the RIP was made.

In the attach there is my Paket tracert scheme. Thx for the answer and attention!

Correct Answer by Yudong Wu about 7 years 5 months ago

do you have default gateway configured on both PC?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Correct Answer
Yudong Wu Wed, 01/20/2010 - 14:32
User Badges:
  • Gold, 750 points or more

do you have default gateway configured on both PC?

slash281990 Wed, 01/20/2010 - 14:54
User Badges:

Yeah, thats the matter.. the default gateway, it helped me a lot! thx!

stupid mistake, what about the entire configuration it is resonable? I mean correct? or there is a more rational way to implement?

Yudong Wu Wed, 01/20/2010 - 15:03
User Badges:
  • Gold, 750 points or more

In your diagram, you only have one router and both subnet is directly connected to this router. Therefore, you don't need any routing configuration here.

Routing protocol such as RIP is used to tell the other router in your network about routing information.

For example, in the following topology, you need run routing protocol on all three routers so that Router1 could learn the route to and which are not directly connected to it.


slash281990 Wed, 01/20/2010 - 15:11
User Badges:

1 )okay, I see.. so there is the next situation:

eth 0/1 >

eth 0/2>

The network ( has the access to internet through the gateway - (the server) and it's DNS are:;    )

So, on the router  I add this interfaces:

eth 0/1 >

eth 0/2>

what after that? how to add the dns servers? and I have to show this ip somewhare? so please write how it should look like, in real conditions I'm usnig CISCO 2800 series router.

Yudong Wu Wed, 01/20/2010 - 19:44
User Badges:
  • Gold, 750 points or more

1. You need configure a default router on 2811 router to point to the default gateway.

     ip route

2. If you don't have dhcp server in your internal network, you can configure 2811 router as a dhcp server as well. It will assign IP, gateway, dns to PC.

you can refer to the following link to configure DHCP server on IOS router.

slash281990 Thu, 01/21/2010 - 00:13
User Badges:

  ip route

Reffering to this command - tell me please what does it mean this IP:
And what about my provider's DNS, Have I indicate it somwere?


This Discussion

Related Content