|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Valentin Davydov 2:5020/400 29 Mar 2001 22:56:26 To : All Subject : Re: pppd & natd & ipfw --------------------------------------------------------------------------------
> From: Dmitriy Kyrhlarov <dimma@electromir.ru>
> Date: Wed, 28 Mar 2001 18:28:58 +0000 (UTC)
>
>> Или natd нужно вешать только для исходящий звонков ?
>> Везде написано для одного ppp интерфейса, а как для ppp больше одного ?
>
>Сорри, а какая разница natd-у и ipfw сколько ip-шников обслуживать?
$ man libalias
2.3 PacketAliasSetAddress()
void PacketAliasSetAddress(struct in_addr addr)
This function sets the source address to which outgoing packets from the
local area network are aliased. All outgoing packets are remapped to
this address unless overridden by a static address mapping established by
PacketAliasRedirectAddr().
If the PKT_ALIAS_RESET_ON_ADDR_CHANGE mode bit is set (the default mode
of operation), then the internal aliasing link tables will be reset any
time the aliasing address changes. This is useful for interfaces such as
ppp where the IP address may or may not change on successive dial-up at-
tempts.
If the PKT_ALIAS_RESET_ON_ADDR_CHANGE mode bit is set to zero, this func-
tion can also be used to dynamically change the aliasing address on a
packet to packet basis (it is a low overhead call).
It is mandatory that this function be called prior to any packet han-
dling.
Hу, и куда ты второй IPшник засовывать собираешься?
Вал. Дав.
--- ifmail v.2.15dev5
* Origin: St. Petersburg State University (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/44179b9ed57f.html, оценка из 5, голосов 10
|