Dave Miner wrote:
Dump of communication between my OpenSolaris host (192.168.212.128) and VMWare DHCP server is attached. Network traffic was monitored after restarting the service "svc:/network/physical:nwam"Vitaly Davidenko wrote:Thanks, SteffenDNS works, it happens immediately after modification of the file /etc/ nsswitch.conf It is magically that not need to restart any system service after modification of /etc file.You should not need to modify /etc/nsswitch.conf by hand if your DHCP server supplied DNS parameters and NWAM is operating correctly. However, many of us periodically see NWAM fail to properly update nsswitch.conf, there are several bugs already filed in bugzilla about this. I continue to hope that someone from the NWAM team will pick it up and investigate...DaveThanks, Vitaly On 02.05.2008, at 0:46, Steffen Weiberle wrote:Vitaly wrote:[i]Oops... Registration on this site does not allow to post email messages to indiana-discuss mail list without subscription, i have subscribed yet, but my previous replies still blocked.[/i] The problem has not resolved after restarting of name-service-cache. Here is /etc/nsswitch.conf from my system: # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "@(#)nsswitch.files 1.16 06/03/24 SMI" # # /etc/nsswitch.files: # # An example file that could be copied over to /etc/nsswitch.conf; it # does not use any naming service. # # "hosts:" and "services:" in this file are used only if the# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.passwd: files group: files hosts: filesadd dns temporarily to get DNS to be used as well hosts: files dnsipnodes: files networks: files protocols: files rpc: files ethers: files netmasks: files bootparams: files publickey: files# At present there isn't a 'files' backend for netgroup; the system will# figure it out pretty quickly, and won't use netgroups at all. netgroup: files automount: files aliases: files services: files printers: user files auth_attr: files prof_attr: files project: files tnrhtp: files tnrhdb: files May be this information is helpful...P.S. Excuse me for newbie question, how to watch system log messages? I found syslog file in /var/log, but it contains only messages from Sendmail:[EMAIL PROTECTED]:~# ls /var/log/authlog gdm pool postrun.log sysidconfig.log syslog Xorg. 0.log Xorg.0.log.old[EMAIL PROTECTED]:~# cat /var/log/syslogMay 1 12:22:46 opensolaris sendmail[927]: [ID 702911 mail.warning] gethostbyaddr(192.168.212.128) failed: 1 May 1 12:22:46 opensolaris sendmail[927]: [ID 702911 mail.notice] alias database /etc/mail/aliases rebuilt by root May 1 12:22:46 opensolaris sendmail[927]: [ID 702911 mail.info] / etc/mail/aliases: 12 aliases, longest 10 bytes, 138 bytes total May 1 12:22:46 opensolaris sendmail[934]: [ID 702911 mail.warning] gethostbyaddr(192.168.212.128) failed: 1 May 1 12:22:46 opensolaris sendmail[940]: [ID 702911 mail.info] starting daemon (8.14.2+Sun): [EMAIL PROTECTED]:15:00 May 1 12:22:47 opensolaris sendmail[948]: [ID 702911 mail.info] starting daemon (8.14.2+Sun): [EMAIL PROTECTED]:15:00Thanks, Vitaly -- This message posted from opensolaris.org _______________________________________________ indiana-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/indiana-discuss_______________________________________________ indiana-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
#snoop -o dhcp.snoof udp port 67 or udp port 68 #svcadm restart svc:/network/physical:nwam #snoop -i dhcp.snoof -V1 0.00000 192.168.212.128 -> 192.168.212.254 ETHER Type=0800 (IP), size=342 bytes 1 0.00000 192.168.212.128 -> 192.168.212.254 IP D=192.168.212.254 S=192.168.212.128 LEN=328, ID=9457, TOS=0x0, TTL=255
1 0.00000 192.168.212.128 -> 192.168.212.254 UDP D=67 S=68 LEN=308 1 0.00000 192.168.212.128 -> 192.168.212.254 DHCP/BOOTP DHCPRELEASE ________________________________2 2.15431 OLD-BROADCAST -> BROADCAST ETHER Type=0800 (IP), size=342 bytes 2 2.15431 OLD-BROADCAST -> BROADCAST IP D=255.255.255.255 S=0.0.0.0 LEN=328, ID=10897, TOS=0x0, TTL=255
2 2.15431 OLD-BROADCAST -> BROADCAST UDP D=67 S=68 LEN=308 2 2.15431 OLD-BROADCAST -> BROADCAST DHCP/BOOTP DHCPDISCOVER ________________________________3 1.00121 192.168.212.254 -> 192.168.212.128 ETHER Type=0800 (IP), size=342 bytes 3 1.00121 192.168.212.254 -> 192.168.212.128 IP D=192.168.212.128 S=192.168.212.254 LEN=328, ID=0, TOS=0x10, TTL=16
3 1.00121 192.168.212.254 -> 192.168.212.128 UDP D=68 S=67 LEN=308 3 1.00121 192.168.212.254 -> 192.168.212.128 DHCP/BOOTP DHCPOFFER ________________________________4 1.99878 OLD-BROADCAST -> BROADCAST ETHER Type=0800 (IP), size=342 bytes 4 1.99878 OLD-BROADCAST -> BROADCAST IP D=255.255.255.255 S=0.0.0.0 LEN=328, ID=10898, TOS=0x0, TTL=255
4 1.99878 OLD-BROADCAST -> BROADCAST UDP D=67 S=68 LEN=308 4 1.99878 OLD-BROADCAST -> BROADCAST DHCP/BOOTP DHCPREQUEST ________________________________5 0.00105 192.168.212.254 -> 192.168.212.128 ETHER Type=0800 (IP), size=342 bytes 5 0.00105 192.168.212.254 -> 192.168.212.128 IP D=192.168.212.128 S=192.168.212.254 LEN=328, ID=0, TOS=0x10, TTL=16
5 0.00105 192.168.212.254 -> 192.168.212.128 UDP D=68 S=67 LEN=308 5 0.00105 192.168.212.254 -> 192.168.212.128 DHCP/BOOTP DHCPACKIf there is a bug, i hope that attached log will be helpful for the NWAM team.
After restarting of the service the file "/etc/nsswitch.conf¨ has not been altered and DNS works perfectly for all applications.
Thanks, Vitaly
dhcp.snoof
Description: Binary data
_______________________________________________ indiana-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
