[Samba] how do I resolve local machine names for a windows 2k
network?
Peter Atkin
peter at computer-facilities.com
Sun Oct 26 19:59:59 GMT 2003
I am having problem resolving local machine names from the workstaions, but I can resolve
them from the server e.g.
If I ping from the local server "mail.cf.com" I get..
PING mail.cf.com (10.0.0.1) from 10.0.0.100 : 56(84) bytes of data.
64 bytes from mail.cf.com (10.0.0.1): icmp_seq=1 ttl=128 time=0.274 ms
....
but if i ping from the workstation "mail.cf.com" I get..
Unknown host mail.cf.com
Am am not sure what to to next I have tried adding the local server to the route
"route del default gw 10.0.0.100" when I did that all my internet access died and I still
could not ping by name the mail server.
If I do "netstat -nr" i get:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
213.177.164.84 0.0.0.0 255.255.255.252 U 40 0 0 eth0
10.0.0.0 0.0.0.0 255.255.255.0 U 40 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo
0.0.0.0 213.177.164.85 0.0.0.0 UG 40 0 0 eth0
I have setup the the following files:
/etc/hosts
127.0.0.1 localhost.localdomain localhost
10.0.0.1 mail.cf.com mail
10.0.0.100 smb_server smb
10.0.0.10 hp4500n hp
/etc/resolv.conf
order hosts, bind
multi on
nameserver 213.177.165.49
nameserver 213.177.165.57
nameserver 203.37.255.97
domain localdomain
; generated by /sbin/dhclient-script
/etc/dhcpd.conf
#/etc/dchpd.conf
#Server should start from 1 to 19
#Printers should start from 20 to 29
#Users should be DHCP from x.x.x.110 to x.x.x.150
authoritative;
ddns-update-style interim;
deny duplicates;
deny client-updates;
always-broadcast on;
subnet 10.0.0.0 netmask 255.255.255.0 {
range 10.0.0.110 10.0.0.150;
default-lease-time 300;
max-lease-time 300;
option pop-server 10.0.0.1;
option smtp-server 10.0.0.1;
option routers 10.0.0.100;
option nntp-server 10.0.0.100;
option ip-forwarding off;
option time-servers 132.236.56.250;
option broadcast-address 10.0.255.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 213.177.165.49, 213.177.165.57;
}
Does anyone know whats up, I have not had any success with finding solutions here, if I am
not following protocal, not explaining my problem well, or i just being dumb please inform
me so I can learn..
Kind Regards
Peter
Oooo
(O O) ( ) Oooo
--oooO--(_)--Oooo------------------------------------\ (-( )--
COMPUTER FACILITIES \_) ) /
---------------------------------------------------------(_/----
Postal Address Delivery Address Contacts
----------------------------------------------------------------
P.O.Box 21558 61 Bukoto Street support at computer-facilities.com
Kampala Kamwokya
Uganda Kampala Tel 256-(0)41-533784
East Africa Uganda Fax 256-(0)41-540380
East Africa e-Fax 1-206-350-3375 (USA)
----------------------------------------------------------------
More information about the samba
mailing list