From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 06:28:29 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 E06521065671 for ; Fri, 13 Jun 2008 06:28:29 +0000 (UTC) (envelope-from ehl@dewey.soe.berkeley.edu) Received: from dewey.soe.berkeley.edu (dewey.SoE.Berkeley.EDU [128.32.157.3]) by mx1.freebsd.org (Postfix) with ESMTP id AC58C8FC16 for ; Fri, 13 Jun 2008 06:28:29 +0000 (UTC) (envelope-from ehl@dewey.soe.berkeley.edu) Received: from dewey.soe.berkeley.edu (localhost [127.0.0.1]) by dewey.soe.berkeley.edu (8.12.8p1/8.12.8) with ESMTP id m5D6EZ4t007892 for ; Thu, 12 Jun 2008 23:14:35 -0700 (PDT) Received: (from ehl@localhost) by dewey.soe.berkeley.edu (8.12.8p1/8.12.8/Submit) id m5D6EZhu011974 for freebsd-questions@freebsd.org; Thu, 12 Jun 2008 23:14:35 -0700 (PDT) Date: Thu, 12 Jun 2008 23:14:35 -0700 (PDT) From: Edward Lay Message-Id: <200806130614.m5D6EZhu011974@dewey.soe.berkeley.edu> To: freebsd-questions@freebsd.org Subject: 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 06:28:30 -0000 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 %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