Не подгружаються правила IPFW

sa1
Сообщения: 82
Зарегистрирован: Пн ноя 09, 2009 1:31 pm

Re: Не подгружаються правила IPFW

Сообщение sa1 »

А какой у тебя порядок трафика на каждой из сетевушек?
10мбит? 100мбит? 300мбит? Сколько?
Какие доп настройки тюнинга пробовал? Покажи pciconv -lvc

gekz
Сообщения: 169
Зарегистрирован: Пн май 17, 2010 7:30 am

Re: Не подгружаються правила IPFW

Сообщение gekz »

Код: Выделить всё

rakitnoe# pciconf -lvc
hostb0@pci0:0:0:0:      class=0x060000 card=0x32000e11 chip=0x35908086 rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'E7520 Server Memory Controller Hub'
    class      = bridge
    subclass   = HOST-PCI
    cap 09[40] = vendor (length 5) Intel cap 4 version 1
pcib1@pci0:0:2:0:       class=0x060400 card=0x00000000 chip=0x35958086 rev=0x0c hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'E752x Memory Controller Hub PCIe Port A0'
    class      = bridge
    subclass   = PCI-PCI
    cap 01[50] = powerspec 2  supports D0 D3  current D0
    cap 05[58] = MSI supports 2 messages
    cap 10[64] = PCI-Express 1 root port max data 256(256) link x8(x8)
pcib4@pci0:0:4:0:       class=0x060400 card=0x00000000 chip=0x35978086 rev=0x0c hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'E752x Memory Controller Hub PCIe Port B0'
    class      = bridge
    subclass   = PCI-PCI
    cap 01[50] = powerspec 2  supports D0 D3  current D0
    cap 05[58] = MSI supports 2 messages
    cap 10[64] = PCI-Express 1 root port max data 256(256) link x0(x8)
pcib5@pci0:0:6:0:       class=0x060400 card=0x00000000 chip=0x35998086 rev=0x0c hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'E752x Memory Controller Hub PCIe Port C0'
    class      = bridge
    subclass   = PCI-PCI
    cap 01[50] = powerspec 2  supports D0 D3  current D0
    cap 05[58] = MSI supports 2 messages
    cap 10[64] = PCI-Express 1 root port max data 256(256) link x0(x8)
pcib6@pci0:0:28:0:      class=0x060400 card=0x00000000 chip=0x25ae8086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Hub Interface to PCI-X Bridge (6300ESB)'
    class      = bridge
    subclass   = PCI-PCI
    cap 07[50] = PCI-X 64-bit bridge
uhci0@pci0:0:29:0:      class=0x0c0300 card=0x32010e11 chip=0x25a98086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'USB 1.1 UHCI Controller *1 (6300ESB)'
    class      = serial bus
    subclass   = USB
uhci1@pci0:0:29:1:      class=0x0c0300 card=0x32010e11 chip=0x25aa8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'USB 1.1 UHCI Controller *2 (6300ESB)'
    class      = serial bus
    subclass   = USB
none0@pci0:0:29:4:      class=0x088000 card=0x32010e11 chip=0x25ab8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Watchdog Timer (6300ESB)'
    class      = base peripheral
ioapic0@pci0:0:29:5:    class=0x080020 card=0x32010e11 chip=0x25ac8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6300ESB I/O Advanced Programmable Interrupt Controller'
    class      = base peripheral
    subclass   = interrupt controller
    cap 07[50] = PCI-X 64-bit supports 512 burst read, 1 split transaction
ehci0@pci0:0:29:7:      class=0x0c0320 card=0x32010e11 chip=0x25ad8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'USB 2.0 EHCI Controller (6300ESB)'
    class      = serial bus
    subclass   = USB
    cap 01[50] = powerspec 2  supports D0 D3  current D0
    cap 0a[58] = EHCI Debug Port at offset 0x80 in map 0x14
pcib7@pci0:0:30:0:      class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x0a hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801 Family (ICH2/3/4/5/6/7/8/9,63xxESB) Hub Interface to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:      class=0x060100 card=0x00000000 chip=0x25a18086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6300ESB LPC Inteface Controller'
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:0:31:1:    class=0x01018a card=0x32010e11 chip=0x25a28086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'IDE Controller (6300ESB)'
    class      = mass storage
    subclass   = ATA
pcib2@pci0:5:0:0:       class=0x060400 card=0x00000000 chip=0x03298086 rev=0x09 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'PCI Express-to-PCI Express Bridge A (6700PXH)'
    class      = bridge
    subclass   = PCI-PCI
    cap 10[44] = PCI-Express 1 PCI bridge max data 256(256) link x8(x8)
    cap 05[5c] = MSI supports 1 message, 64 bit
    cap 01[6c] = powerspec 2  supports D0 D3  current D0
    cap 07[d8] = PCI-X bridge
pcib3@pci0:5:0:2:       class=0x060400 card=0x00000000 chip=0x032a8086 rev=0x09 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'PCI Express-to-PCI Express Bridge B (6700PXH)'
    class      = bridge
    subclass   = PCI-PCI
    cap 10[44] = PCI-Express 1 PCI bridge max data 256(256) link x8(x8)
    cap 05[5c] = MSI supports 1 message, 64 bit
    cap 01[6c] = powerspec 2  supports D0 D3  current D0
    cap 07[d8] = PCI-X bridge
ciss0@pci0:9:2:0:       class=0x010400 card=0x409a0e11 chip=0x00460e11 rev=0x01 hdr=0x00
    vendor     = 'Compaq Computer Corp (Now owned by Hewlett-Packard)'
    device     = 'Smart Array 64xx/6i Controller'
    class      = mass storage
    subclass   = RAID
    cap 01[d0] = powerspec 2  supports D0 D1 D3  current D0
    cap 07[dc] = PCI-X 64-bit supports 133MHz, 2048 burst read, 8 split transactions
    cap 03[f0] = VPD
em0@pci0:2:2:0: class=0x020000 card=0x13768086 chip=0x107c8086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Gigabit Ethernet Controller (Copper) rev 5 (82541PI)'
    class      = network
    subclass   = ethernet
    cap 01[dc] = powerspec 2  supports D0 D3  current D0
    cap 07[e4] = PCI-X supports 2048 burst read, 1 split transaction
mpt0@pci0:2:3:0:        class=0x010000 card=0x00da0e11 chip=0x00301000 rev=0x08 hdr=0x00
    vendor     = 'LSI Logic (Was: Symbios Logic, NCR)'
    device     = 'PCI-X to Ultra320 SCSI Controller (LSI53C1020/1030)'
    class      = mass storage
    subclass   = SCSI
    cap 01[50] = powerspec 2  supports D0 D1 D2 D3  current D0
    cap 05[58] = MSI supports 1 message, 64 bit
    cap 07[68] = PCI-X 64-bit supports 133MHz, 2048 burst read, 8 split transactions
mpt1@pci0:2:3:1:        class=0x010000 card=0x00da0e11 chip=0x00301000 rev=0x08 hdr=0x00
    vendor     = 'LSI Logic (Was: Symbios Logic, NCR)'
    device     = 'PCI-X to Ultra320 SCSI Controller (LSI53C1020/1030)'
    class      = mass storage
    subclass   = SCSI
    cap 01[50] = powerspec 2  supports D0 D1 D2 D3  current D0
    cap 05[58] = MSI supports 1 message, 64 bit
    cap 07[68] = PCI-X 64-bit supports 133MHz, 2048 burst read, 8 split transactions
bge0@pci0:1:2:0:        class=0x020000 card=0x00e30e11 chip=0x165414e4 rev=0x03 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = 'NetXtreme Gigabit Ethernet (BCM5705-)'
    class      = network
    subclass   = ethernet
    cap 01[48] = powerspec 2  supports D0 D3  current D0
    cap 03[50] = VPD
    cap 05[58] = MSI supports 8 messages, 64 bit
vgapci0@pci0:1:3:0:     class=0x030000 card=0x001e0e11 chip=0x47521002 rev=0x27 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'ATI On-Board VGA for HP Proliant 350 G3 (Rage XL PCI)'
    class      = display
    subclass   = VGA
    cap 01[5c] = powerspec 2  supports D0 D1 D2 D3  current D0
none1@pci0:1:4:0:       class=0x088000 card=0x00d70e11 chip=0x00d70e11 rev=0x01 hdr=0x00
    vendor     = 'Compaq Computer Corp (Now owned by Hewlett-Packard)'
    class      = base peripheral
    cap 01[f0] = powerspec 2  supports D0 D3  current D0

gekz
Сообщения: 169
Зарегистрирован: Пн май 17, 2010 7:30 am

Re: Не подгружаються правила IPFW

Сообщение gekz »

тут немного почитал
ни чего не помогает
ерунда какая то
проблема в связке
как увеличить жизнь пакету?
может в этом проблема
ибо чёта быстро они мрут

gekz
Сообщения: 169
Зарегистрирован: Пн май 17, 2010 7:30 am

Re: Не подгружаються правила IPFW

Сообщение gekz »

и всё это без всякой нагрузки
те один тестовый бук подключен к серваку
завёл пптп
изменений 0

gekz
Сообщения: 169
Зарегистрирован: Пн май 17, 2010 7:30 am

Re: Не подгружаються правила IPFW

Сообщение gekz »

обрезаем параметром к примеру

Код: Выделить всё

mpd-limit+="in#1=all rate-limit 100000 12000 24000",
mpd-limit+="out#1=all rate-limit 100000 19000 38000"
кстати пробывал так

Код: Выделить всё

mpd-limit+=in#1=all shape 128000 4000,
mpd-limit+=out#1=all shape 128000 4000
пинг не теряется, но задержки очень больше

Код: Выделить всё

ЋвўҐв ®в 10.10.10.254: зЁб«® Ўв=32 ўаҐ¬п=1290¬б TTL=64
ЋвўҐв ®в 10.10.10.254: зЁб«® Ўв=32 ўаҐ¬п=1357¬б TTL=64
ЋвўҐв ®в 10.10.10.254: зЁб«® Ўв=32 ўаҐ¬п=1182¬б TTL=64
ЋвўҐв ®в 10.10.10.254: зЁб«® Ўв=32 ўаҐ¬п=721¬б TTL=64
ЋвўҐв ®в 10.10.10.254: зЁб«® Ўв=32 ўаҐ¬п=878¬б TTL=64
ЋвўҐв ®в 10.10.10.254: зЁб«® Ўв=32 ўаҐ¬п=871¬б TTL=64
ЋвўҐв ®в 10.10.10.254: зЁб«® Ўв=32 ўаҐ¬п=698¬б TTL=64
ЋвўҐв ®в 10.10.10.254: зЁб«® Ўв=32 ўаҐ¬п=618¬б TTL=64
ЋвўҐв ®в 10.10.10.254: зЁб«® Ўв=32 ўаҐ¬п=879¬б TTL=64
ЋвўҐв ®в 10.10.10.254: зЁб«® Ўв=32 ўаҐ¬п=702¬б TTL=64
ЋвўҐв ®в 10.10.10.254: зЁб«® Ўв=32 ўаҐ¬п=1078¬б TTL=64
ЋвўҐв ®в 10.10.10.254: зЁб«® Ўв=32 ўаҐ¬п=792¬б TTL=64
ЋвўҐв ®в 10.10.10.254: зЁб«® Ўв=32 ўаҐ¬п=850¬б TTL=64
ЋвўҐв ®в 10.10.10.254: зЁб«® Ўв=32 ўаҐ¬п=1185¬б TTL=64
ЋвўҐв ®в 10.10.10.254: зЁб«® Ўв=32 ўаҐ¬п=735¬б TTL=64
ЋвўҐв ®в 10.10.10.254: зЁб«® Ўв=32 ўаҐ¬п=656¬б TTL=64
ЋвўҐв ®в 10.10.10.254: зЁб«® Ўв=32 ўаҐ¬п=617¬б TTL=64

gekz
Сообщения: 169
Зарегистрирован: Пн май 17, 2010 7:30 am

Re: Не подгружаються правила IPFW

Сообщение gekz »

чёт ерунда какая то
добавил ещё одну сетевуху, дабы проверить работу встроенной
настроил все интерфейсы по новому через сисктл, присвоил новые айпишники и внешней назначил шлюз и днс
теперь так
rl0 - нешняя
em0- внутрен
bge0 - просто так
шлюз не пингуется
чё могет быть?
ерунда какая то

sa1
Сообщения: 82
Зарегистрирован: Пн ноя 09, 2009 1:31 pm

Re: Не подгружаються правила IPFW

Сообщение sa1 »

Может быть файервол

Чудес не бывает. Где-то ошибка.

Ответить