Date: Sat, 13 Oct 2001 14:01:57 -0400 From: "luca ferrara" <oolyakoo@hotmail.com> To: freebsd-questions@FreeBSD.ORG Subject: routed broken interface Message-ID: <F185gFzp2jjh6q6Kw3y000078c6@hotmail.com>
next in thread | raw e-mail | index | archive | help
### (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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F185gFzp2jjh6q6Kw3y000078c6>