DHCP config struggles (serious struggle, or maybe just being stupid ...)


 
Thread Tools Search this Thread
Operating Systems Solaris DHCP config struggles (serious struggle, or maybe just being stupid ...)
# 1  
Old 03-03-2011
MySQL DHCP config struggles (serious struggle, or maybe just being stupid ...)

I have a straaaaaaange problem with a Solaris 10 host acting as a dhcp server. I can not get an ip adress allocated even though the configuration works in an almost exact setup for another Solaris 10 host.

The <host> in question has one piece of BOOTP booting <equipment> hooked up to bge0, with no other network nodes on that network. <equipment> should get an ip address from the host and then read boot files but I can not get the dhcp allocation to work.

The setup that is also used on the other system (called <host2> and <equipment2>, that works(!), is included below with a log from in.dhcpd when running in debug mode. This setup works on the other system, but for <host> <equipment> the dhcp server refuses to allocate the ip address, instead it logs:
BOOTP client: 0100005012608A is looking for a configuration on net 192.168.10.0

Anyone got any bright ideas what's wrong?
/Lars


===========================================

Code:
# ifconfig -a [truncated]
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.10.10 netmask ffffff00 broadcast 192.168.10.255
        ether 0:21:28:46:bb:6c

# cat /etc/inet/dhcpsvc.conf:
DAEMON_ENABLED=TRUE
BOOTP_COMPAT=manual
RESOURCE=SUNWfiles
RUN_MODE=server
PATH=/var/dhcp
CONVER=1
HOSTS_RESOURCE=files
VERBOSE=TRUE
ICMP_VERIFY=TRUE
OFFER_CACHE_TIMEOUT=300
LOGGING_FACILITY=0
INTERFACES=bge0


# dhtadm -P
Name                    Type            Value
==================================================
192.168.10.0             Macro           :Subnet=255.255.255.0:RDiscvyF=1:Broadcst=192.168.10.255:BootFile="bootrom.sys":BootSrvA=192.168.10.10:
Locale                  Macro           :UTCoffst=3600:


# pntadm -L
192.168.10.0
# pntadm -P 192.168.10.0
Client ID       Flags   Client IP       Server IP       Lease Expiration                Macro           Comment

0100005012608A  03      192.168.10.2     <host primary ip>     Zero                            192.168.10.0

dhcp-server log:
Code:
Feb 28 15:32:07 <host> in.dhcpd[9288]: [ID 190620 daemon.info] Daemon started.
Feb 28 15:32:07 <host> in.dhcpd[9288]: [ID 651122 daemon.info] Daemon Version: 3.5
Feb 28 15:32:07 <host> in.dhcpd[9288]: [ID 321393 daemon.info] Maximum relay hops: 4
Feb 28 15:32:07 <host> in.dhcpd[9288]: [ID 731143 daemon.info] Transaction logging to syslog enabled.
Feb 28 15:32:07 <host> in.dhcpd[9288]: [ID 458212 daemon.info] Run mode is: DHCP Server Mode.
Feb 28 15:32:07 <host> in.dhcpd[9288]: [ID 921008 daemon.info] Datastore resource: SUNWfiles
Feb 28 15:32:07 <host> in.dhcpd[9288]: [ID 649530 daemon.info] Location: /var/dhcp
Feb 28 15:32:07 <host> in.dhcpd[9288]: [ID 205230 daemon.info] DHCP offer TTL: 300
Feb 28 15:32:07 <host> in.dhcpd[9288]: [ID 742362 daemon.info] BOOTP compatibility enabled.
Feb 28 15:32:07 <host> in.dhcpd[9288]: [ID 869032 daemon.info] ICMP validation timeout: 1000 milliseconds, Attempts: 1.
Feb 28 15:32:07 <host> in.dhcpd[9288]: [ID 716927 daemon.info] Maximum concurrent clients: 16384
Feb 28 15:32:07 <host> in.dhcpd[9288]: [ID 159529 daemon.info] Maximum threads: 4096
Feb 28 15:32:07 <host> in.dhcpd[9288]: [ID 886918 daemon.info] Read 2 entries from DHCP macro database on Mon Feb 28 15:32:07 2011
Feb 28 15:32:07 <host> in.dhcpd[9288]: [ID 532967 daemon.info] Thread Id: 0003 - Monitoring Interface: bge0 *****
Feb 28 15:32:07 <host> in.dhcpd[9288]: [ID 370501 daemon.info] MTU: 1500  Type: SOCKET
Feb 28 15:32:07 <host> in.dhcpd[9288]: [ID 254940 daemon.info] Broadcast: 192.168.10.255
Feb 28 15:32:07 <host> in.dhcpd[9288]: [ID 862798 daemon.info] Netmask: 255.255.255.0
Feb 28 15:32:07 <host> in.dhcpd[9288]: [ID 528402 daemon.info] Address: 192.168.10.10
Feb 28 15:50:48 <host> in.dhcpd[9288]: [ID 277889 daemon.info] BOOTP client: 0100005012608A is looking for a configuration on net 192.168.10.0
Feb 28 15:51:03 <host> in.dhcpd[9288]: [ID 277889 daemon.info] BOOTP client: 0100005012608A is looking for a configuration on net 192.168.10.0


Last edited by pludi; 03-03-2011 at 05:18 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. IP Networking

Get DHCP relay interfaces IP address using DHCP

Hi All , please view the set up below: ------------------------------------------------------------------- | DHCP Server |-----------| ROUTER & |-----------| Clients | | 192.168.99.1 | - -<eth1>| DHCP-RELAY|<eth2>-- | 192.168.88.X | ... (2 Replies)
Discussion started by: gdangoor
2 Replies

2. Red Hat

Apache virtual host config vs global config problem

Hi folks, I am trying to configure Apache webserver and also a virtual host inside this webserver. For Global server config: /var/www/html/index.html For virtual host config: /var/www/virtual/index.html Both client10 & www10 are pointing to 192.168.122.10 IP address. BUT, MY... (1 Reply)
Discussion started by: freebird8z
1 Replies

3. Shell Programming and Scripting

Dhcp.config file scripting assistance

Hello everyone! I am brand new at this forum thing and wanted to thank all of you for your time and help in advance for helping me troubleshoot my issue. I am fairly new to shell scripting and scoured the entire internet to find a solution for my issue to no avail and hope you're able to help. ... (2 Replies)
Discussion started by: sedrocks
2 Replies

4. Shell Programming and Scripting

Shell script that will compare two config files and produce 2 outputs 1)actual config file 2)report

Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated. script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made. OS :Susi linux ver 10.3. ... (4 Replies)
Discussion started by: muraliinfy04
4 Replies

5. IP Networking

DHCP config issue?

I searched the forum and found a similar question (https://www.unix.com/ip-networking/119108-dhcpd-related-questions.html), but my config is already utilizing the suggested fix... :( My setup: eth0 connected to Motorola DSL Modem via bridged mode (giving the public IP to the interface), IP... (1 Reply)
Discussion started by: macwunder
1 Replies

6. Shell Programming and Scripting

parsing config file to create new config files

Hi, I want to use a config file as the base file and parse over the values of country and city parameters in the config file and generate separate config files as explained below. I will be using the config file as mentioned below: (config.txt) country:a,b city:1,2 type:b1... (1 Reply)
Discussion started by: clazzic
1 Replies

7. Solaris

DHCP DNS Config

I'm running Solaris 9 and I need my box to request it's DNS servers off a DHCP server - can I do this? (1 Reply)
Discussion started by: Jdogg
1 Replies
Login or Register to Ask a Question