In article <10740.991014@McFlySr.Kurgan.Ru> you wrote:
MM> Очень хочется узнать, а сколько именно можно повешать на eth0
MM> "ip address .... secondary" ? в доке сказано просто - можно и все.
MM> А сколько именно? Пока конфиг будет во флэш влазить? :)
ip address
To set a primary or secondary IP address for an interface, use the ip
address interface configuration command. To remove an IP address or
disable IP processing, use the no form of this command.
ip address ip-address mask [secondary]
no ip address ip-address mask [secondary]
Syntax Description
ip-address
IP address.
mask
Mask for the associated IP subnet.
secondary
(Optional) Specifies that the configured address is a
secondary IP address. If this keyword is omitted, the
configured address is the primary IP address.
Default
No IP address is defined for the interface.
Command Mode
Interface configuration
Usage Guidelines
An interface can have one primary IP address and multiple secondary
IP addresses. Packets generated by the Cisco IOS software always use
the primary IP address. Therefore, all routers and access servers on
a segment should share the same primary network number.
Hosts can determine subnet masks using the Internet Control Message
Protocol (ICMP) Mask Request message. Routers respond to this request
with an ICMP Mask Reply message.
You can disable IP processing on a particular interface by removing
its IP address with the no ip address command. If the software
detects another host using one of its IP addresses, it will print an
error message on the console.
The optional keyword secondary allows you to specify an unlimited
number of secondary addresses. Secondary addresses are treated like
primary addresses, except the system never generates datagrams other
than routing updates with secondary source addresses. IP broadcasts
and ARP requests are handled properly, as are interface routes in the
IP routing table.
--
John, http://www.t.uz, mailto:john@kak-sam.to
=============================================================================
"inet-admins" Internet access mailing list. Maintained by East Connection ISP.
Mail "unsubscribe inet-admins" to Majordomo@info.east.ru if you want to quit.
Archive is accessible on http://info.east.ru/rus/inetadm.html