sunhux
asked on
Windows route add of persistent static routes failed
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
ASKER
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)
ASKER
Any further comments? If not, I'll close this thread in 2 days' timje
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok
ASKER
"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