|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Valentin Davydov 2:5020/400 12 Feb 2004 19:28:27 To : vladimir.sharun@ukr.net Subject : Re: FreeBSD 5.2 и src-address --------------------------------------------------------------------------------
> From: vladimir.sharun@ukr.net
> Date: Wed, 11 Feb 2004 16:04:42 +0000 (UTC)
>
>Вот наступил на граблю: поднимаю реальный адрес и 10-ку алиасом
>на xl0. Пингаю соседнюю машину в 10-ке, а tcpdump показывает,
>что у меня в качестве src стоит не 10-я сетка, а реальный адрес.
>Что это может быть такое ? Алиас /24 вестимо.
man ping
-r Bypass the normal routing tables and send directly to a host on
an attached network. If the host is not on a directly-attached
network, an error is returned. This option can be used to ping a
local host through an interface that has no route through it
(e.g., after the interface was dropped by routed(8)).
-S src_addr
Use the following IP address as the source address in outgoing
packets. On hosts with more than one IP address, this option can
be used to force the source address to be something other than
the IP address of the interface the probe packet is sent on. If
the IP address is not one of this machine's interface addresses,
an error is returned and nothing is sent.
Hе оно?
Вал. Дав.
--- ifmail v.2.15dev5.3
* Origin: St. Petersburg State University (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/44176803988f.html, оценка из 5, голосов 10
|