From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 21:11:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75FF9106566B for ; Fri, 13 Jun 2008 21:11:11 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id EE6B08FC12 for ; Fri, 13 Jun 2008 21:11:10 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m5DLAf94091441; Fri, 13 Jun 2008 16:10:41 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20080613160758.025094b8@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Fri, 13 Jun 2008 16:10:34 -0500 To: Edward Lay , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <200806130614.m5D6EZhu011974@dewey.soe.berkeley.edu> References: <200806130614.m5D6EZhu011974@dewey.soe.berkeley.edu> Mime-Version: 1.0 X-Virus-Scanned: ClamAV 0.93/6806/Wed Apr 16 15:50:16 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m5DLAf94091441 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Unable to reach hosts outside my subnet after initial install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2008 21:11:11 -0000 At 01:14 AM 6/13/2008, Edward Lay wrote: >After a fresh installation of freeBSD 7.0, I am unable to communicate >with any hosts beyond the local subnet. All important values >(gateway, netmask,etc) were copied from other unix hosts on the same >subnet. Presumably I've either failed to include something important >or there is a conflict. Details follow... > >thanks for any assistance, > >ed Check and/or create /etc/nsswitch.conf so you are looking in files and dns for hosts. Check or create /etc/resolv.conf make sure your upsteam DNS servers are listed in this file along with any local caching DNS servers. -Derek >%uname -a >FreeBSD newdewey.soe.berkeley.edu 7.0-RELEASE FreeBSD 7.0-RELEASE #0: >Sun Feb 24 > 19:59:52 UTC 2008 >root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERICi386 > > > >here's the current net config: > >newdewey# ifconfig >xl0: flags=8843 metric 0 mtu 1500 > options=9 > ether 00:01:02:c1:b6:fb > inet 128.32.157.5 netmask 0xffffff00 broadcast 128.32.157.255 > media: Ethernet autoselect (100baseTX ) > status: active >plip0: flags=108810 metric 0 mtu >1500 >lo0: flags=8049 metric 0 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > > >Here's the contents of /etc/rc.conf: > >newdewey# more rc.conf > ># -- sysinstall generated deltas -- # Thu May 22 21:45:55 2008 ># Created: Thu May 22 21:45:55 2008 ># 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="128.32.157.1" >hostname="newdewey.soe.berkeley.edu" >ifconfig_xl0="inet 128.32.157.5 netmask 255.255.255.0" >inetd_enable="YES" >linux_enable="YES" ># -- sysinstall generated deltas -- # Tue May 27 19:42:16 2008 >router_flags="-q" >router="/sbin/routed" >router_enable="YES" > > > >%netstat -r >Routing tables > >Internet: >Destination Gateway Flags Refs Use Netif >Expire >default fast2-2.inr-240-mu UGS 0 1088 xl0 >localhost localhost UH 0 905 lo0 >128.32.157.0 link#1 UC 0 0 xl0 >fast2-2.inr-240-mu 00:0c:86:7a:75:c0 UHLW 2 0 xl0 >1197 >dewey 08:00:2b:86:6e:ca UHLW 1 77 xl0 >1144 >tolman-18.LIPS.Ber 00:0a:95:b1:e7:fe UHLW 1 0 xl0 > > > Finally, the current situation is that I can ping hosts on the 128.32.157.* >subnet, but not anything beyond. > >newdewey# ping google.com >PING google.com (64.233.187.99): 56 data bytes >^C >--- google.com ping statistics --- >5 packets transmitted, 0 packets received, 100.0% packet loss >newdewey# ping dewey.soe.berkeley.edu >PING dewey.soe.berkeley.edu (128.32.157.3): 56 data bytes >64 bytes from 128.32.157.3: icmp_seq=0 ttl=64 time=0.360 ms >64 bytes from 128.32.157.3: icmp_seq=1 ttl=64 time=0.320 ms >^C >--- dewey.soe.berkeley.edu ping statistics --- >2 packets transmitted, 2 packets received, 0.0% packet loss >round-trip min/avg/max/stddev = 0.320/0.340/0.360/0.020 ms > >_______________________________________________ >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" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.