From owner-freebsd-hackers Sun Nov 5 10:44:59 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA08816 for hackers-outgoing; Sun, 5 Nov 1995 10:44:59 -0800 Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA08811 for ; Sun, 5 Nov 1995 10:44:57 -0800 Received: from rah.star-gate.com (localhost.v-site.net [127.0.0.1]) by rah.star-gate.com (8.6.12/8.6.9) with ESMTP id KAA16424; Sun, 5 Nov 1995 10:44:43 -0800 Message-Id: <199511051844.KAA16424@rah.star-gate.com> To: peter@haywire.dialix.com (Peter Wemm) cc: freebsd-hackers@freebsd.org Subject: Re: [Q] Traceroute and source routing In-reply-to: Your message of "05 Nov 1995 19:53:58 +0800." <47i8km$rvf$1@haywire.DIALix.COM> Date: Sun, 05 Nov 1995 10:44:40 -0800 From: "Amancio Hasty Jr." Sender: owner-hackers@freebsd.org Precedence: bulk >>> Peter Wemm said: > jmb@kryten.Atinc.COM (Jonathan M. Bresler) writes: > > > i want to exmaine the connectivity of various hosts (happen to be > >those in australia on our mailing lists). i want to see route the > >packets take from freefall to those hosts and the routes that exist from > >one of those hosts to another. > > > so...i want a source route option on traceroute. > > > suggestions ?? pointers ?? code ?? > Try snmp by querying each router along a path to find the route. This is assuming that the routers are running snmp. You can use the cmu snmp tools ported to FreeBSD. If memory does not fail me they are in the xperiment ports section. 204.188.121.17 is my ascend pipeline 50 ISDN router. rah# snmpwalk -v 1 204.188.121.17 public system system.sysDescr.0 = "Ascend Pipeline BRI S/N: 5090526 Software +4.4+" system.sysObjectID.0 = OID: enterprises.529.1.3 system.sysUpTime.0 = Timeticks: (12613500) 1 day, 11:02:15 system.sysContact.0 = "hasty@star-gate.com" system.sysName.0 = "star-gate.com" system.sysLocation.0 = "Bayside Village 408" system.sysServices.0 = 14 rah# snmpwalk -v 1 204.188.121.17 public . | grep -i hop ip.ipRouteTable.ipRouteEntry.ipRouteNextHop.0.0.0.0 = IpAddress: 204.188.119.2 ip.ipRouteTable.ipRouteEntry.ipRouteNextHop.127.0.0.1 = IpAddress: 127.0.0.1 ip.ipRouteTable.ipRouteEntry.ipRouteNextHop.204.188.119.0 = IpAddress: 204.188.119.2 ip.ipRouteTable.ipRouteEntry.ipRouteNextHop.204.188.121.0 = IpAddress: 204.188.121.17 ip.ipRouteTable.ipRouteEntry.ipRouteNextHop.204.188.121.17 = IpAddress: 204.188.121.17 Have fun, Amancio