From owner-freebsd-questions@FreeBSD.ORG Wed May 26 01:56:24 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04F6B16A4CE for ; Wed, 26 May 2004 01:56:24 -0700 (PDT) Received: from gladiator.trusc.net (gladiator.trusc.net [196.22.225.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFA1843D48 for ; Wed, 26 May 2004 01:56:15 -0700 (PDT) (envelope-from leon@trusc.net) Received: from [196.25.37.18] (helo=morpheus.trusc.net) by gladiator.trusc.net (Exim 4.24 #0 (FreeBSD 4.7)) protocol: esmtp id 1BSuCf-0000Wb-P4 for ; Wed, 26 May 2004 10:56:02 +0200 Received: from localhost ([127.0.0.1]) by morpheus.trusc.net (Exim 4.34 #0 (FreeBSD 4.7)) protocol: esmtp id 1BSuBw-000699-43 for ; Wed, 26 May 2004 10:55:16 +0200 Received: from morpheus.trusc.net ([127.0.0.1]) by localhost (morpheus.trusc.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 79576-15 for ; Wed, 26 May 2004 10:55:14 +0200 (SAST) Received: from [192.168.255.25] (helo=leonlap) by morpheus.trusc.net (Exim 4.34 #0 (FreeBSD 4.7)) protocol: esmtp id 1BSuBu-00067n-EX for ; Wed, 26 May 2004 10:55:14 +0200 From: "Leon Botes" To: Date: Wed, 26 May 2004 10:55:55 +0200 Organization: Trusc Technologies (Pty) Ltd MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Thread-Index: AcRC/0GEoESIB0WmQomocgBrt5Ovww== X-Virus-Scanned: by amavisd-new at trusc.net Message-Id: Subject: Help with a routing issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: leon@trusc.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 08:56:24 -0000 I have a freebsd 4.7 box at a client. The box has an ip of 192.168.254.22 The default gateway is 192.168.254.1 which is the inside interface of the gateway. The outside interface of the gateway is 196.25.37.18 and it also has an alias of 196.25.37.19. When i ping 196.25.37.18 from the clients box (192.168.254.22) i get this. mmrserver# ping 196.25.37.18 PING 196.25.37.18 (196.25.37.18): 56 data bytes 36 bytes from brandford.trusc.net (192.168.254.24): Redirect Host(New addr: 192.168.254.1) Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 0054 08f4 0 0000 40 01 c9ca 192.168.254.22 196.25.37.18 64 bytes from 196.25.37.18: icmp_seq=0 ttl=63 time=66.616 ms 36 bytes from brandford.trusc.net (192.168.254.24): Redirect Host(New addr: 192.168.254.1) Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 0054 08f8 0 0000 40 01 c9c6 192.168.254.22 196.25.37.18 When i ping 196.25.37.19 i get this. mmrserver# ping 196.25.37.19 PING 196.25.37.19 (196.25.37.19): 56 data bytes 64 bytes from 196.25.37.19: icmp_seq=0 ttl=64 time=5.445 ms 64 bytes from 196.25.37.19: icmp_seq=1 ttl=64 time=4.630 ms 64 bytes from 196.25.37.19: icmp_seq=2 ttl=64 time=5.226 ms That is correct the way it should be. My routes on the clients box look as follows: mmrserver# netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.254.1 UGSc 7 1952 dc0 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.60 link#2 UC 11 0 rl0 192.168.60.1 00:10:dc:f5:9c:9d UHLW 0 10 rl0 972 192.168.60.11 00:0d:61:1b:f0:fc UHLW 1 418 rl0 442 192.168.60.12 00:00:21:e2:8d:e1 UHLW 0 2 rl0 642 192.168.60.15 00:90:f5:08:32:cb UHLW 0 435 rl0 256 192.168.60.16 00:50:22:8c:ee:51 UHLW 0 1 rl0 790 192.168.60.18 00:50:bf:97:e8:8a UHLW 0 371 rl0 1022 192.168.60.21 00:0c:76:25:74:fc UHLW 1 1422 rl0 858 192.168.60.22 00:50:bf:ec:27:a3 UHLW 1 10 rl0 1032 192.168.60.33 00:0d:61:4d:5b:9e UHLW 3 17 rl0 873 192.168.60.133 00:50:22:8d:ed:86 UHLW 1 10 rl0 1122 192.168.60.255 ff:ff:ff:ff:ff:ff UHLWb 2 49 rl0 192.168.254 link#1 UC 2 0 dc0 192.168.254.1 00:02:6f:32:24:90 UHLW 8 268 dc0 1149 192.168.254.255 ff:ff:ff:ff:ff:ff UHLWb 2 94 dc0 Can anyone help me with why the 196.25.37.18 ip is being redirected via 192.168.254.24? PLEASE