07-16-2012 12:41 PM - edited 03-04-2019 04:59 PM
Sorry to mention, the 2561xm has another interface connected to a Cisco 2950 switch..with an IP of 192.168.1.3
07-17-2012 01:24 AM
Hello Abdulrahman,
you need a common IP subnet on the direct link between the two routers that can be 192.168.22.0 in order to perform routing. It is not possible to hop from an IP subnet to another.
you assign IP address 192.168.22.1 to C2651xm and 192.168.22.2 on C1760
at this point you can configure static routes on c2651xm for IP subnet that is behind the C1760
example:
C2651XM
ip route 192.168.10.0 255.255.255.128 192.168.22.2
let's suppose that 192.168.1.0/24 is on the C2651XM
C1760:
ip route 192.168.1.0 255.255.255.0 192.168.22.1
the static routes use as next-hops the IP addresses in the shared in common IP subnet
Hope to help
Giuseppe
07-17-2012 06:10 AM
Hi there,
I did what you told me but it still doesnt work. I've allowed "Allowed incoming echo requests" for the ICMP but it still doesn't work aswell..
07-17-2012 08:05 AM
Hi,
post the configs from both routers here.
Regards.
Alain.
Don't forget to rate helpful posts.
07-17-2012 12:51 PM
Hi there,
Config for the 2651xm
Building configuration...
Current configuration : 1539 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname 2651xm
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$RGkX$JSGK9R3cUhpCcowFqA4xp.
enable password Aldabbagh1992
!
no aaa new-model
no network-clock-participate slot 1
no network-clock-participate wic 0
ip cef
!
!
!
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
username admin privilege 15 secret 5 $1$ia72$n7i3yF9VU4Ji9lEPrkeY//
!
!
!
!
!
!
!
interface ATM0/0
no ip address
shutdown
atm restart timer 300
no atm ilmi-keepalive
dsl operating-mode auto
!
interface FastEthernet0/0
ip address 192.168.22.1 255.255.255.128
speed auto
full-duplex
no mop enabled
!
interface FastEthernet0/1
ip address 192.168.1.3 255.255.255.0
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
!
interface BRI1/0
no ip address
encapsulation hdlc
shutdown
!
interface BRI1/1
no ip address
encapsulation hdlc
shutdown
!
interface BRI1/2
no ip address
encapsulation hdlc
shutdown
!
interface BRI1/3
no ip address
encapsulation hdlc
shutdown
!
ip forward-protocol nd
ip route 192.168.22.0 255.255.255.128 192.168.1.0
!
!
ip http server
ip http authentication local
no ip http secure-server
ip http timeout-policy idle 600 life 86400 requests 10000
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
privilege level 15
password (not showing)
login local
transport input telnet ssh
Config for 1760:
CROUTER1760#sh run
Building configuration...
Current configuration : 837 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CROUTER1760
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$rTlq$oc5otiWPTW3WQZeW/MCX6/
enable password Aldabbagh1993
!
no aaa new-model
ip cef
!
!
!
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.22.2 255.255.255.128
speed auto
full-duplex
!
interface Serial0/0
no ip address
shutdown
!
interface BRI1/0
no ip address
encapsulation hdlc
shutdown
!
ip forward-protocol nd
ip route 192.168.1.0 255.255.255.0 192.168.22.0
!
!
ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
password (no showing)
login
!
end
CROUTER1760#
07-17-2012 11:41 PM
Hi,
1) on the 2651xm, you can get rid of this static route as it has no effect anyway as 192.168.22.0/25 is directly connected
2) on the 1760, the static route is not correct, just get rid of it and enter this one:
ip route 192.168.1.0 255.255.255.0 192.168.22.1
3) Now I only see a LAN on one side but where is the LAN on the 1760 ?
Regards.
Alain.
Don't forget to rate helpful posts.
07-18-2012 01:34 AM
Hi.
What LAN? There's only 1 FastEthernet on the 1760.
07-18-2012 02:03 AM
Hi,
ok I thought you were trying to ping from LAN to LAN.
Regards.
Alain.
Don't forget to rate helpful posts.
07-18-2012 02:19 AM
Yes, I've got one network which is on 192.168.1.x and the Routers are 192.168.22.x
But the problem I can't ping from 192.168.1.x to the 192.168.22.x
07-18-2012 02:55 AM
Hi,
just make sure the default gateway for 192.168.1.0/24 network hosts is 192.168.1.3 which is the 2651xm ip address in this subnet.
Regards.
Alain
Don't forget to rate helpful posts.
07-18-2012 03:52 AM
Hi,
This is the ping results from the laptop:
E:\Documents and Settings\Admin>ping 192.168.1.3
Pinging 192.168.1.3 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.1.3:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
E:\Documents and Settings\Admin>ping 192.168.22.16
Pinging 192.168.22.16 with 32 bytes of data:
Reply from 192.168.22.16: bytes=32 time=1ms TTL=128
Reply from 192.168.22.16: bytes=32 time<1ms TTL=128
Reply from 192.168.22.16: bytes=32 time<1ms TTL=128
Reply from 192.168.22.16: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.22.16:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
E:\Documents and Settings\Admin>ping 192.168.22.11
Pinging 192.168.22.11 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.22.11:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
E:\Documents and Settings\Admin>ping 192.168.22.19
Pinging 192.168.22.19 with 32 bytes of data:
Control-C
^C
E:\Documents and Settings\Admin>ping 192.168.22.10
Pinging 192.168.22.10 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.22.10:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
I can ping the other laptop, but i still can't ping the 192.168.1.x network or even the routers on the 192.16.22.x network.
The 192.168.22.16 is the other laptop. 192.168.22.10 is the 2651xm router.
07-18-2012 04:02 AM
Hi,
can you post a diagram of your topology because I had understood in the initial posts that the 192.168.22.x network was the one between the 2 routers and now you say you have a laptop in this subnet ??
Regards.
Alain.
Don't forget to rate helpful posts.
07-18-2012 04:22 AM
Basically I've been trying to create static route between 2 networks. 192.168.1.x and 192.168.22.x, trying to ping the 192.168.22.x, but without any luck.
The primary Lapotp is has an IP of 192.168.1.x
The secondary Laptop is has an IP od 192.168.22.x (I'm using the 192.168.1.4 as the default gateway)
This is the topology.
07-18-2012 04:46 AM - edited 09-23-2018 09:10 AM
Hi,
With regards to the config that you posted earlier, you have the networks 198.168.22.1 and 192.168.22.2 connected to the 2651XM and 1760 respectively. So first of all you should be able to ping these ip addresses from these routers. Next, for your scenario, depending on where the target subnet is located, you need to add a static route pointing to it in the routing table of the remote router.
- Example: if the target network is behind the 2651XM, then you have to add the static route on the 1760:
ip route 192.168.1.0 255.255.255.0 192.168.22.1
You should point the first router (from user's perspectives) to its Neighbouring router that is directly connected to the target subnet and also set the users 'Default Gateway' setting to their LOCAL router interface address which is directly facing their local subnet.
Hope it Helps,
Soroush.
07-18-2012 04:51 AM
Hi,
repost the configs from both routers because the addressing is not clear and also the ip config from PCs.
Is 2651xm like this: f0/0 192.168.1.4/24 and f0/1 192.168.22.10/24 ?
if it is the case then on the right switch the host must be in 192.168.22.0/24 network and have 192.168.22.10 as default gateway and if you've got a host on the 1760 then you must have default route on 1760 pointing to 2651xm 192.168.1.4
and this host must be in another subnet than those already used and have its default gateway as the 1760 IP address in the same subnet.
Note that the default gateway of a host must be in the same subnet so this can't work:
The secondary Laptop is has an IP od 192.168.22.x (I'm using the 192.168.1.4 as the default gateway)
Regards.
Alain.
Don't forget to rate helpful posts.
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