On Tue, May 03, 2005 at 02:00:56PM +0300, Vladimir A. Podgorny wrote:
"Даже в линуксах" есть /sbin/ip.
Между-прочим!!!
$ ip addr show dev eth0.100
4: eth0.100: mtu 1500 qdisc noqueue
[...]
inet 194.146.140.4/28 brd 194.146.140.255 scope global eth0.100
inet 194.146.142.4/28 brd 194.146.142.255 scope global eth0.100:1
[...]
$ /sbin/ifconfig eth0.100
eth0.100 Link encap:Ethernet HWaddr 00:0C:6E:DC:B0:17
inet addr:194.146.140.4 Bcast:194.146.140.255 Mask:255.255.255.240
[...]
Замечаете? Второго адреса нет. :) Но он есть :)
$ fping -c 1 194.146.140.4 194.146.142.4
194.146.140.4 : [0], 84 bytes, 0.06 ms (0.06 avg, 0% loss)
194.146.142.4 : [0], 84 bytes, 0.05 ms (0.05 avg, 0% loss)
Фокус? :)))
--
Welcome to Lake Wobegon, where all the men are strong, the women are pretty,
and the children are above-average.
-- Garrison Keillor
===================================================================
uanog mailing list.
To Unsubscribe: send mail to majordomo@uanog.kiev.ua
with "unsubscribe uanog" in the body of the message