Odp: Re: Odp: Re: patm, idt, ipfw - next adentures

Franky franky at is.net.pl
Tue Oct 7 12:46:20 PDT 2003


> 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



More information about the freebsd-atm mailing list