From owner-freebsd-questions Sat Oct 30 13: 7:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (Postfix) with ESMTP id D8BFE15161 for ; Sat, 30 Oct 1999 13:07:30 -0700 (PDT) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2650.21) id ; Sat, 30 Oct 1999 16:07:36 -0400 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105D34@site2s1> From: Christopher Michaels To: 'Mark Bannar-Martin' , freebsd-questions Subject: RE: Newbie question on change of IP address Date: Sat, 30 Oct 1999 16:10:50 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mark, rc.local or /etc/rc.conf? Changes like that belong in /etc/rc.conf. Also, did you look in /usr/local/etc/smb.conf? There may be an interfaces= line that has your old IP address. -Chris > -----Original Message----- > From: Mark Bannar-Martin [SMTP:mbannar-martin@pearson-college.uwc.ca] > Sent: Thursday, October 28, 1999 1:58 AM > To: freebsd-questions > Subject: Newbie question on change of IP address > > I have a problem with a change of IP address. My freebsd machine > required a change of IP address to a different class C network. I > changed the entry in rc.local for the router and host. I rebooted and > everything seemed OK. However I use samba and samba keeps thinking I > have the previous IP. I determined this using smbclient. I then used > nslookup and discovered the DNS has my hostname registered with the old > IP. I will address this problem tomorrow. > > I have 2 questions: > 1. Am I doing this change of IP correctly? > 2. I assume Samba uses DNS for determining IP address. Is it possible to > circumvent this to tell samba what IP address to use in communication > with clients? (I want it to use my new IP address NOT the old one) > > Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message