Setting a router and 2 switches into a network

Answered Question
Jan 20th, 2010

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:

scr_cisco.JPG

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 - 192.168.100.200
eth 0/1 (inside network) - IP - 192.168.80.1

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

slash (config-router)# network 192.168.80.0

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) 192.168.100.201 the  192.168.80.2 (PC1)
the RIP was made.

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

Attachment: 
Correct Answer by Yudong Wu about 7 years 4 weeks ago

do you have default gateway configured on both PC?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
Yudong Wu Wed, 01/20/2010 - 14:32

do you have default gateway configured on both PC?

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

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

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 23.23.23.0/24 and 3.3.3.0/24 which are not directly connected to it.

(1.1.1.0/24)--Router1--(12.12.12.0/24)----Router2----(23.23.23.0/24)-----Router3----(3.3.3.0/24)

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

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

eth 0/1 > 192.168.100.200

eth 0/2> 10.10.0.1

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

So, on the router  I add this interfaces:

eth 0/1 > 192.168.100.200

eth 0/2> 10.10.0.1

what after that? how to add the dns servers? and I have to show this ip 192.168.100.100 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

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

     ip route 0.0.0.0 0.0.0.0 192.168.100.100

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.

http://www.cisco.com/en/US/docs/ios/12_0t/12_0t1/feature/guide/Easyip2.html

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

  ip route 0.0.0.0 0.0.0.0 192.168.100.100

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

Actions

This Discussion

Related Content