Networking Forums

Networking Forums > Computer Networking > Linux Networking > DNS on a Windows network.

Reply
Thread Tools Display Modes

DNS on a Windows network.

 
 
mpersico
Guest
Posts: n/a

 
      07-18-2005, 02:03 AM
Ok, I know that too many things changed at once, but here it goes:

Old setup:
WinXP on one box, Mandrake on another, Linksys wireless router and a
DSL modem to Verizon.

Under this system I was able to use DHCP (on the Linksys) and all boxes
could ping one another by name.

New setup:
WinXP, Fedora. Dlink-604 router connected directly to Verizon via FiOS.

Under this system I am able to use DHCP (on the Dlink) and the DHCP
server sees all the boxes with their names, but I cannot ping WinXP box
from Fedora and vice versa.

I guess the Linksys was also running a local DNS server(?!?).

I'm thinking that since my network is pretty static (five boxes tops),
why not just put a hosts file on all boxes and be done with it.

Comments?

 
Reply With Quote
 
 
 
 
Menno Duursma
Guest
Posts: n/a

 
      07-18-2005, 08:57 AM
On Sun, 17 Jul 2005 19:03:30 -0700, mpersico wrote:

> Under this system I am able to use DHCP (on the Dlink) and the DHCP
> server sees all the boxes with their names, but I cannot ping WinXP box
> from Fedora and vice versa.
>
> I guess the Linksys was also running a local DNS server(?!?).
>
> I'm thinking that since my network is pretty static (five boxes tops),
> why not just put a hosts file on all boxes and be done with it.


Sure, you could do that.

> Comments?


Any box you plug in (such as a laptop) would need to be added to all hosts
files for it to intergrade ... But you could use NBNS (NetBIOS Name
Service) instead.

On Linux you'd need Samba installed and the "nmbd" service running for
others to resolf it's name that way. And maybe to /etc/samba/smb.conf add:

lm annouce = yes

For Linux to resolf names itself that way, edit /etc/nsswitch.conf to:

hosts: files dns wins

--
-Menno.

 
Reply With Quote
 
Michael Surette
Guest
Posts: n/a

 
      07-19-2005, 06:00 PM
mpersico wrote:
> Ok, I know that too many things changed at once, but here it goes:
> ...
> Under this system I am able to use DHCP (on the Dlink) and the DHCP
> server sees all the boxes with their names, but I cannot ping WinXP box
> from Fedora and vice versa.


Can you ping using IP addresses? If so you have a DNS problem, if not,
it's a routing problem.

> I guess the Linksys was also running a local DNS server(?!?).


Actually the linksys is running dnsmasq (check out their website for GPL
code.) You could run that on your Linux system if it's always on. Just
give the router and the Linux machine static IPs and turn the DHCP off
on the Dlink router. Everything is now automatic again.

Mike

 
Reply With Quote
 
mpersico
Guest
Posts: n/a

 
      07-27-2005, 12:42 AM


Michael Surette wrote:
> mpersico wrote:
> > Ok, I know that too many things changed at once, but here it goes:
> > ...
> > Under this system I am able to use DHCP (on the Dlink) and the DHCP
> > server sees all the boxes with their names, but I cannot ping WinXP box
> > from Fedora and vice versa.

>
> Can you ping using IP addresses? If so you have a DNS problem, if not,
> it's a routing problem.


ok by ip - DNS problem.

>
> > I guess the Linksys was also running a local DNS server(?!?).

>
> Actually the linksys is running dnsmasq (check out their website for GPL
> code.) You could run that on your Linux system if it's always on. Just
> give the router and the Linux machine static IPs and turn the DHCP off
> on the Dlink router. Everything is now automatic again.


Linux box is not always on. I'll probably just give it a static address
and put its entry in hosts for machines I want to talk to it.
>
> Mike


 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos XP windows network DHCP DNS Zonealarm Conflicts -> can talklinux to windows network OR www not both mike Linux Networking 3 06-06-2008 01:03 AM
Windows 2008 versus Windows 2000, network pauses Ross Sharp Windows Networking 0 06-03-2008 11:18 AM
problem: windows server 2003 not sharing/accepting network host names from windows xp Samuel Proulx Windows Networking 2 07-20-2006 11:40 AM
Windows 2000 client can't map network drive on windows server 2003 John Xie Windows Networking 1 05-31-2005 04:07 PM
Installing a windows xp workstation to an existing windows 98SE network dmalcam @aol.com Windows Networking 1 12-16-2003 04:13 PM



1 2 3 4 5 6 7 8 9 10 11