dbTalk Databases Forums  

Changed server NIC and IP address; can't connect to sql server

microsoft.public.sqlserver.setup microsoft.public.sqlserver.setup


Discuss Changed server NIC and IP address; can't connect to sql server in the microsoft.public.sqlserver.setup forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mat
 
Posts: n/a

Default Changed server NIC and IP address; can't connect to sql server - 01-09-2010 , 10:43 AM






I changed the nic on a sql server 2008 server and gave the server a new
ip address. The server has access to the LAN and the internet, but I
can't connect to it using odbc from any other box on the lan. The sql
server can be pinged from other machines and is generally ok on the
network, other than the sql server aspect.

I read somewhere that sql server does not keep an eye out for IP address
changes, but so far have not found anything definitive re this issue or
a fix.

Reply With Quote
  #2  
Old   
Dave Patrick
 
Posts: n/a

Default Re: Changed server NIC and IP address; can't connect to sql server - 01-09-2010 , 05:32 PM






On the server-side you may need to register

ipconfig /registerdns


Client-side you may need to flush

ipconfig /flushdns



--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"mat" wrote:
Quote:
I changed the nic on a sql server 2008 server and gave the server a new
ip address. The server has access to the LAN and the internet, but I
can't connect to it using odbc from any other box on the lan. The sql
server can be pinged from other machines and is generally ok on the
network, other than the sql server aspect.

I read somewhere that sql server does not keep an eye out for IP address
changes, but so far have not found anything definitive re this issue or
a fix.

Reply With Quote
  #3  
Old   
mat
 
Posts: n/a

Default Re: Changed server NIC and IP address; can't connect to sql server - 01-09-2010 , 06:12 PM



Thanks for the reply. Those commands did not help.

Something else that is strange is that even though the sql server
browser service is running on both boxes, the expected server is not
shown on the client side odbc dialog when the server dropdown list is
opened.

The server is called Server02. It's sql server is 2008 express. I would
expect to see Server02\sqlexpress listed, but it's not there. Instead I
see "Server02", as if it'd been set up as the default instance. Using
Server02 as the server name fails also. And, on the server02 box, the
odbc server dropdown list does show the sql instance as Server02
\sqlexpress.

Hopefully that provides enough of a clue for someone to diagnose this.

In article <Odlz0PYkKHA.3792 (AT) TK2MSFTNGP02 (DOT) phx.gbl>,
DSPatrick (AT) nospam (DOT) gmail.com says...
Quote:
On the server-side you may need to register

ipconfig /registerdns


Client-side you may need to flush

ipconfig /flushdns

Reply With Quote
  #4  
Old   
Dave Patrick
 
Posts: n/a

Default Re: Changed server NIC and IP address; can't connect to sql server - 01-09-2010 , 06:18 PM



Try substituting the ip address for the server name. If that works then it
is probably a stale DNS records issue.



--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"mat" wrote:
Quote:
Thanks for the reply. Those commands did not help.

Something else that is strange is that even though the sql server
browser service is running on both boxes, the expected server is not
shown on the client side odbc dialog when the server dropdown list is
opened.

The server is called Server02. It's sql server is 2008 express. I would
expect to see Server02\sqlexpress listed, but it's not there. Instead I
see "Server02", as if it'd been set up as the default instance. Using
Server02 as the server name fails also. And, on the server02 box, the
odbc server dropdown list does show the sql instance as Server02
\sqlexpress.

Hopefully that provides enough of a clue for someone to diagnose this.

Reply With Quote
  #5  
Old   
mat
 
Posts: n/a

Default Re: Changed server NIC and IP address; can't connect to sql server - 01-09-2010 , 07:22 PM



I should have mentioned that I tried that 'long ago'. Using the IP
address does not help. This is really vexing...

In article <uVxlvpYkKHA.4380 (AT) TK2MSFTNGP04 (DOT) phx.gbl>,
DSPatrick (AT) nospam (DOT) gmail.com says...
Quote:
Try substituting the ip address for the server name. If that works then it
is probably a stale DNS records issue.

Reply With Quote
  #6  
Old   
Dave Patrick
 
Posts: n/a

Default Re: Changed server NIC and IP address; can't connect to sql server - 01-09-2010 , 08:21 PM



Maybe this one helps.

http://support.microsoft.com/kb/244980



--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"mat" wrote:
Quote:
I should have mentioned that I tried that 'long ago'. Using the IP
address does not help. This is really vexing...

Reply With Quote
  #7  
Old   
mat
 
Posts: n/a

Default Re: Changed server NIC and IP address; can't connect to sql server - 01-09-2010 , 08:58 PM



It's not a cluster of course. But I did poke around in that area. Not
sure if anything is wrong there or not, everything looks ok.

I decided to change the ip address back to the original and it's still
not visible or available to other machines on the lan. The sql server is
set to allow remote connections. What else can I try?

In article <#gAbtuZkKHA.4500 (AT) TK2MSFTNGP06 (DOT) phx.gbl>,
DSPatrick (AT) nospam (DOT) gmail.com says...
Quote:
Maybe this one helps.

http://support.microsoft.com/kb/244980

Reply With Quote
  #8  
Old   
Dave Patrick
 
Posts: n/a

Default Re: Changed server NIC and IP address; can't connect to sql server - 01-09-2010 , 09:20 PM



Why was the NIC changed? What errors in the system event log?



--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"mat" wrote:
Quote:
It's not a cluster of course. But I did poke around in that area. Not
sure if anything is wrong there or not, everything looks ok.

I decided to change the ip address back to the original and it's still
not visible or available to other machines on the lan. The sql server is
set to allow remote connections. What else can I try?

Reply With Quote
  #9  
Old   
mat
 
Posts: n/a

Default Re: Changed server NIC and IP address; can't connect to sql server - 01-09-2010 , 10:19 PM



It's an older box with 100 gbit nic; newer is a gigabit lan card. The
built in nic is disabled now, and after it was disabled I changed it's
ip address, else couldn't assign that ip to the new nic.

There are no erros for sql server in the log.

In article <e9InmPakKHA.1536 (AT) TK2MSFTNGP06 (DOT) phx.gbl>,
DSPatrick (AT) nospam (DOT) gmail.com says...
Quote:
Why was the NIC changed? What errors in the system event log?

Reply With Quote
  #10  
Old   
Dave Patrick
 
Posts: n/a

Default Re: Changed server NIC and IP address; can't connect to sql server - 01-09-2010 , 10:31 PM



Seems like it should have worked. You may want to examine logs from within
Management Studio under SQL Server Agent\Error Logs and or follow up with
the errors generated client side.


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"mat" wrote:
Quote:
It's an older box with 100 gbit nic; newer is a gigabit lan card. The
built in nic is disabled now, and after it was disabled I changed it's
ip address, else couldn't assign that ip to the new nic.

There are no erros for sql server in the log.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.