From owner-freebsd-questions Tue Dec 19 18:19: 6 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 19 18:19:03 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from xellos.bignet.net (xellos.bignet.net [64.79.64.6]) by hub.freebsd.org (Postfix) with ESMTP id 2B0CF37B699 for ; Tue, 19 Dec 2000 18:19:03 -0800 (PST) Received: from t4e5g6 ([64.31.24.173]) by xellos.bignet.net (8.9.3/8.9.3) with SMTP id VAA06851; Tue, 19 Dec 2000 21:19:00 -0500 Message-ID: <00ad01c06a44$e47d2120$ad181f40@bignet.net> From: "Jason" To: Cc: References: <006401c06a3f$2a6945c0$ad181f40@bignet.net> <20001219205851.A62921@cae88-102-101.sc.rr.com> Subject: Re: DHCP Client Date: Tue, 19 Dec 2000 21:22:18 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks....you know I tried every cobination of ipconfig I could think of....thats to due with my long lost days of NT :) now at least I wont sound stipid to the tech support guy on the phone when he asks me what mac/ip I have on each interface. Thanks again ----- Original Message ----- From: "Donald J . Maddox" To: "Jason" Sent: Tuesday, December 19, 2000 5:58 PM Subject: Re: DHCP Client > To see the address of an interface: > > # ifconfig > > It sounds like you are running dhclient by hand after the machine > boots, is that right? Normally, an interface is configured with > DHCP by having lines in /etc/rc.conf like: > > network_interfaces="dc0 lo0" > ifconfig_dc0="DHCP" > > in which case the rc script configures the interface (runs dhclient), > at boot, and you should not rerun it. > > On Tue, Dec 19, 2000 at 08:41:35PM -0800, Jason wrote: > > I have been having a huge problem with DHCP IP addresses provided by my ISP > > on a DSL line. I am beginning to think it might be something on my side > > since none of my Win9x boxes ever have this trouble but both of my BSD boxes > > do this ever couple weeks. My ISP is worthless as I have had a ticket open > > with them in "Emergency Status" for several days now and it is pending > > review from Tier 2 (who never answers the phone when I call) > > > > Besides my dealings with my poor ISP whoich will remain nameless (covad) for > > now I am thinking the only common factor I can find s OS so I thought I have > > better ask here. > > > > My ISP formed me to switch to DHCP from a static IP and ever since I get ip > > conflicts from time to time. BSD reports the ip is already in use and I > > lose all intenret connectivity. > > upon runing hdclient I get the following message: > > ipconfig: ioctl (SIOCAIFADDR): File exists > > dhclient: Can't bind to dhcp address: Address already in use > > > > > > dhclient: exiting > > > > > > > > My oonly indication the problem exists is my apache server rufuses all > > connections because it cant contact the DNS server for lookups (security > > feature I must impliment for all who login) > > > > Obviously the ip is accepting connections if users can reach my web server > > at all...I can even telnet to the box until I run dhclient...then all ip > > access is lost until my dhcp lease expires (every 24 hours) or sometimes > > longer. The current outage is over 5 days old. > > > > Also would be nice if I caould at least find a command that lists the ip and > > mac address of a particualr interface. All attempts to search handbook and > > mailing list come up completely empty which I find real odd. Even when I > > search on "ip" I get nothing in the mailing lists and lots of unrealted > > items from the handbook. So I can only assume this command is either > > nonexistant or so blindingly obvious no one ever asks this question. > > > > Thanks > > > > I have many more problems to follow...but one at a time...I am sick and > > tired of dealing with all these problems as the longer they exist the more > > service affecting they seem to become. > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message