LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 03-23-2003, 05:51 PM   #1
guanyu
Member
 
Registered: Jul 2001
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111

Rep: Reputation: 15
dhcp weird but running


Guys,
I am having a weird problem. My Redhat Host name is aztech. My DHCP is running and all my clients(Winxp and Win98) managed to grab the ip. So When I was trying to access my local web server(apache), http://aztech only winxp can access it. I am pretty sure I have edit all the win9x hosts(192.168.1.1 aztech). Only access by http://192.168.1.1 it worked for my win98 clients.When I ping from my win98 to aztech( ping aztech instead of ip),It showed client ip instead gateway. Any idea?
 
Old 04-01-2003, 02:46 PM   #2
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
Are you running DNS or Samba on your RedHat machine? You will need a name resolution method for your Windows machines to use in order to resolve the name aztech to an IP. Setting up DNS isn't as hard as it looks, and for a single host it's not to tough...

You will need to install BIND, pick a domain name, and edit a zone file in /var/named for the domain name you picked that will contain the aztech host. Example: "domain.com" /var/named/domain.com.zone:
@ 1D IN SOA domain.com. root.localhost. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
@ 1D IN NS aztech.domain.com.
@ 1D A 192.168.1.1
aztech 1D A 192.168.1.1
(You also need to adjust /etc/named.conf to point to this new zone file):
zone "domain.com" IN {
type master;
file "domain.com.zone";
allow-update { none; };
};

Once that is working, you can adjust dhcpd.conf to deliver the IP of your Linux machine (which is now running DNS) to your Windows machines, along with a search domain:
{
...
option domain-name "domain.com";
option domain-name-servers 192.168.1.1;
...
}

Good luck!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP problem, very weird thordahl Linux - Networking 6 05-22-2005 04:40 PM
Weird card problem - DHCP returning IPv6 address lacitpo Linux - Wireless Networking 2 03-16-2005 11:28 PM
esd acts weird when not running xmms etc. as root intense Linux - General 1 03-24-2004 06:30 PM
running servers with DHCP??? wiredX Linux - Security 4 07-14-2003 04:01 AM
DHCP Network issue. Weird.... DrGannon Linux - Networking 3 06-16-2003 10:49 AM


All times are GMT -5. The time now is 05:19 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration