Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2008 16:10:34 -0500
From:      Derek Ragona <derek@computinginnovations.com>
To:        Edward Lay <ehl@dewey.soe.berkeley.edu>, freebsd-questions@freebsd.org
Subject:   Re: Unable to reach hosts outside my subnet after initial install
Message-ID:  <6.0.0.22.2.20080613160758.025094b8@mail.computinginnovations.com>
In-Reply-To: <200806130614.m5D6EZhu011974@dewey.soe.berkeley.edu>
References:  <200806130614.m5D6EZhu011974@dewey.soe.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=9<RXCSUM,VLAN_MTU>
>         ether 00:01:02:c1:b6:fb
>         inet 128.32.157.5 netmask 0xffffff00 broadcast 128.32.157.255
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
>plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> metric 0 mtu 
>1500
>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20080613160758.025094b8>