Kevin Brosius on Wed, 13 Feb 2002 15:50:20 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] name resolution


David Hull wrote:
> 
> This does not appear to be the problem.  I have samba configured and
> working properly.  My /etc/hosts file is set up the same way for
> linux_box_2 as it is for linux_box_1, except of course the names and IP
> addresses are different.  I assume the dns server is the router, as it

Hmm, did you really mean to say this?  On a small network I would expect
the names and IP's to be identical in all the host files on Linux
systems.  That's how you guarantee they all have the correct name/IP
mapping.  Is this not the case?  If so, that's why you can't
ping/telnet/ssh between box 2 and box 1 using the names.  Doing it from
a Windows box is a different problem, although as someone mentioned you
can use /windows/hosts in a similar way.  (At least Win95 supported it. 
I haven't tried it recently.)


> is what assigns all the private IP addresses on our subnet.  The router
> recognizes the netbios name of linux_box_2, but the rest of the machines
> on the network do not.
> 
> >the windows-style networking on the linux side would be
> >samba (assuming you have it running); at the least you
> >can try making the "workgroup"
> >value in /etc/samba/smb.conf or /etc/smb.conf the same
> >workgroup as you have set up in windows.  Part of the
> >confusion is probably because the netbios name of
> >the linux box defaults to its tcp/ip hostname too.
> >there is also an /etc/samba/lmhosts  config for samba (but
> >personally I never had to configure anything in there).
> >
> >for tcp/ip networking that would be different, i.e,
> >/etc/hosts on linux side and c:\???\hosts on the
> >windows side. or your own dns server.
> >
> >jondz

______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug