Should I create route for the attached network?

I put a cisco router in between my 2 windows server. It looks like this:
10.0.3.1|server1|10.0.2.1 ----- 10.0.2.254 (cisco router) 10.0.1.254 ------10.0.1.2|server2 |192.168.1.10

The router can ping 10.0.2.1 and 10.0.1.2, however it cannot ping 192.168.1.10 and 10.0.3.1.
I created a static route like this:
ip route 0.0.0.0 255.255.255.255 10.0.1.2
ip route 10.0.3.0 255.255.255.0 10.0.2.1

But it still not working (Time out) ... Also I try to ping from server 1, I cannot ping 10.0.1.1 (a station in my network) and 10.0.1.2
wuitsungAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
kanlueConnect With a Mentor Commented:
is your set up like this:


server1----(cross-over cable)-------Router-------(cross-over cable)----server2

server1 has two IP addresses:
-Primary IP: 10.0.2.1 255.255.255.0 (default gateway: 10.0.2.254)
-Secondary IP: 10.0.3.1 255.255.255.0 (no default gateway)

server2 has two IP addresses:
-Primary IP: 10.0.1.2 255.255.255.0 (default gateway: 10.0.1.254)
-Secondary IP: 192.168.1.10 255.255.255.0 (no default gateway)

0
 
kanlueCommented:
please try this:

-in your router:
ip route 10.0.2.0 255.255.255.0 10.0.2.1
ip route 192.168.1.0 255.255.255.0 10.0.1.2

-in your server1, make sure the default gateway is 10.0.2.254

-in your server 2, make suer the default gateway is 10.0.1.254


hope it helps.

0
 
wuitsungAuthor Commented:
I tried it... but still... from the router, I cannot ping 10.0.3.1

And I am not sure if anything wrong here,  I use the 2 transceivers and insert into AUI 0 and AUI 1. From the transceivers, I use cross-over cable to connec to my server's nic. Is there anything wrong?
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
kanlueCommented:
sorry that i made a mistake in my previous reply:
in the router, it should be:

ip route 10.0.3.0 255.255.255.0
ip route 192.168.1.0 255.255.255.0


can you ping 192.168.1.10 in your router?

as long as you can ping both 10.0.2.1 and 10.0.1.2 from your router, your connection setup is ok.
0
 
wuitsungAuthor Commented:
yes, exactly
0
 
wuitsungAuthor Commented:
From your previous post
"ip route 10.0.3.0 255.255.255.0
ip route 192.168.1.0 255.255.255.0
"
It should be
ip route 192.168.1.0 255.255.255.0 10.0.1.2
ip route 10.0.3.0 255.255.255.0 10.0.2.1
0
 
kanlueCommented:
yes, you are right.

can you ping 10.0.3.1 in server1?
can you ping 192.168.1.10 in server2?

can you provide show run info?
0
 
wuitsungAuthor Commented:
Thank you for the help. Actually I noticed that I made a mistake on my route in the router. Now from the router I can ping everywhere... But.. SRV2 CANNOT PING 10.0.1.3. But SRV1 can ping 10.0.1.1. I know if I simply change the D.G on srv2 to 10.0.1.254, everything will work. But I need to use internet, so the DG here is pointing to 192.168.1.1. But in the routing table of SRV2, I created 2 static routes.. but they semms not working. Please check my attchment, you will have better picture. (route print of SRV2 and my network layout)
router.JPG
route-print.txt
0
 
kanlueCommented:
thanks for the layout and info.
where is 10.0.1.1, 10.0.1.3?
can you provide 'ipconfig /all' of server2?
can you provide 'show run' or 'show ip route' of the router?
0
 
wuitsungAuthor Commented:
I made a mistake .. it was 10.0.3.1 not 1.3... And 10.0.1.1 is one of my station. But I finally figure out the problem. Because I made a mistake when entering IP address in my router. And also my 10.0.1.2 server also is a ISA server that blocks the traffic. Thank you very much for your help. And just my last question...

what's the difference between this 2 route?
ip route 0.0.0.0 255.255.255.255 10.0.1.2
ip route 0.0.0.0 0.0.0.0 10.0.1.2
0
 
kanlueCommented:
first one: route host 0.0.0.0/255.255.255.255' through 10.0.1.2

second one: default route, route any network through 10.0.1.2

hope it helps.

thanks for the update, and glad that you have it fixed.
0
 
wuitsungAuthor Commented:
Thanx!! But I still don't understand the first one ..  route host ? what does it mean?
To use internet, only the second one is working, not the first one. When is the situation that I need to use the first one?

And I just reboot my router, and I found that all the route, interface and configuration is gone.... how can I save them? I did put -p after each route though. ex: ip route 0.0.0.0 0.0.0.0 10.0.1.2 -permanent
0
 
kanlueCommented:
you are very welcome. the first one, it tells router: if you need to reach the Host only with IP 0.0.0.0/255.255.255.255, please go through 10.0.1.2 .

which type of router you are using? for cisco, it's 'wri'.

hope it helps.
0
 
wuitsungAuthor Commented:
Ok! you mean to go the ip address 0.0.0.0 ? so this address will never exist.

I am using the CISCO 2500 router
0
 
kanlueCommented:
yes. you are right.

if it's 2500, did you 'wri' before you reboot?

when you 'show version', what's the reg in the last line of the output? is it '0x2142' or '0x2102'?
if the last line of your output of 'sh version' like this:
Configuration register is 0x2142

then, do the following:
-------------------------
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#config-register 0x2102

!--- The config-register is changed back to load the router
!--- with NVRAM configuration.

Router(config)#^Z

-restart router
-------------------------

after rebooting, you then can save your config in your 2500.

hope it helps.
 

0
 
wuitsungAuthor Commented:
last line of the output : 0x2102 ... It was 0x2142... But I reset to factory default by following here http://www.cisco.com/en/US/products/sw/iosswrel/ps5187/products_tech_note09186a00802017a1.shtml

And what is WRI?

So do I still do the same steps as you said?
0
 
kanlueCommented:
as long as it's '0x2102', you don't need to do the same steps.
that means your router is in the normal mode.

'wri' stands for 'write memory', let the router save your configuration/change you made.

it's the same as the command 'copy running-config startup-config'.

hope it helps.
0
 
wuitsungAuthor Commented:
Thank you. So what should I do now? I should run this command 'copy running-config startup-config' everytime I change configuration?
0
 
kanlueCommented:
only do 'wri' or 'copy running-config startup-config' to save config to nvram when you think that you need to save the configuration/change that you made, if you don't save it, you will lost it after reload/reboot.
0
 
wuitsungAuthor Commented:
Ok. Thank you! so this apply to all cisco router? They don't automatically save the configuration? we always have to run the command to save them?
0
 
kanlueCommented:
yes, you got it.
0
 
wuitsungAuthor Commented:
Ok!! Thank you very much!! very appriciate it!
0
 
kanlueCommented:
you are very welcome.
0
 
wuitsungAuthor Commented:
Hi kanlue,

    Do you know how to solve this problem? http://www.experts-exchange.com/Hardware/Networking_Hardware/Routers/Q_23486984.html
Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.