From owner-freebsd-questions Sat Oct 13 11: 2: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f185.pav2.hotmail.com [64.4.37.185]) by hub.freebsd.org (Postfix) with ESMTP id EAA4737B40D for ; Sat, 13 Oct 2001 11:01:57 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 13 Oct 2001 11:01:57 -0700 Received: from 195.223.76.9 by pv2fd.pav2.hotmail.msn.com with HTTP; Sat, 13 Oct 2001 18:01:57 GMT X-Originating-IP: [195.223.76.9] From: "luca ferrara" To: freebsd-questions@FreeBSD.ORG Subject: routed broken interface Date: Sat, 13 Oct 2001 14:01:57 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 13 Oct 2001 18:01:57.0719 (UTC) FILETIME=[26524E70:01C15411] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ### (OS: FreeBSD 4.2-RELESE, i686) Thanks to those who will care ### Often the net seems to shut down completely, even a ping to a computer on the same ethernet lan does't work ### (localhost stands for my ip address throughout the text): [.......]#ping OTHERHOST PING localhost (localhost): 56 data bytes (no output) ^C [......]# ### I guess it must have some to do with the following routed complaints: [...] routed[122]: rdisc length 492 does not match ad_num 1 routed[122]: interface ed1 to localhost broken: in=1 ierr=15 out=0 oerr=0 routed[122]: interface ed1 to localhost restored # What is 224.0.0.2 anyway !!!!! routed[122]: sendto(ed1, 224.0.0.2): Permission denied routed[122]: interface ed1 to localhost broken: in=342 ierr=414 out=24 oerr=0 routed[122]: interface ed1 to localhost restored routed[122]: sendto(ed1, 224.0.0.2): Permission denied routed[98]: rdisc length 492 does not match ad_num 1 # What is 195.223.76.41 anyway !!!!! routed[232]: write(rt_sock) RTM_ADD 0.0.0.0 -->195.223.76.41 metric=1 flags=0x2: File exists [...] ### routed is launched at boot as: routed -q ### netstat -r shows: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default gate UGSc 2 3 ed1 localhost localhost UH 0 0 lo0 # What is 193.193.64&0xe1e1e anyway !!!!! 193.193.64&0xe1e1e link#1 UCc 0 0 ed1 => gate [gate eth address] UHLW 2 29 ed1 1198 localhost [loc eth address] UHLW 0 2 lo0 Internet: Destination Gateway Flags Refs Use Netif Expire default gate UGSc 2 3 ed1 localhost localhost UH 0 0 lo0 # What is 193.193.64&0xe1e1e anyway !!!!! 193.193.64&0xe1e1e link#1 UCc 0 0 ed1 => gate [gate eth address] UHLW 2 29 ed1 1199 localhost [loc eth address] UHLW 0 2 lo0 ### if that might be of any relevance, here's /etc/rc.firewall: [...] ${fwcmd} = ipfw -q # Flush ${fwcmd} -f flush # lo0 ${fwcmd} add 100 pass all from any to any via lo0 ${fwcmd} add 200 deny all from any to 127.0.0.0/8 # Allow any traffic to or from my own net. ${fwcmd} add pass all from localhost to localhost/24 ${fwcmd} add pass all from localhost/24 to localhost # Allow TCP through if setup succeeded ${fwcmd} add pass tcp from any to any established # Allow IP fragments to pass through ${fwcmd} add pass all from any to any frag # Allow setup of outgoing TCP connections only ${fwcmd} add pass tcp from localhost to any setup # Disallow setup of all other TCP connections ${fwcmd} add deny tcp from any to any setup # Allow DNS queries out in the world ${fwcmd} add pass udp from any 53 to localhost ${fwcmd} add pass udp from localhost to any 53 [...] ### Thank you for having cared luca ### _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message