help with linux networking

Scootin159

Diamond Member
Apr 17, 2001
3,650
0
76
I setup a linux box on our campus network. It's IP# is 10.2.30.137, yet when I try to ping "bart.roberts.edu" it tries to ping 10.1.2.20 (an IP# from a machine named bart I used last year). This is real annoying because I can't ues it's DNS name. Any ideas how to fix this? BTW, I'm pretty much a linux no0b, so it might explain some ignorance on my part.
 

Scootin159

Diamond Member
Apr 17, 2001
3,650
0
76


<< Also check to make sure you don't have any entries (If you do, change them) in your /etc/hosts >>



I have 127.0.0.1 localhost.localdomain localhost in there, is this ok?
 

Scootin159

Diamond Member
Apr 17, 2001
3,650
0
76


<< Fix your /etc/resolv.conf >>



I have:
nameserver 10.2.1.200
nameserver 10.1.1.186
search roberts.edu

Those are the correct IP#'s for our DNS servers, so should I change anything?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<<

<< Also check to make sure you don't have any entries (If you do, change them) in your /etc/hosts >>



I have 127.0.0.1 localhost.localdomain localhost in there, is this ok?
>>



Thats fine.



<< I have:
nameserver 10.2.1.200
nameserver 10.1.1.186
search roberts.edu

Those are the correct IP#'s for our DNS servers, so should I change anything?
>>



Those are your *CURRENT* dns servers? If so, it looks fine to me. If bart (the wrong bart) is not in either of those files I dont know where it would get that config from, but Id grep for it in the /etc directory.
 

Scootin159

Diamond Member
Apr 17, 2001
3,650
0
76
those are our 'current' DNS servers. The 'other' bart is the IP# that I had on a win2k server box last year (long gone). When I ping it with any other box on the network I get the same, wrong, IP.



<< Id grep for it in the /etc directory. >>


how would I do that? What is that?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< those are our 'current' DNS servers. The 'other' bart is the IP# that I had on a win2k server box last year (long gone). When I ping it with any other box on the network I get the same, wrong, IP.



<< Id grep for it in the /etc directory. >>


how would I do that? What is that?
>>



man grep

Basically something along the lines of: grep bart /etc/*

grep is possibly one of the most useful UNIX commands. Get to know it, its saved me a lot of work MANY times.
 

Scootin159

Diamond Member
Apr 17, 2001
3,650
0
76
thanks for the info guys. From the sounds of it (from another conversation) my old win2k server box locked bart.roberts.edu into being 10.1.20.22 in the active directory. So I'm just going to manually assign it :) (working on that now, I'll ask if I can't figure it out).