From owner-freebsd-net Fri Jan 18 0:52:16 2002 Delivered-To: freebsd-net@freebsd.org Received: from scaup.prod.itd.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id F2DF937B419 for ; Fri, 18 Jan 2002 00:52:07 -0800 (PST) Received: from dialup-209.244.107.191.dial1.sanjose1.level3.net ([209.244.107.191] helo=blossom.cjclark.org) by scaup.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16RUkf-00005t-00; Fri, 18 Jan 2002 00:52:02 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id g0I8p8442602; Fri, 18 Jan 2002 00:51:08 -0800 (PST) (envelope-from cjc) Date: Fri, 18 Jan 2002 00:51:07 -0800 From: "Crist J . Clark" To: "Reto Trachsel (NetModule)" Cc: "'net@freebsd.org'" Subject: Re: ICMP Redirect Message-ID: <20020118005107.E40472@blossom.cjclark.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from reto.trachsel@netmodule.com on Thu, Jan 17, 2002 at 12:03:02PM +0100 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jan 17, 2002 at 12:03:02PM +0100, Reto Trachsel (NetModule) wrote: > Hi Crist > > Here the Logs and outputs for you > > Regards > Reto > > # tcpdump -vvXs 1500 'icmp' > > 172.16.224.24 -> BSD Host > 172.16.1.254 -> BSD Router > > 12:00:43.658869 172.16.1.254 > 172.16.224.24: icmp: redirect 172.24.0.2 to > host > 172.16.1.252 for 172.16.224.24 > 172.24.0.2: icmp: echo request (ttl 64, id > 2963 > 2, len 84) (ttl 64, id 12073, len 56) Ouch. Severe line-wrap damage. > 0x0000 4500 0038 2f29 0000 4001 1165 ac10 01fe E..8/)..@..e.... > 0x0010 ac10 e018 0501 f014 ac10 01fc 4500 0054 ............E..T > 0x0020 73c0 0000 4001 cea5 ac10 e018 ac18 0002 s...@........... > 0x0030 0800 8337 bba5 1600 ...7.... > 12:00:44.668972 172.16.224.24 > 172.24.0.2: icmp: echo request (ttl 64, id > 29634 > , len 84) > 0x0000 4500 0054 73c2 0000 4001 cea3 ac10 e018 E..Ts...@....... > 0x0010 ac18 0002 0800 5f10 bba5 1700 4bae 463c ......_.....K.F< > 0x0020 475c 0200 0809 0a0b 0c0d 0e0f 1011 1213 G\.............. > 0x0030 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 .............!"# > 0x0040 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 $%&'()*+,-./0123 > 0x0050 3435 3637 4567 > 12:00:44.669009 172.16.224.24 > 172.24.0.2: icmp: echo request (ttl 63, id > 29634 > , len 84) > 0x0000 4500 0054 73c2 0000 3f01 cfa3 ac10 e018 E..Ts...?....... > 0x0010 ac18 0002 0800 5f10 bba5 1700 4bae 463c ......_.....K.F< > 0x0020 475c 0200 0809 0a0b 0c0d 0e0f 1011 1213 G\.............. > 0x0030 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 .............!"# > 0x0040 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 $%&'()*+,-./0123 > 0x0050 3435 3637 4567 > 12:00:44.669034 172.16.1.254 > 172.16.224.24: icmp: redirect 172.24.0.2 to > host > 172.16.1.252 for 172.16.224.24 > 172.24.0.2: icmp: echo request (ttl 64, id > 2963 > 4, len 84) (ttl 64, id 12154, len 56) > 0x0000 4500 0038 2f7a 0000 4001 1114 ac10 01fe E..8/z..@....... > 0x0010 ac10 e018 0501 133c ac10 01fc 4500 0054 .......<....E..T > 0x0020 73c2 0000 4001 cea3 ac10 e018 ac18 0002 s...@........... > 0x0030 0800 5f10 bba5 1700 .._..... > $ netstat -rn I was interested in the routing table on BSDHost, not the router. However... > $ ifconfig > > fxp0: flags=8843 mtu 1500 > inet 172.16.1.12 netmask 0xffff0000 broadcast 172.16.255.255 > inet 172.16.1.11 netmask 0xffff0000 broadcast 172.16.255.255 > inet 172.16.1.254 netmask 0xffff0000 broadcast 172.16.255.255 > inet 172.16.1.10 netmask 0xffff0000 broadcast 172.16.255.255 This is a misconfiguration. Only one of those addresses should have a 0xffff0000 netmask and the rest should be 0xffffffff. But I was interested in BSDHost. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message