Thread View: bln.comp.unix
5 messages
5 total messages
Started by Adam Meyerowitz
Thu, 15 Nov 2001 01:32
DHCP and DNS setup
Author: Adam Meyerowitz
Date: Thu, 15 Nov 2001 01:32
Date: Thu, 15 Nov 2001 01:32
24 lines
2007 bytes
2007 bytes
Hello, I attempting to setup DHCP on my Solaris 8 box and having some difficulties. DHCP works fine. My machine gets and IP address, etc. However I cannot get DNS to work. I have modified /etc/nsswitch.conf to include dns in the hosts entry. I have also created the /etc/resolv.conf and added two nameserver entries. As a last ditch effort I have also modified /etc/default/dhcpagent to attempt to get the nameservers through dhcp (one of the lines let's you add the dhcp numbers of configuration items that should be retrieved during the dhcp discovery process.....I can't recall which line it is). On our network we also have Windows 2000 machines which are all configured to get the ip address information as well as the dns information from the dhcp server. All of this works as expected. Also, I believe our dhcp server is a Windows NT or 2000 machine. Any help would be greatly appreciated. Thanks, Adam
Re: DHCP and DNS setup
Author: sa5kia
Date: Thu, 15 Nov 2001 06:11
Date: Thu, 15 Nov 2001 06:11
30 lines
2413 bytes
2413 bytes
Did you also added your domainname in your /etc/resolv.conf? "Adam Meyerowitz" <ameyerow@optonline.com> wrote in message news:MPG.165b967c9780bf8d98968b@news.optonline.net... > Hello, > > I attempting to setup DHCP on my Solaris 8 box and having some > difficulties. > > DHCP works fine. My machine gets and IP address, etc. However I cannot > get DNS to work. I have modified /etc/nsswitch.conf to include dns in > the hosts entry. I have also created the /etc/resolv.conf and added two > nameserver entries. As a last ditch effort I have also modified > /etc/default/dhcpagent to attempt to get the nameservers through dhcp > (one of the lines let's you add the dhcp numbers of configuration items > that should be retrieved during the dhcp discovery process.....I can't > recall which line it is). > > On our network we also have Windows 2000 machines which are all > configured to get the ip address information as well as the dns > information from the dhcp server. All of this works as expected. > > Also, I believe our dhcp server is a Windows NT or 2000 machine. > > Any help would be greatly appreciated. > > Thanks, > Adam >
Re: DHCP and DNS setup
Author: Jonathan Hays
Date: Thu, 15 Nov 2001 06:25
Date: Thu, 15 Nov 2001 06:25
16 lines
2051 bytes
2051 bytes
Adam Meyerowitz wrote: > DHCP works fine. My machine gets and IP address, etc. However I cannot > get DNS to work. I have modified /etc/nsswitch.conf to include dns in > the hosts entry. I have also created the /etc/resolv.conf and added two > nameserver entries. As a last ditch effort I have also modified > /etc/default/dhcpagent to attempt to get the nameservers through dhcp > (one of the lines let's you add the dhcp numbers of configuration items > that should be retrieved during the dhcp discovery process.....I can't Post the contents of your /etc/resolv.conf file so we can have a look. Are you sure you have the correct DNS IP addresses? Start with one server. First try pinging the DNS server Next, if the address is 192.168.1.1, try "nslookup - 192.168.1.1" to start an interactive session with the DNS server.
Re: DHCP and DNS setup
Author: Adam Meyerowitz
Date: Thu, 15 Nov 2001 15:21
Date: Thu, 15 Nov 2001 15:21
28 lines
2500 bytes
2500 bytes
Thanks for all the help........I figured it out actually. In the /etc/default/dhcpagent the dhcp client was not configured to ask for the DNS domain name (#15). Once I added that everything works fine. I also got rid of my resolv.conf and added DNSServ to dhcpagent (#6) so now everything is dynamic. I would think that these items should be in there by default but that's water under the bridge. Again I appreciate the help, Adam Meyerowitz Jonathan Hays <jhays@aaahawk.com> wrote in message news:<3BF35FCE.ABD0B1E4@aaahawk.com>... > Adam Meyerowitz wrote: > > > DHCP works fine. My machine gets and IP address, etc. However I cannot > > get DNS to work. I have modified /etc/nsswitch.conf to include dns in > > the hosts entry. I have also created the /etc/resolv.conf and added two > > nameserver entries. As a last ditch effort I have also modified > > /etc/default/dhcpagent to attempt to get the nameservers through dhcp > > (one of the lines let's you add the dhcp numbers of configuration items > > that should be retrieved during the dhcp discovery process.....I can't > > Post the contents of your /etc/resolv.conf file so we can have a look. > > Are you sure you have the correct DNS IP addresses? Start with one server. > First try pinging the DNS server > Next, if the address is 192.168.1.1, try "nslookup - 192.168.1.1" to > start an interactive session with the DNS server.
Re: DHCP and DNS setup
Author: smmgene
Date: Sun, 18 Nov 2001 16:31
Date: Sun, 18 Nov 2001 16:31
36 lines
2758 bytes
2758 bytes
Adam Meyerowitz wrote: > Hello, > > I attempting to setup DHCP on my Solaris 8 box and having some > difficulties. > > DHCP works fine. My machine gets and IP address, etc. However I cannot > get DNS to work. I have modified /etc/nsswitch.conf to include dns in > the hosts entry. I have also created the /etc/resolv.conf and added two > nameserver entries. As a last ditch effort I have also modified > /etc/default/dhcpagent to attempt to get the nameservers through dhcp > (one of the lines let's you add the dhcp numbers of configuration items > that should be retrieved during the dhcp discovery process.....I can't > recall which line it is). > > On our network we also have Windows 2000 machines which are all > configured to get the ip address information as well as the dns > information from the dhcp server. All of this works as expected. > > Also, I believe our dhcp server is a Windows NT or 2000 machine. > > Any help would be greatly appreciated. > > Thanks, > Adam Hello Adam, If I understand your problem correctly, you are unable to get your Solaris8 box onto the internet. OK -- good news , I've had the exact same problem in fact my problem now is to stop the Solaris8 box from loosing its marbles when it is rebooted. Anyway the anwser to your problem is to bring up an terminal log in as root and add a default route, like this : route add default (ip_address of gateway router or proxy server) thats it! Good luck -Gene
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads