From owner-freebsd-questions Fri Jun 22 11:11:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from netcabo.pt (mail1.netcabo.pt [212.113.161.135]) by hub.freebsd.org (Postfix) with ESMTP id 2E5E637B403 for ; Fri, 22 Jun 2001 11:11:49 -0700 (PDT) (envelope-from OpsyDopsy@netcabo.pt) Received: from OpsyDopsy.net.dhis.org ([213.22.0.69]) by netcabo.pt with Microsoft SMTPSVC(5.5.1877.687.68); Fri, 22 Jun 2001 19:06:05 +0100 Content-Type: text/plain; charset="iso-8859-1" From: JF Reply-To: OpsyDopsy@netcabo.pt To: questions@freebsd.org Subject: Network Problem Date: Fri, 22 Jun 2001 19:12:06 +0100 X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Message-Id: <01062219120600.00390@OpsyDopsy.net.dhis.org> Content-Transfer-Encoding: 8bit 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 Heys I've recently (this afternoon, 2001/06/22) updated and rebuilt all my sources. I have a Realtek 8139 and am running IPFilter as a firewall. I aint connected to a LAN. Now the problem is that sometimes all my connections just start timing out, even though my cablemodem has a fixed clean signal. These timeouts happen randomly as far as I can tell and the only way to regain my connection is by powering the cable modem off and back on and running a restart DHCP client script that I will paste at the end of the mail. In windows these timeouts do not ocur. I have the same subnet mask in windows and in FBSD. The renewals are beeing applyed correctly (log at the end of the mail) Besides this small problem the network works perfectly fine the rest of the time. I've cought something strange in a traceroute I made (the complete traceroute is at the end of the mail) that was the first hop the packs pass is a 10.22.255.254 address when this should be if I'm not mistaken my default gateway 213.22.3.254. I will also paste a netstat -rn and the dmesg.today network relative part of the file hoping these extra infos will help. I just dont know why these happen and hope someone can help me. I'm not in the ML, so please reply to my personal mail as well as the ML, OpsyDopsy@netcabo.pt Thanks in advance for all your time. JF Netstat: bash-2.05# netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 213.22.3.254 UGSc 21 46 rl0 127.0.0.1 127.0.0.1 UH 0 0 lo0 213.22/22 link#1 UC 2 0 rl0 => 213.22.0.135 0:50:fc:25:10:88 UHLW 0 6 rl0 206 213.22.3.254 0:4:28:23:ec:54 UHLW 22 0 rl0 1137 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%rl0/64 link#1 UC rl0 fe80::%lo0/64 fe80::1%lo0 Uc lo0 ff01::/32 ::1 U lo0 ff02::%rl0/32 link#1 UC rl0 ff02::%lo0/32 fe80::1%lo0 UC lo0 Traceroute: bash-2.05# traceroute telepac.pt traceroute to telepac.pt (194.65.3.20), 30 hops max, 40 byte packets 1 10.22.255.254 (10.22.255.254) 6.978 ms 9.164 ms 9.546 ms 2 212.113.164.10 (212.113.164.10) 9.738 ms 7.296 ms 8.648 ms 3 lpc-br01-porta1.netcabo.net (212.113.161.33) 9.650 ms 7.984 ms 7.433 ms 4 213.13.128.25 (213.13.128.25) 7.529 ms 8.652 ms 9.077 ms 5 lcatrt2.telepac.net (213.13.135.90) 8.180 ms 7.984 ms 10.577 ms 6 katrt3.telepac.net (213.13.135.242) 9.508 ms 16.839 ms 10.751 ms 7 tpone.telepac.pt (194.65.3.20) 10.487 ms * 8.656 ms DHCP Renewal: Jun 22 18:58:23 OpsyDopsy dhclient: DHCPREQUEST on rl0 to 212.113.164.3 port 67 Jun 22 18:58:23 OpsyDopsy dhclient: DHCPACK from 212.113.164.3 Jun 22 18:58:23 OpsyDopsy dhclient: bound to 213.22.0.69 -- renewal in 900 seconds. DHCP Restart Script: #!/bin/sh # Kill old DHCP process /bin/kill `cat /var/run/dhclient.pid` # Delete old DHCP IP address /sbin/ifconfig rl0 inet delete # Clear the old route /sbin/route -q flush -inet # Start new dhclient process /sbin/dhclient rl0 Dmesg: rl0: port 0xd000-0xd0ff mem 0xc5800000-0xc58000ff irq 5 at device 9.0 on pci0 rl0: Ethernet address: 00:00:b4:c2:2d:28 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message