From owner-freebsd-questions Wed Apr 17 8:45:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id 0AD9737B416 for ; Wed, 17 Apr 2002 08:45:19 -0700 (PDT) Received: from user-119aekg.biz.mindspring.com ([66.149.58.144] helo=ns.flncs.com) by harrier.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16xrcQ-00020k-00 for questions@FreeBSD.org; Wed, 17 Apr 2002 08:45:14 -0700 Received: from mlevy (cylex [12.27.148.78]) by ns.flncs.com (Postfix) with SMTP id EAFC8207B8 for ; Wed, 17 Apr 2002 11:50:44 -0400 (EDT) Message-ID: <05bf01c1e627$2b298960$fd6e34c6@mlevy> From: "Moti" To: References: <004101c1e60e$1fc1a6c0$0f01a8c0@Bastion> Subject: Re: IP information Date: Wed, 17 Apr 2002 11:47:17 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" 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.4910.0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Martins Struka" To: Sent: Wednesday, April 17, 2002 8:48 AM Subject: IP information > Dear Sir / Madam, > what comands do I have to use to get all available information (ip, > netmask, > network, workgroup, gateway, DNS server seearch order etc.) about eth0 > interfaice and other interfaces, for example, an0 (Radio Card)? > Thank You. > Martins > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > ifconfig interface name will give you - ip,mac,netmask,network netstat -nr - will give you gateway cat /etc/resolv.conf and /etc/host.conf will give you dns servers workgroup - dont know if you mean nis domain than its cat /etc/defaultdomain To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message