From owner-freebsd-questions Sun Feb 19 17:50:28 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id RAA22820 for questions-outgoing; Sun, 19 Feb 1995 17:50:28 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id RAA22812 for ; Sun, 19 Feb 1995 17:50:27 -0800 Received: by halloran-eldar.lcs.mit.edu; id AA02565; Sun, 19 Feb 1995 12:59:29 -0500 Date: Sun, 19 Feb 1995 12:59:29 -0500 From: Garrett Wollman Message-Id: <9502191759.AA02565@halloran-eldar.lcs.mit.edu> To: "Stephen Darragh" Cc: freebsd-questions@freefall.cdrom.com Subject: Routing with subnets (2) In-Reply-To: References: Sender: questions-owner@FreeBSD.org Precedence: bulk < said: > default 203.8.116.2 UGSc 0 10397 ed0 > 203.8.116 link#1 UC 0 0 ed0 -261686 > 203.8.116.1 0:aa:0:2a:64:b6 UHLW 2 26824 ed0 1100 > 203.8.116.2 0:c0:f6:90:6:e0 UHLW 23 13080 ed0 683 > 203.8.116.3 0:80:48:82:df:fd UHLW 3 42111 lo0 > 203.8.116.4 2:60:8c:43:7a:5b UHLW 3 13839 ed0 15 > 203.8.116.7 link#1 UHLW 1 1454 ed0 -261686 > 203.8.116.40 203.8.116.4 UGSc 0 0 ed0 > In theory, the 203.8.116.40 route should cause .42 traffic to go via > 203.8.116.4. It doesn't. traceroute shows that it is being sent via > the default route. What am I doing wrong? > (Yes, this is mostly a routed created routing table.) Three things: 1) Can you try running without `routed' since it doesn't seem to be necessary in your environment, and see if the problem persists? You should try using a UDP or TCP client like `telnet' rather than a raw IP client like `ping' or `traceroute'. 2) Try a `tcpdump ip host 203.8.116.42' in another window (running a kernel with BPF in it) and see what it reports you are sending. 3) What is command line you used to add the static route? -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant