Home > Archive > CCNA > August 2005 > IP Route !!





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author IP Route !!
darkmagic

2005-08-27, 11:01 am

Hey guys,

--->>> The scenario is that i have 2 hosts ( HostA & HostB ), & both of them are connected 2 each other using 2 routers ( RouterA & RouterB ) & a serial link in between them.

---->>> On HostA i assign the IP address of 192.168.1.1/24 & a gateway of 192.168.1.2

--->>> On HostB i assign the IP address of 192.168.2.1/24 & a gateway of 192.168.2.2

--->>> On the ethernet interface of RouterA i have assigned the IP 192.168.1.2

--->>> On the ethernet interface of RouterB i have assigned the IP 192.168.2.2

--->>> On the Serial interface of RouterA i have asigned the IP address 10.0.0.1

--->>> On the Serial interface of RouterA i have asigned the IP address 10.0.0.2

--->>> I make a static route on RouterA using the command
ip route 192.168.2.0 255.255.255.0 10.0.0.2

--->>> And i also create a static route on RouterB using the command
ip route 192.168.1.0 255.255.255.0 10.0.0.1

Now, if i try to do a ping 192.168.2.1 from HostA, would that work ?
darkmagic

2005-08-28, 3:19 am

Ok, i tested it out, its not working, any reason's why ?
MKRS2318

2005-08-28, 8:32 am

You are using discontiguous IP addressing, i think that may be a factor???? Hope this helps
notesadmin

2005-08-28, 10:34 am

[Edited by moderator]

At least he doesn't spam cheat sheets!

The Reamer

2005-08-28, 2:25 pm

I would try some debugging to see if the pings are making it to the opposite routers.

I would also ask that you post the configs so that the board can get a better understanding of what you have set up.

You could easily have misconfigured encapsulation on the routers.

Reamer
darkmagic

2005-08-28, 2:59 pm

notesadmin is anything wrong with you ?
darkmagic

2005-08-28, 7:00 pm

Hey that was pretty quick lexy, i was not expecting it to be that quick atleast, but i really do appreciate it, thanx

Well, i tried it on BOSON as well, it is still not working guys, what am i doing wrong guys

Here is the configuration on my RouterA:

RouterA#show running-config

Building configuration...
Current configuration : 625 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname RouterA
!
!
!
ip subnet-zero
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.2 255.255.255.0
no ip directed-broadcast
!
interface Serial0/0
ip address 10.0.0.1 255.0.0.0
no ip directed-broadcast
clockrate 56000
!
interface FastEthernet0/1
no ip address
no ip directed-broadcast
shutdown
!
interface Serial0/1
no ip address
no ip directed-broadcast
shutdown
!
!
ip classless
ip route 192.168.2.0 255.255.255.0 10.0.0.2
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
end

And here is the configuration on my RouterB:

RouterB#show running-config

Building configuration...
Current configuration : 625 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname RouterB
!
!
!
ip subnet-zero
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.2.2 255.255.255.0
no ip directed-broadcast
!
interface Serial0/0
ip address 10.0.0.2 255.0.0.0
no ip directed-broadcast
!
interface FastEthernet0/1
no ip address
no ip directed-broadcast
shutdown
!
interface Serial0/1
no ip address
no ip directed-broadcast
shutdown
!
!
ip classless
ip route 192.168.1.0 255.255.255.0 10.0.0.1
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
end

Please do let me know if you find any problems with this configuration considering that RouterA's Serial 0/0 interface is considered to be DCE.
smrkdown

2005-08-28, 8:34 pm

Your first post says Host_A has address of 192.168.1.2 and gateway of 192.168.2.1 and Host_B has address of 192.168.2.2 and gateway of 192.168.2.1 but your router configs show that you've assigned the .2 addresses to the interfaces of the routers. This would create an address conflict if you've assigned the same address to the hosts and the router interfaces... and the hosts would then also have the wrong gateway IP configured. Routers Ethernet interfaces should have the .1 addresses that you've assigned as the hosts' default gateways. And as a note, you're wasting quite a bit of addresses on that point-to-point serial link... you'll more typically see a /30 on these types of links.
MKRS2318

2005-08-29, 4:00 am

Yeah thats right, if you use the /30 mask you can save ip addresses cos this mask will give you two addresses which is what you need on the serial links (2 to the power of 2 minus 2). Boo ya!
darkmagic

2005-08-29, 7:19 am

I have edited the first post appropriately, there were some discrepencies, i am sorry to the extent of being embarrassed, but anyways i have corrected it.

The configuration on the router should be the deciding factor because that is what i actually have on the router.

And yes i understand that /30 would give me only 2 useable IPs & would save a lot of IPs but this is not a real world scenario i am doing this on a simulator, but strangely its not working.

I wanted to see if any of you can suggest any mistakes in the configuration ?
darthfeces

2005-08-29, 2:08 pm

simulator's are mostly retarded.
has anyone tried this in a real router ?
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net