Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2001 19:12:06 +0100
From:      JF <OpsyDopsy@netcabo.pt>
To:        questions@freebsd.org
Subject:   Network Problem
Message-ID:  <01062219120600.00390@OpsyDopsy.net.dhis.org>

next in thread | raw e-mail | index | archive | help
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 <daemon.info> OpsyDopsy dhclient: DHCPREQUEST on rl0
to 212.113.164.3 port 67
Jun 22 18:58:23 <daemon.info> OpsyDopsy dhclient: DHCPACK from 212.113.164.3
Jun 22 18:58:23 <daemon.info> 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: <RealTek 8139 10/100BaseTX> port 0xd000-0xd0ff mem 0xc5800000-0xc58000ff 
irq 5 at device 9.0 on pci0
rl0: Ethernet address: 00:00:b4:c2:2d:28
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01062219120600.00390>