From owner-freebsd-questions@FreeBSD.ORG Wed Jun 8 11:58:00 2005 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9290716A41C for ; Wed, 8 Jun 2005 11:58:00 +0000 (GMT) (envelope-from john@day-light.com) Received: from joseph.day-light.net (209-145-160-141.accessus.net [209.145.160.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4362743D4C for ; Wed, 8 Jun 2005 11:57:59 +0000 (GMT) (envelope-from john@day-light.com) Received: from w1 (unknown [10.1.5.36]) by joseph.day-light.net (Postfix) with SMTP id EDA514F3E2 for ; Wed, 8 Jun 2005 06:57:58 -0500 (CDT) From: "John Brooks" To: Date: Wed, 8 Jun 2005 06:57:58 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <20050608070514.25D5A1D92E@imss.sgp.fujixerox.com> Importance: Normal Cc: Subject: RE: DNS and Gateway in FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: john@day-light.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2005 11:58:00 -0000 what is the contents of /etc/resolv.conf -- John Brooks john@day-light.com > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Xu Qiang > Sent: Wednesday, June 08, 2005 2:16 AM > To: Jonathan Chen; Xu Qiang > Cc: freebsd-questions@FreeBSD.org > Subject: RE: DNS and Gateway in FreeBSD? > > > Jonathan Chen wrote: > > /etc/rc.conf, output of "netstat -rn", "ifconfig -a" would help. > > The output of "ifconfig -a" is: > ------------------------------------------- > gso_dev_2# ifconfig -a > xl0: flags=8843 mtu 1500 > options=9 > inet 13.198.33.131 netmask 0xfffffc00 broadcast 13.198.35.255 > inet6 fe80::2b0:d0ff:fe44:403c%xl0 prefixlen 64 scopeid 0x1 > ether 00:b0:d0:44:40:3c > media: Ethernet autoselect (10baseT/UTP) > status: active > plip0: flags=108810 mtu 1500 > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > ------------------------------------------- > > > The content of /etc/rc.conf: > ------------------------------------------- > # -- sysinstall generated deltas -- # Tue Apr 12 23:53:44 2005 > # Created: Tue Apr 12 23:53:44 2005 > # Enable network daemons for user convenience. > # Please make all changes to this file, not to /etc/defaults/rc.conf. > # This file now contains just the overrides from /etc/defaults/rc.conf. > defaultrouter="13.198.32.1" > hostname="gso_dev_2.workgroup" > ifconfig_xl0="inet 13.198.33.131 netmask 255.255.252.0" > linux_enable="YES" > moused_enable="YES" > usbd_enable="YES" > ------------------------------------------- > > I didn't remember I have added the gateway "13.198.32.1". I > manually added the ip address (13.198.33.131) and netmask > (255.255.252.0), so I wonder how the gateway was added into this file. > > And I didn't have any DNS setting here. Yet it can "ping www.yahoo.com" successfully. Quite strange. :( Regards, Xu Qiang _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"