Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2003 21:46:14 +0200
From:      "Franky" <franky@is.net.pl>
To:        "Harti Brandt" <brandt@fokus.fraunhofer.de>, "Franky" <franky@is.net.pl>
Cc:        "vjardin@wanadoo.fr"@arrakis.solutions.net.pl
Subject:   Odp: Re: Odp: Re: patm, idt, ipfw - next adentures
Message-ID:  <20031007194614.685322304B@arrakis.solutions.net.pl>

next in thread | raw e-mail | index | archive | help
> I suppose there is a bad interaction between HARP and IPFW. Can you
> tell me what I should need to configure IPFW (the simplest configuration
> (I suppose this would be to pass all packets)).
>
ok, you can try this:
-kernel part of my configuration:
#device         patm
#device         utopia
device          atm
device          harp
options         ATM_CORE
options         ATM_IP
options         ATM_SIGPVC
options         LIBMBPOOL
options         NATM
#device idt
options         HZ=1000
options         DEVICE_POLLING
options         PANIC_REBOOT_WAIT_TIME=9
options         IPFIREWALL
options         IPDIVERT
options         IPFIREWALL_FORWARD
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         DUMMYNET
options         IPSTEALTH
options         PPP_BSDCOMP
options         PPP_DEFLATE
#options         PUC_FASTINTR
options         NMBCLUSTERS=65536
options         NBUF=8192
-syctl part:
sysctl kern.polling.enable=1
sysctl net.inet.ip.fw.one_pass=0
sysctl -w net.inet.ip.dummynet.hash_size=65536
-ipfw part:
ipfw pipe 1 config bw 5000Kbit/s queue 4Kbytes
ipfw queue 10 config weight 65 pipe 1 buckets 4096 mask dst-ip 0x0000ffff
ipfw queue 11 config weight 35 pipe 1 buckets 4096 mask dst-ip 0x0000ffff

ipfw add 510 queue 10 all from 192.168.1.0/26 to any out via x0
ipfw add 511 queue 11 all from not 192.168.1.0/26 to any out via x0

There is something else, tcpdump doesn't work with filter options (like host
xxx.xxx.xxx.xxx) probably with others too.
Last night I did cvs on router with atm and now when I turn ipfw on atm
"pseudo" interfaces I get
message: no buffer space available .
Idt send new messages too:
ct  6 23:30:32 ordos kernel: idt0: BUFFER STATUS: small=510/510,
large=510/510.
Oct  6 23:32:38 ordos kernel: idt0: Cannot add large buffers, size=0.
Oct  6 23:34:17 ordos kernel: idt0: BUFFER STATUS: small=510/510,
large=510/510.








________________________________________________
http://www.is.net.pl



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