[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"sendto: No buffer space available"



Hi,

I am new to OpenBSD an I have some trouble with my OpenBSD-Box that 
works as a DSL-Router for about 5 computers.
When I ping directly from the OpenBSD-box to the internet I get the 
following:

bash$ ping -c 10 217.5.191.66
PING 217.5.191.66 (217.5.191.66): 56 data bytes
64 bytes from 217.5.191.66: icmp_seq=0 ttl=246 time=1063.377 ms
64 bytes from 217.5.191.66: icmp_seq=1 ttl=246 time=1306.098 ms
ping: sendto: No buffer space available
ping: wrote 217.5.191.66 64 chars, ret=-1
64 bytes from 217.5.191.66: icmp_seq=3 ttl=246 time=1137.847 ms
64 bytes from 217.5.191.66: icmp_seq=4 ttl=246 time=1002.669 ms
ping: sendto: No buffer space available
ping: wrote 217.5.191.66 64 chars, ret=-1
ping: sendto: No buffer space available
ping: wrote 217.5.191.66 64 chars, ret=-1
ping: sendto: No buffer space available
ping: wrote 217.5.191.66 64 chars, ret=-1
64 bytes from 217.5.191.66: icmp_seq=8 ttl=246 time=1316.021 ms
ping: sendto: No buffer space available
ping: wrote 217.5.191.66 64 chars, ret=-1
--- 217.5.191.66 ping statistics ---
10 packets transmitted, 5 packets received, 50% packet loss

Now I really donīt know where to start. I found some messages on this 
mailing list from people who had the same problem. The only solution 
they found was to exchange bad NICs. So I tried rtl8139, davicom dm9102 
and intel ether express 100 NICs.
They all showed similar behaviour in dropping packets.
Also when I am connected via ssh to the OpenBSD-box from the LAN the 
terminal hangs every 10 minutes or so for about 20 seconds.
Before OpenBSD I used Debian-Linux on a similar box and it worked (and 
still works) very well. My OpenBSD-box seems to have a much higher 
packet-dropping-rate than Linux had at medium/high internet traffic.

$ cat /etc/pf.conf
nat on tun0 inet from fxp0/24 to any -> (tun0)
rdr on fxp0 proto tcp from any to any port 21 -> 127.0.0.1 port 8081
rdr on tun0 proto tcp from any to tun0 port 4663 -> 192.168.100.121 
port 4663
rdr on tun0 proto tcp from any to tun0 port 80   -> 192.168.100.201 
port 80
rdr on tun0 proto tcp from any to tun0 port 22   -> 192.168.100.201 
port 22
rdr on tun0 proto tcp from any to tun0 port 443  -> 192.168.100.201 
port 443
rdr on tun0 proto tcp from any to tun0 port 4662 -> 192.168.100.201 
port 4662
pass in on fxp0 all
pass out on fxp0 all
pass in on tun0 all
pass out on tun0 all

$ uname -a
OpenBSD scarydoor.bigblue.earth 3.3 GENERIC#44 i386

$ ifconfig fxp0
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         address: 00:06:29:71:6a:92
         media: Ethernet autoselect (100baseTX full-duplex)
         status: active
         inet 192.168.100.254 netmask 0xffffff00 broadcast 
192.168.100.255
         inet6 fe80::206:29ff:fe71:6a92%fxp0 prefixlen 64 scopeid 0x1
$ ifconfig fxp1
fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         address: 00:02:b3:29:cd:00
         media: Ethernet autoselect (none)
         status: no carrier
         inet6 fe80::202:b3ff:fe29:cd00%fxp1 prefixlen 64 scopeid 0x2
(currently disconnected from modem)

Get my dmesg at http://217.5.191.66/dmesg.txt

Thanks for your help.

Sebastian