cisco packet tracer
khalid_eng
Member Posts: 8 ■□□□□□□□□□
in CCNA & CCENT
Hello every one
I need to connect between 2 routers each one is connected to a network
When I chose to transfer data between 2 PCS each one in different network there is a failure in packet sending
The config is
For network 0
Pc0
Ip 11.0.0.2
Subnet mask 255.0.0.0
Gateway 11.0.0.1
Pc1
Ip 11.0.0.3
Subnet mask 255.0.0.0
Gateway 11.0.0.1
Pc2
Ip 11.0.0.4
Subnet mask 255.0.0.0
Gateway 11.0.0.1
The previous connected to fa00 of router 0
And fa00 config is
Ip 11.0.0.1
Net mask 255.0.0.0
For network 2
Pc3
Ip 10.0.0.2
Subnet mask 255.0.0.0
Gateway 10.0.0.1
Pc4
Ip 10.0.0.3
Subnet mask 255.0.0.0
Gateway 10.0.0.1
Pc5
Ip 10.0.0.4
Subnet mask 255.0.0.0
Gateway 10.0.0.1
The previous connected to fa00 of router 1
And fa00 config is
Ip 10.0.0.1
Net mask 255.0.0.0
The 2 routers is connected via fa01 together and the config of fa01 is
For router 0
Ip 12.0.0.1
Netmask 255.0.0.0
For router 1
Ip 12.0.0.2
Netmask 255.0.0.0
The pkt file here
http://www.mediafire.com/?dqn65t04vdcczqa
thanks
I need to connect between 2 routers each one is connected to a network
When I chose to transfer data between 2 PCS each one in different network there is a failure in packet sending
The config is
For network 0
Pc0
Ip 11.0.0.2
Subnet mask 255.0.0.0
Gateway 11.0.0.1
Pc1
Ip 11.0.0.3
Subnet mask 255.0.0.0
Gateway 11.0.0.1
Pc2
Ip 11.0.0.4
Subnet mask 255.0.0.0
Gateway 11.0.0.1
The previous connected to fa00 of router 0
And fa00 config is
Ip 11.0.0.1
Net mask 255.0.0.0
For network 2
Pc3
Ip 10.0.0.2
Subnet mask 255.0.0.0
Gateway 10.0.0.1
Pc4
Ip 10.0.0.3
Subnet mask 255.0.0.0
Gateway 10.0.0.1
Pc5
Ip 10.0.0.4
Subnet mask 255.0.0.0
Gateway 10.0.0.1
The previous connected to fa00 of router 1
And fa00 config is
Ip 10.0.0.1
Net mask 255.0.0.0
The 2 routers is connected via fa01 together and the config of fa01 is
For router 0
Ip 12.0.0.1
Netmask 255.0.0.0
For router 1
Ip 12.0.0.2
Netmask 255.0.0.0
The pkt file here
http://www.mediafire.com/?dqn65t04vdcczqa
thanks
Comments
-
zrockstar Member Posts: 378Try switching your crossover between the routers to a serial dce/dte cable (make sure you set clock rate), and do you have any routing in place between (static, RIP, etc.)?
-
Ltat42a Member Posts: 587 ■■■□□□□□□□I looked at your .pkt file, you'll need to add a serial the WIC-2T serial cards to both, then cable it.
-
fsanyee Member Posts: 171What are you talking about? The cabeling is fine, he have to setup routing between the routers....
And check the IP addresses too! -
Ltat42a Member Posts: 587 ■■■□□□□□□□The other problem I see, you have the IP address for Fa0/0 on Router 1 set to 10.0.0.1/30, which means there is only one available IP address for the 3 PC's on the switch. The IP address for Fa0/0 on Router 0 is set to 11.0.0.1/30, again, which means there is only one available IP left to assign to the 3 PC's on that switch. Need to change the subnet mask on Fa0/0 on both routers to 255.0.0.0 instead of 255.255.255.252.
-
ChickenNuggetz Member Posts: 284What are you talking about? The cabeling is fine, he have to setup routing between the routers....
And check the IP addresses too!
Agreed. The IP addressing isnt right. The address configured on the routers has a subnet mask of 255.255.255.252. Your PCs have subnet masks of 255.0.0.0. Basically, your hosts and your routers are in different subnets, that's why they cant communicate; also I dont think serial vs. fast ethernet really matters, so your connections are fine. Your switches aren't configured fully as well (no default gateway is set).
So to recap, you need to:
Fix your ip addressing scheme for routers and hosts (they need to be in the same subnet)
You need to set up a route (either protocol or static) so each router can "see" each subnet
You need to finish the configuration of the switches
Hope that helps!:study: Currently Reading: Red Hat Certified Systems Administrator and Engineer by Ashgar Ghori
Certifications: CCENT; CCNA: R&S; Security+
Next up: RHCSA -
khalid_eng Member Posts: 8 ■□□□□□□□□□thanks guys
i replaced each net-mask 255.255.255.252 with 255.0.0.0
and i found some other mistakes in my pkt file and until now the data is not sent
about ChickenNuggetz's comment
i don't think that the switch need any configuration
do i need to configure ( routing ) section in the router
if yes what i put in
network
mask
next HOP
for each router
i m so gradual to every one posts and will post
and thanks again
http://www.mediafire.com/?dqn65t04vdcczqa -
khalid_eng Member Posts: 8 ■□□□□□□□□□thanks guys for the replays
i tried to add the corrected pkt file to my post but the post had been deleted
anyway
this is the pkt file
router.rar
i don't think that the switch need any configuration
do i need to configure the routing in the routers
thanks -
fsanyee Member Posts: 171The switches don't need any configutation.
If you check your routers routing table, you'll see that they know 2 routes, both connected. They cant reach the other router's lan because dont know where to find it. You have to tell the routers where are the 10.0.0.0 and 11.0.0.0 networks. To solve this problem, you have to use static or dynamic routing, you can find the details in your book. -
ChickenNuggetz Member Posts: 284khalid_eng wrote: »thanks guys
i replaced each net-mask 255.255.255.252 with 255.0.0.0
and i found some other mistakes in my pkt file and until now the data is not sent
about ChickenNuggetz's comment
i don't think that the switch need any configuration
do i need to configure ( routing ) section in the router
if yes what i put in
network
mask
next HOP
for each router
i m so gradual to every one posts and will post
and thanks again
router.rar
Yes you are correct that you do not "need" to configure the switch (I'm just pretty thorough when I set up a lab, and I configure everything) Cisco switches come ready to plug-and-play straight out of the box. You do need to finish setting up the routers with a routing protocol or static route. A simple static route command can be used:
ip route "destination-subnet" "destination-subnet-mask" "next-hop-ip-address":study: Currently Reading: Red Hat Certified Systems Administrator and Engineer by Ashgar Ghori
Certifications: CCENT; CCNA: R&S; Security+
Next up: RHCSA -
alliasneo Member Posts: 186yeah you just need a static route. Remember that router only know about connected networks! So Router 0 knows about everything connected to FA0/0 and FA0/0 - same for Router 1. So when you try and ping another network the PC will 'And' the network address to it's own, realise it's on a different network and send the packet to it's default gateway. But the router will receive the packet and look in it's routing table and think 'I have no route to this destination, I'll drop the packet'.
set up the ip route command like ChickenNuggetz said. -
khalid_eng Member Posts: 8 ■□□□□□□□□□thanks guy
that was really helpful
but i need to knew what each one of that means
"destination-subnet"
"destination-subnet-mask"
"next-hop-ip-address"
especially next hop -
ChickenNuggetz Member Posts: 284khalid_eng wrote: »thanks guy
that was really helpful
but i need to knew what each one of that means
"destination-subnet"
"destination-subnet-mask"
"next-hop-ip-address"
especially next hop
Destination subnet = the subnet you're trying to reach
Destination subnet mask = the subnet mask of the subnet you're trying to reach
Next hop IP address = the ip address of the interface of the router that is the "doorway" to the subnet you're trying to reach. For example, in your lab, if you're on Router0, and you're trying to reach subnet 10.0.0.0, the next hop is the Router1 (that's the router you have to use to reach 10.0.0.0) so the next hop IP address will be the Router1's interface that faces Router0 (because that is the interface that acts like the "doorway" to your 10.0.0.0 subnet)
Hope that helps!:study: Currently Reading: Red Hat Certified Systems Administrator and Engineer by Ashgar Ghori
Certifications: CCENT; CCNA: R&S; Security+
Next up: RHCSA -
khalid_eng Member Posts: 8 ■□□□□□□□□□ChickenNuggetz
thanks for your help
i configured router0 as
Router(config)#ip route 10.0.0.0 255.0.0.0 12.0.0.2
and router1 as
Router(config)#ip route 11.0.0.0 255.0.0.0 12.0.0.3
what was the wrong there ? -
fsanyee Member Posts: 171khalid_eng wrote: »ChickenNuggetz
thanks for your help
i configured router0 as
Router(config)#ip route 10.0.0.0 255.0.0.0 12.0.0.2
and router1 as
Router(config)#ip route 11.0.0.0 255.0.0.0 12.0.0.3
what was the wrong there ?
i guess -
fsanyee Member Posts: 171You should write the next hop address or exit interface.
So the next hop address is the connected router's ip address. -
Roguetadhg Member Posts: 2,489 ■■■■■■■■□□enable rip and be done with it. :PIn order to succeed, your desire for success should be greater than your fear of failure.
TE Threads: How to study for the CCENT/CCNA, Introduction to Cisco Exams -
NewManSoon Banned Posts: 53 ■■□□□□□□□□Do you not have any training material? Really, this is basic routing and subnetting. Todd puts this in perspective with ease in his CCNA book (I have 7th edition). Jus saying.
-
alliasneo Member Posts: 186It's not easy to get to grips with when you first look at this stuff. With static routing I just remember, right I'm going from this network to that network via here.
So if your going from PC 5 over to PC 2 your going through the routers. you can write the statements either with the next hop ip address, so in this case if your going from PC5 to PC2 - the "next hop" is R0's Ethernet connection ip address (12.0.0.1)
OR
you can write it as going from PC 5 to PC2 I'll use R1's local interface number. FA0/0 -
khalid_eng Member Posts: 8 ■□□□□□□□□□i m not CCNA student i m college student and that was a homework assignment we studying just network basics thanks again