Unable to reach hosts outside my subnet after initial install
Edward Lay
ehl at dewey.soe.berkeley.edu
Fri Jun 13 06:28:30 UTC 2008
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 at 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
More information about the freebsd-questions
mailing list