Solved

Windows route add of persistent static routes failed

Posted on 2011-09-07
8
745 Views
Last Modified: 2012-05-12

I'll insert more details in the next 5 hours but this is the issue I'm facing:

I have 2 LAN NIC :
one of them, pre-existing & connected all these while are working
fine & its gateway is the default gateway for this server.

I just connected another cable (from another LAN) which was tested
working on my laptop to LAN 2 : by connecting/disconnecting & observing
status of LAN 2's network "Status" from Windows 2003, I'm positive this
port is LAN 2 which shows as "Connected" now (after I did "Repair" on
LAN 2, then it got activated).  I've assigned an IP addr & mask to LAN 2
but without gateway set on this NIC port

However, when I tried to add a persistent static route (the exact persistent
route command which I previously (errr about 2 weeks ago) was able to add
successfully on my laptop, it rejected with an error that the gateway was
unreachable or not on the same subnet.  The command was "route add
192.168.128.0 Mask 255.255.252.0 192.168.200.1 -p"

I'll attach the exact screen shot & commands in a few hours' time
0
Comment
Question by:sunhux
  • 5
  • 3
8 Comments
 
LVL 14

Accepted Solution

by:
setasoujiro earned 500 total points
ID: 36494239
if you want to add a route , there is also a gateway needed.
you need to set a gateway on the second nic for LAN2 and then add the route as:
192.168.128.0 Mask 255.255.252.0 gatewayoflan2 -p
0
 

Author Comment

by:sunhux
ID: 36495339

"gatewayoflan2" was as indicated in the 1st post ie 192.168.200.1

Attached the MSWord file which gives more details



Appreciate further inputs
NIC2persistaticroute.doc
0
 
LVL 14

Assisted Solution

by:setasoujiro
setasoujiro earned 500 total points
ID: 36495999
yes but you say:
I've assigned an IP addr & mask to LAN 2
but without gateway set on this NIC port

the error means that .200.1 is NOT in the subnet you provided :
191.168.128.1 - 191.168.131.254

0
 

Author Comment

by:sunhux
ID: 36500492

Yes, I assigned IP addr & mask only to LAN 2 but without gateway
as I wanted to add static persistent route for the subnet on LAN 2.

Strange that when I used a laptop 2-3 weeks ago to add the same
persistent static route, it went through but not this time with the
server.  I'll repeat what I did again with the laptop
0
Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

 

Author Comment

by:sunhux
ID: 36503703

Hmm strange, I defined the default gateway on LAN2 as 192.168.200.1 (with
the same IP addr & mask left there) : an error pops up to say 192.168.200.1 is
not on the same subnet & it asked if I wanted to proceed to which I replied Yes
& bingo, it works : both LAN1 & LAN2 have their respective default gateways
(which I never expect one server can have 2 default gateways at the same
 time).  I can now reach 172.x.y.z subnets/networks via Lan1 & 192.168.a.b
subnets via Lan2 (where a is probably 140 & not 128 as I indicated earlier)
0
 

Author Comment

by:sunhux
ID: 36503710

Any further comments?  If not, I'll close this thread in 2 days' timje
0
 
LVL 14

Assisted Solution

by:setasoujiro
setasoujiro earned 500 total points
ID: 36506153
i thought so (about the .140)
but a server can surely have more then one gateway...
the only thing to check is your routing table is correct.

consider awarding points though
0
 

Author Closing Comment

by:sunhux
ID: 36518152
ok
0

Featured Post

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Internet Speed Test 5 101
How to install USMT 11 87
Microsoft License Verification Process?? 12 147
Linksys 4 port wireless router 62 46
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

896 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

14 Experts available now in Live!

Get 1:1 Help Now