LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 02-16-2008, 12:36 PM   #1
Fin7PL
Member
 
Registered: Mar 2005
Location: Finland
Distribution: FreeBSD 9.0
Posts: 59

Rep: Reputation: 17
Networking is not working properly? ( 6.2 )


Hi! I think theres something wrong but what.

Netstat -m is showing this

2/268/270 mbufs in use (current/cache/total)
0/134/134/32768 mbuf clusters in use (current/cache/total/max)
0/128 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
0K/335K/335K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/5/4528 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
0 calls to protocol drain routines

And when trying to use dhcpd i cant get it to work because of bpf.
BPF is compiled in kernel and shows in /dev/ bpf0 bpf1
Internet Systems Consortium DHCP Server V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Wrote 0 leases to leases file.
Listening on Socket/rl1/10.0.0/24
Sending on Socket/rl1/10.0.0/24

But it never actually starts and runs.
And seems that everything is cached. is it because of rl cards or what im missing out. (rl0 outside and rl1 inside 10.0.0/24)
 
Old 02-16-2008, 01:29 PM   #2
Fin7PL
Member
 
Registered: Mar 2005
Location: Finland
Distribution: FreeBSD 9.0
Posts: 59

Original Poster
Rep: Reputation: 17
Ok, dhcpd reinstalling seemed to work for now. dunno why it didnt work earlier. But still are those netstat -m readings with everything in "cache" something i would have to worry about?.
 
Old 02-16-2008, 05:15 PM   #3
Fin7PL
Member
 
Registered: Mar 2005
Location: Finland
Distribution: FreeBSD 9.0
Posts: 59

Original Poster
Rep: Reputation: 17
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny

I get this divert loadable? on other bsd installation i get divert enabled? What should i do? and i have compiled kernel with options IPDIVERT.

This gateway is working somewhat properly but it seems a bit slow. or is this just some placebo effect. Thanks for replies.
 
Old 02-16-2008, 11:30 PM   #4
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by Fin7PL
I get this divert loadable? on other bsd installation i get divert enabled?
See the manpages for divert(4):
Quote:
To enable divert sockets, a kernel must be compiled with options IPDIVERT
or the ipdivert.ko module can be loaded at run-time:

kldload ipdivert
 
Old 02-17-2008, 03:23 AM   #5
Fin7PL
Member
 
Registered: Mar 2005
Location: Finland
Distribution: FreeBSD 9.0
Posts: 59

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by Fin7PL View Post
ipfw2 i have compiled kernel with options IPDIVERT.
Kernel is compiled ok. Doublechecked. Think my concern is that question about netstat -m results with everything in cache. Should i be worried or not?

Code:
2/268/270 mbufs in use (current/cache/total)
0/134/134/32768 mbuf clusters in use (current/cache/total/max)
0/128 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
0K/335K/335K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/5/4528 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
0 calls to protocol drain routines
And my other Bsd installation.

Code:
195/450/645 mbufs in use (current/cache/total)
192/198/390/32768 mbuf clusters in use (current/cache/total/max)
192/192 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
432K/508K/941K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/10/4496 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
71 requests for I/O initiated by sendfile
68 calls to protocol drain routines
Seems slightly different. Thanks for your efforts to explain/help me on this

Last edited by Fin7PL; 02-18-2008 at 01:12 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kwiki not working properly RodWC Linux - General 5 01-29-2007 06:49 PM
I don't think my ACPI is working properly Richard Rahl Linux - Hardware 2 08-14-2006 11:37 AM
wacom not working properly spotty spot Linux - Hardware 0 11-14-2005 04:32 PM
X not working properly. MylesCLin Linux - Software 1 09-15-2004 10:46 AM
Can't get NFS working properly Scruff Linux - Networking 8 02-08-2004 10:55 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 01:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration