Solved

Remote Access

Posted on 2002-04-12
5
118 Views
Last Modified: 2011-09-20
Hello experts:

Got a problem that has recently started.  We recently setup Routing and Remote Access so I could dialup to our server from home.  I receive an address via dhcp.  When I ping the server from home, the ip address is 192.168.1.115.  

The problem is, when I connect back to the network in the office, and try to ping server, it still displays 192.168.1.115, instead of its local ip address 192.168.1.90.

I've used nbtstat -RR and -R to clear the cache and reload netbios name servers, but still seem to have the problem.  The server is Windows 2000 Server running AD.

How can I resolve this problem?

Thanks

E
0
Comment
Question by:escheider
  • 3
5 Comments
 
LVL 7

Accepted Solution

by:
jatcan earned 25 total points
ID: 6938935
-----192.168.1.115, instead of its local ip address 192.168.1.90.-----


These are your servers? Or YOUR IP's on your local machine?

Either way have you tried releasing all network settings? Flushing the dns cache? Re-registering the dns names and finally renewng the lease?

command prompt:

ipconfig /release
ipconfig /flushdns
ipconfig /registerdns
ipconfig /renew

one more thing you may want to try is disabling the cached logon settings and the local dns cache should be set to a ttl of 1(so it expires right away and the lagged/timeouts you're receiving will not be caused by your own machine) in the registry--

Set Local DNS Cache ttl to 1:

When a Windows 2000 DNS client sends a request, the entry is serviced by the client-side cache, until the TTL has expired.

This can give the impression that 'round robin' isn't occuring.

To view the client-side DNS cache, type: ipconfig /displaydns

To flush the cache, type: ipconfig /flushdns

While you can't disable the cache, you can set TTL to 1:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters

Edit or Add Value name MaxCacheEntryTtlLimit, a type REG_DWORD, and set the data value to 1.

AND disabling Domain logon cache:

HKEY_LOCAL_MACHINE\SYSTEM\software\microsoft\windowsnt\currentversion\winlogon

change the value of "cachedlogonscount" string value from the efault of 10 to 0

Reboot and give it a go to see if I know what I'm doing or not?

Cheers.


0
 
LVL 4

Author Comment

by:escheider
ID: 6940558
I'll give it a whirl the next time I run into this issue and grade accordingly
0
 
LVL 1

Expert Comment

by:ymash
ID: 6943455
Well, I assume that when you go form home to teh office you shutdown your PC, so all teh DNS and WINS cache should be already flushed! make sure you don't have any entrees in the hosts or LMHosts files. Also, why does the server have 2 IP addresses on the same network? and is the server registering both IP's with the WINS or DNS servers?
0
 
LVL 4

Author Comment

by:escheider
ID: 6961407
ymash:

When I dial into the server, RRAS is assigning address to the remote laptop and the dialup connection.  I have not seen any remnants in the WINS database to correspond to this ip address (192.168.1.115)

LMHosts and Hosts files are clean...

I haven't had the problem in over a week, so haven't been able to try out any solution yet.
0
 
LVL 4

Author Comment

by:escheider
ID: 6973727
I have not had this problem since the this question was opened, and do not want to keep this active.

Thanks for everyones help.

E
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Find out what Office 365 Transport Rules are, how they work and their limitations managing Office 365 signatures.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 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