+ Post New Thread
Results 1 to 11 of 11
Wireless Networks Thread, Using hosts file in Technical; I have a seperated network that my servers backup over. The servers which utilize it have a second nic and ...
  1. #1

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    12,965
    Thank Post
    587
    Thanked 1,494 Times in 1,340 Posts
    Rep Power
    397

    Using hosts file

    I have a seperated network that my servers backup over.

    The servers which utilize it have a second nic and a 192.168.1.x ip address.

    The cdp server backs them up over this network to a terastation.

    On the cdp server there is an entry in the hosts file for 192.168.1.1 ts01.

    The cdp server is configured to backup the hosts to \\ts01\backup\cdp.

    I've recently copied all the data from ts01 to a new file storage server which is named cdpserver02.

    I changed the host entry to be 192.168.1.6 ts01, .6 being cdpserver02's ip.

    I can connect to \\192.168.1.6\backup\cdp but not \\ts01\backup\cdp.

    If I try to connect to \\ts01\backup\cdp I get an error telling me there is a duplicate name on the network and to go into control panel to change the computer name.

    Any ideas?

    Ben

  2. #2

    Join Date
    Oct 2005
    Posts
    768
    Thank Post
    49
    Thanked 99 Times in 89 Posts
    Rep Power
    61
    Have you tried a nice simple "ipconfig /flushdns" - it may be that simple.

    Edit: ... and probably worth clearing your ARP cache too.

  3. #3

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    12,965
    Thank Post
    587
    Thanked 1,494 Times in 1,340 Posts
    Rep Power
    397
    Done a flushdns on it, rebooted the server in question as well.

    The reason I set it up like this in case anyone is wondering is that the cdp software doesn't provide a way to migrate the data store nicely from one host to another so I thought this would be a solution.

    Ben

  4. #4
    AshEarl's Avatar
    Join Date
    Apr 2010
    Location
    South Lincolnshire,UK
    Posts
    25
    Thank Post
    2
    Thanked 5 Times in 5 Posts
    Rep Power
    0
    Do you have any dns servers set up in your network settings on the first nic? Does your ts01 have any other cards in it that could be registered in DNS elsewhere. I had a similar issue once....drove me mad till I realised what I had done!

  5. #5

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    12,965
    Thank Post
    587
    Thanked 1,494 Times in 1,340 Posts
    Rep Power
    397
    The original ts01 only had one nic and that just had the 192.168.1.1 address.

    Both cdpserver01 and cdpserver02 have other nics which are connected to our lan with dns setup.

    Ben

  6. #6

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    12,965
    Thank Post
    587
    Thanked 1,494 Times in 1,340 Posts
    Rep Power
    397
    Ok just double checked in dns and there was an old static entry in there for ts01 so removed that but still not joy.

    If on cdpserver01 I ping ts01 it pings 192.168.1.6 which is the correct ip address as per the hosts file but I cannot connect via unc using the name.



    Ben
    Attached Images Attached Images

  7. #7

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,215
    Thank Post
    2,766
    Thanked 935 Times in 875 Posts
    Rep Power
    343
    If you do an nslookup on ts01 does it resolve to the correct ip address and also is ts01 the name of the old server.

    If so I would use the hostname of the new server instead of relying on the host file pointing it to the 192.168.1.6

  8. #8
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    842
    Thank Post
    76
    Thanked 225 Times in 185 Posts
    Rep Power
    80
    Try putting a 3 part fqdn in hosts and use that instead of just machine name - don't think hosts file overrides netbios, which I suspect is your issue.

  9. #9

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    12,965
    Thank Post
    587
    Thanked 1,494 Times in 1,340 Posts
    Rep Power
    397
    Quote Originally Posted by mac_shinobi View Post
    If you do an nslookup on ts01 does it resolve to the correct ip address and also is ts01 the name of the old server.

    If so I would use the hostname of the new server instead of relying on the host file pointing it to the 192.168.1.6
    The path that the cdp server is looking for is \\ts01\backup\cdp I need to replicate that on the new box or go back to the old terastation for storage still I was just trying to migrate my data to larger storage.

    Ben

  10. #10

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    12,965
    Thank Post
    587
    Thanked 1,494 Times in 1,340 Posts
    Rep Power
    397
    Quote Originally Posted by Marci View Post
    Try putting a 3 part fqdn in hosts and use that instead of just machine name - don't think hosts file overrides netbios, which I suspect is your issue.
    nope gives the same error.

    Ben

  11. #11

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    12,965
    Thank Post
    587
    Thanked 1,494 Times in 1,340 Posts
    Rep Power
    397
    Right ok looks like I've solved it it was down to the fact that because the remote servers real name is cdpserver02 and not ts01.

    I think I'll have to throw some dns into the mix to be able to use and an alias.

    For now I've renamed cdpserver02 to ts01 and can connect to the share with all the data intact from cdpserver01.

    Ben

SHARE:
+ Post New Thread

Similar Threads

  1. Who hosts their own Moodle?
    By gshaw in forum Virtual Learning Platforms
    Replies: 24
    Last Post: 15th January 2009, 04:50 PM
  2. [CLOSED] Misc: Our hosts went down
    By Dos_Box in forum EduGeek.net Site Problems
    Replies: 18
    Last Post: 18th April 2008, 09:52 AM
  3. Web Hosts
    By thom in forum Recommended Suppliers
    Replies: 11
    Last Post: 19th October 2007, 09:28 AM
  4. Hosts file not working
    By Zoom7000 in forum Windows
    Replies: 7
    Last Post: 27th February 2007, 12:14 PM
  5. Local HOSTS file ignored on a domain
    By eejit in forum Windows
    Replies: 19
    Last Post: 24th June 2005, 02:10 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •