OK - I'm fairly clueless on this...

Kurt Buff kurt.buff at gmail.com
Fri Jun 15 19:15:14 UTC 2007


This is very strange - I can't get traceroute to work as I expect.
Forgive me if I'm being stupid as well as blind, but perusing the man
page for traceroute brings no joy.

It simply doesn't produce expected results - I don't think I'm on the
same network as www.freebsd.org, so where are the answers from all of
the intervening hops?

zsquid# traceroute www.freebsd.org
traceroute to www.freebsd.org (69.147.83.33), 64 hops max, 40 byte packets
 1  www.freebsd.org (69.147.83.33)  1.050 ms  0.970 ms  2.110 ms



Why is this so important? Well, I'm in a network segment with two
routers, and I'm trying to determine that the machine is using the
correct default gateway.


uname -a yeilds:
FreeBSD zsquid.mycompany.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Jun
 1 16:03:26 PDT 2007
root at zsquid.zetron.com:/usr/obj/usr/src/sys/GENERIC  i386

/etc/rc.conf has these lines:

     defaultrouter="192.168.8.4"
     hostname="zsquid.mycompany.com"
     ifconfig_fxp0="inet 192.168.8.72 netmask 255.255.255.0"

ifconfig shows the following:

fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet 192.168.8.72 netmask 0xffffff00 broadcast 192.168.8.255
        ether 00:11:11:2b:db:97
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000

Kurt


More information about the freebsd-questions mailing list