Jump to content
Калькуляторы

IPFW table

Добрый вечер коллеги.Наблюдается такая проблема. Периодически удаляется из таблицы IP-адрес (IPFW table). Кол-во IP в таблице 1100 где-то. Используем MPD5. При подключении сессии используется атрибут mpd-table-static и тянет IP.Таблица номер 4. Разрешающая интернет. Сессии не разорвана , но IP удалился. следовательно инет у клиента отвалился. Кто нибудь сталкивался?

 

${fwcmd} add allow ip from 'table(4)' to 'table(4)'
${fwcmd} add allow all from 'table(4)' to any
${fwcmd} add allow all from any to 'table(4)'

Edited by roysbike

Share this post


Link to post
Share on other sites

Какой прок от?

${fwcmd} add allow ip from 'table(4)' to 'table(4)'

 

Сами по себе они не могли удалится.

 

Никакого наверно. Дык вот и я думаю. Почему он удаляется. Самое что интересное в mpd , когда смотришь параметры сессии ipfw table 4 присутсвует . Сначало он был!

Interface:
Name            : ng1433
Status          : UP
Session time    : 3299 seconds
MTU             : 1492 bytes
IP Addresses    : 172.16.1.2/32 -> 172.16.29.18
IPFW tables     :
	(4)	'172.16.29.18'
Traffic filters :
	1#1	'match dst net 87.245.x.x/28'
	2#2	'match src net 87.245.x.x/28'
Traffic limits  :
	in#3	'flt1 rate-limit 20480000 2560000 7680000  pass'
	in#4	'all rate-limit 24576000 3072000 9216000 pass'
	out#3	'flt2 rate-limit 20480000 2560000 7680000  pass'
	out#4	'all rate-limit 24576000 3072000 9216000 pass'

Клиент позвонил . смотрю его IP-172.16.29.18 в ipfw table 4 list ,его там нет.Почему он может удалится из таблицы?

Edited by roysbike

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.