Skip site navigation (1)Skip section navigation (2)
Date:      27 Dec 1999 10:09:58 -0500
From:      Arcady Genkin <a.genkin@utoronto.ca>
To:        freebsd-questions@freebsd.org
Subject:   Networking problem (outside interface "hangs")
Message-ID:  <87vh5k773t.fsf@main.wgaf.net>

next in thread | raw e-mail | index | archive | help
I have a FreeBSD box configured as an open firewall. It has two
network interfaces:

1. ISA NE2K for an outside connection (cable modem, dhcp).
2. PCI Realtek8139 for the inside (local LAN), fixed IP.

Once in a while the outside interface "hangs". "netstat -i" halts
indefinitely trying to display information for ed1.

Rebooting cures the problem.

I don't see any weird messages in /var/log/ at all.

My /etc/rc.conf.local looks like this:
,-----
| network_interfaces="ed1 rl0 lo0"
| ifconfig_rl0="inet 192.168.1.1 netmask 255.255.255.0 media 100baseTX mediaopt full-duplex"
| ifconfig_ed1="DHCP"
| 
| inetd_flags="-lwW"
| log_in_vain="YES"
| 
| firewall_enable="YES"
| firewall_type="OPEN"
| natd_enable="YES"
| natd_interface="ed1"
| gateway_enable="YES"
| router_enable="YES"
`-----
Other than that, networking works fine, and there is no collisions or
any other errors.
,-----
| door:/var/log$ netstat -i
| Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
| rl0   1500  <Link>      00.a0.4b.04.af.40      422     0      329     0     0
| rl0   1500  192.168.1     door                 422     0      329     0     0
| ed1   1500  <Link>      52.54.4c.17.c9.5c      122     0      131     0     0
| ed1   1500  24.114.152.64 cr103675-a.bloo      122     0      131     0     0
| lo0   16384 <Link>                               0     0        0     0     0
| lo0   16384 127           localhost              0     0        0     0     0
`-----
How could I debug it? Could it be a problem with the NIC? Thanks for
any ideas!
-- 
Arcady Genkin                                http://wgaf.dyndns.org
"'What good is my pity? Is not the pity the cross upon which he who
loves man is nailed?..'" (Zarathustra - F. Nietzsche)


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?87vh5k773t.fsf>