Solved

Cisco 1600 Link two networks

Posted on 2003-10-24
10
330 Views
Last Modified: 2010-04-17
I have a 1600 series router that I want to use to join two networks. However I can't seem to get it to work.

Network A = 192.168.0.0 255.255.255.0
Network B = 192.168.22.0 255.255.255.0

Here is what I have done so far, I configure both interfaces, eth0 for A, eth1 for B. Now what? How do I link the two together?

Here is an example

gateway>enable
gateway#config t
gateway(config)#interface eth0
gateway(config-if)#ip address 192.168.0.1 255.255.255.0
gateway(config-if)#^Z
gateway(config)#interface eth1
gateway(config-if)#ip address 192.168.22.1 255.255.255.0
gateway(config-if)#^Z

now, shouldn't I be able to ping from 192.168.25.x to 192.168.0.x? I configured my machines to use the router as the gateway but nothing goes through.
0
Comment
Question by:watkins4321
  • 5
  • 4
10 Comments
 
LVL 79

Expert Comment

by:lrmoore
Comment Utility
Can you post results of "sho ip int brief"
You should see both interfaces Up Up
If you see "administratively down"

gateway(config)#interface eth0
gateway(config-if)# no shut
gateway(config-if)# int eth 1
gateway(config-if)# no shut

Both sides must have their default gateway set to the router...



0
 
LVL 43

Expert Comment

by:JFrederick29
Comment Utility
Is the 192.168.25.x a typo? did you mean you can't ping from 192.168.22.x to 192.168.0.x?

Is IP routing disabled? It should be enabled by default but might want to check...

gateway(config)#ip routing

Do you see the connected interfaces in "show ip route"?

Are you able to ping the interface (gateway address of local subnet) from your PC?
0
 

Author Comment

by:watkins4321
Comment Utility
Here are the results from "show ip int brief":


Router#show ip int brief
Interface              IP-Address      OK? Method Status                Protocol

Ethernet0              192.168.22.1    YES manual up                    up

Ethernet1              192.168.0.5     YES manual up                    up



And yes I can ping both interfaces, just not machines on the remote subnet "192.168.0.x" the .25.x was a typo.

Results of "show ip route":

Router#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
       U - per-user static route, o - ODR

Gateway of last resort is not set

C    192.168.22.0/24 is directly connected, Ethernet0
C    192.168.0.0/24 is directly connected, Ethernet1





0
 
LVL 79

Accepted Solution

by:
lrmoore earned 250 total points
Comment Utility
Double/triple check that the host that you are trying to ping has its default gateway set to 192.168.0.5, and the host that you are pinging from has 192.168.22.1 as the default gateway, and that both have 255.255.255.0 as their subnet masks.

Try running C:\> route print  on both systems to make sure..
0
 

Author Comment

by:watkins4321
Comment Utility
Ouch, that must be it.

Now here is what I need,

the 192.168.0.x subnet also is connected to a DSL router to get WAN activity, and all those gateways point to the DSL router, how can I join this 22.x subnet to the 0.x subnet and still have the DSL router in place?
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 79

Expert Comment

by:lrmoore
Comment Utility
Two options:
1. On the DSL router, perhaps you can create a static route entry, something like:

ip route 192.168.22.0 255.255.255.0 192.168.0.5

2. On each workstation, create a static route:
C:\> route add 192.168.22.0 mask 255.255.255.0 192.168.0.5 [-p]  
Use the -p to make it permanent if you want. Else it goes away everytime the PC reboots.
0
 

Author Comment

by:watkins4321
Comment Utility
Hmm, I tried adding it to the router and it says:

Router(config)#ip route 192.168.22.0 255.255.255.0 192.168.0.5
%Invalid next hop address (it's this router)

I would prefer adding it to the router since it would very hard to manage individual routes on each workstation.
0
 
LVL 79

Expert Comment

by:lrmoore
Comment Utility
My example was for the DSL router, not the one you're trying to set up.
The 1600 has both connected, so no route statements necessary...

What kind of router is it that connects to the DSL?
I have a D-Link that has zero capability to add a static route, so I would have no choice but to do it on the workstations (it's history soonest)
0
 

Author Comment

by:watkins4321
Comment Utility
This is a efficient networks router provided by the ISP, I can have them assign a route for me.
0
 
LVL 79

Expert Comment

by:lrmoore
Comment Utility
Good deal.
Thanks!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Internet Speed Test 5 66
Project Plan to change subnet mask 6 70
Cisco ACS mixed versions 8 53
Website Routing Issue 3 32
Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now