Date: Wed, 8 Jun 2005 06:57:58 -0500 From: "John Brooks" <john@day-light.com> To: <freebsd-questions@FreeBSD.org> Subject: RE: DNS and Gateway in FreeBSD? Message-ID: <NHBBKEEMKJDINKDJBJHGMEADJCAD.john@day-light.com> In-Reply-To: <20050608070514.25D5A1D92E@imss.sgp.fujixerox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > options=9<RXCSUM,VLAN_MTU> > 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<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NHBBKEEMKJDINKDJBJHGMEADJCAD.john>