cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
408
Views
0
Helpful
4
Replies

Routing Problem

bijan.kianifard
Level 1
Level 1

This conversation is continue of my previous problem with the same title. I have a router with 2 interfaces a gigabitethernet and a fastethernet.Gigabiethernet0/1 has 2 IP addresses:192.168.100.1 and 192.168.101.1. Fastethernet0/0 has IP address 192.168.102.4.

Fastethernet0/0 is in the same network with another router which has IP address 192.168.102.3. The second router also has IP address 192.168.100.3. Some of workstations in the network 192.168.100.0/23 have to access to the network 196.38.151.0/24.Gatway to this network for mentioned workstations is 192.168.100.3. I created the following route to route traffic headed to 196.38.151.0/24 from g0/1 interface to f0/0 interface but it does not work and I still have problem.How can I solve it?

ip route 192.168.100.3 255.255.255.255 f0/0

4 Replies 4

djohnston
Level 1
Level 1

It's hard to tell from your description, but is the 192.168.100.0 network on both routers the SAME network?

Are the masks for all of these networks /24?

And where is the 192.168.151.0 network?

-Don

OK

I describe you again.

Configuration of my router (R1) is as followed:

F0/0 has IP address 192.168.102.4

G0/1 has IP addresses 192.168.100.1 and 192.168.101.1

Other router (R2) has the following configuration:

F0/0 has IP addresses 192.168.100.3 and 192.168.102.3

Also network 196.38.151.0/24 is connected to other interface of this router and I'm not administrator of this router

Both routers are connected to a hub through their f0/0 interfaces.

I would like to give work stations on networks 192.168.100.0/24 and 192.168.101.0/24 (which can be summurized to 192.168.100.0/23 and are connected to R1) accessibility to network 196.38.151.0/24.

I hope I could describe the problem more undestandable now.

Bijan

There are still some problems with this topology.

It looks like the 192.168.102.0 network is located in two different locations (R1-F0/0 and R2-F0/0). This itself is a huge problem.

Beyond that, I'm assuming there is no routing protocol available so you will need a static route to the 196.38.151.0 network for R1.

ip route 196.38.151.0 255.255.255.0 192.168.100.3

-Don

Richard Burts
Hall of Fame
Hall of Fame

Like Don I noticed that you describe 192.168.100.0 as being on both routers but do not indicate if both routers are connected to each other on this network. From your description I am assuming that they are not connected and that you either have a type or you have a discontiguous network.

You also describe the second router network 192.168.100.0 as a /23 network which says that it regards 192.168.100.0 and 192.168.101.0 as all the same network. Is that the way it is supposed to be?

I am also very puzzled by your static route of:

ip route 192.168.100.3 255.255.255.255 f0/0

this is a static route to an address within a connected subnet. You do not need static routes to get to connected interfaces.

I am not sure but I believe that what you are trying to accomplish is to give end stations on the gig0/1 access to the 196.38.151.0 network. If that is the case then I suggest that you use this static route instead:

ip route 196.38.151.0 255.255.255.0 192.168.100.3

HTH

Rick

HTH

Rick

Review Cisco Networking for a $25 gift card