Solved

Should I create route for the attached network?

Posted on 2008-06-12
24
271 Views
Last Modified: 2011-10-19
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
0
Comment
Question by:wuitsung
  • 12
  • 12
24 Comments
 
LVL 7

Expert Comment

by:kanlue
ID: 21774596
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
 

Author Comment

by:wuitsung
ID: 21774625
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
 
LVL 7

Expert Comment

by:kanlue
ID: 21774661
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
 
LVL 7

Accepted Solution

by:
kanlue earned 300 total points
ID: 21774688
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
 

Author Comment

by:wuitsung
ID: 21775054
yes, exactly
0
 

Author Comment

by:wuitsung
ID: 21775065
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
 
LVL 7

Expert Comment

by:kanlue
ID: 21775989
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
 

Author Comment

by:wuitsung
ID: 21776045
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
 
LVL 7

Expert Comment

by:kanlue
ID: 21777152
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
 

Author Comment

by:wuitsung
ID: 21780204
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
 
LVL 7

Expert Comment

by:kanlue
ID: 21780348
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
 

Author Comment

by:wuitsung
ID: 21780411
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 7

Expert Comment

by:kanlue
ID: 21780533
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
 

Author Comment

by:wuitsung
ID: 21780577
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
 
LVL 7

Expert Comment

by:kanlue
ID: 21780694
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
 

Author Comment

by:wuitsung
ID: 21780820
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
 
LVL 7

Expert Comment

by:kanlue
ID: 21780874
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
 

Author Comment

by:wuitsung
ID: 21780980
Thank you. So what should I do now? I should run this command 'copy running-config startup-config' everytime I change configuration?
0
 
LVL 7

Expert Comment

by:kanlue
ID: 21781082
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
 

Author Comment

by:wuitsung
ID: 21781101
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
 
LVL 7

Expert Comment

by:kanlue
ID: 21781166
yes, you got it.
0
 

Author Comment

by:wuitsung
ID: 21781216
Ok!! Thank you very much!! very appriciate it!
0
 
LVL 7

Expert Comment

by:kanlue
ID: 21781234
you are very welcome.
0
 

Author Comment

by:wuitsung
ID: 21790559
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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

While it is possible to put two routes in place with the secondary having a higher metric, this may not always work. In the event of a failure that does not bring down the physical interface on the router the primary route is not removed. There is a…
Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
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…

707 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

12 Experts available now in Live!

Get 1:1 Help Now