Home | History | Annotate | Download | only in doc

Lines Matching full:address

148 \item \verb|address| --- protocol (IP or IPv6) address on a device
152 \item \verb|maddress| --- multicast address
158 abbreviated form, f.e.\ \verb|address| is abbreviated as \verb|addr|
199 IP address {\em et al\/}. In this case \verb|ip| prints an error message
316 \item \verb|address LLADDRESS|
318 --- change the station address of the interface.
322 --- change the link layer broadcast address or the peer address when
328 broadcast address will break networking.
353 \item \verb|ip link set dummy address 00:00:00:00:00:01|
355 --- change the station address of the interface \verb|dummy|.
473 involved. As a rule, it indicates that the device needs no address
497 of the addresses and is logically part of the address.
498 The default format of the station address and the broadcast address
499 (or the peer address for pointopoint links) is a
501 types may have their natural address format, f.e.\ addresses
506 NBMA links have no well-defined broadcast or peer address,
508 about the address of broadcast relay or about the address of the ARP server.
581 \section{{\tt ip address} --- protocol address management}
583 \paragraph{Abbreviations:} \verb|address|, \verb|addr|, \verb|a|.
585 \paragraph{Object:} The \verb|address| is a protocol (IP or IPv6) address attached
586 to a network device. Each device must have at least one address
599 \subsection{{\tt ip address add} --- add a new protocol address}
609 \noindent--- the name of the device to add the address to.
611 \item \verb|local ADDRESS| (default)
613 --- the address of the interface. The format of the address depends
615 separated by colons for IPv6. The \verb|ADDRESS| may be followed by
619 \item \verb|peer ADDRESS|
621 --- the address of the remote endpoint for pointopoint interfaces.
622 Again, the \verb|ADDRESS| may be followed by a slash and a decimal number,
623 encoding the network prefix length. If a peer address is specified,
624 the local address {\em cannot\/} have a prefix length. The network prefix is associated
625 with the peer rather than with the local address.
628 \item \verb|broadcast ADDRESS|
630 --- the broadcast address on the interface.
633 instead of the broadcast address. In this case, the broadcast address
639 address unless explicitly requested.
645 --- Each address may be tagged with a label string.
653 --- the scope of the area where this address is valid.
658 \item \verb|global| --- the address is globally valid.
659 \item \verb|site| --- (IPv6 only) the address is site local,
661 \item \verb|link| --- the address is link local, i.e.\
663 \item \verb|host| --- the address is valid only inside this host.
667 contains more details on address scopes.
675 --- add the usual loopback address to the loopback device.
679 --- add the address 10.0.0.1 with prefix length 24 (i.e.\ netmask
685 \subsection{{\tt ip address delete} --- delete a protocol address}
691 If no arguments are given, the first address is deleted.
697 --- deletes the loopback address from the loopback device.
712 \subsection{{\tt ip address show} --- display protocol addresses}
741 address configuration or only list permanent (not dynamic) addresses.
746 address detection.
778 additional address attributes: scope value (see Sec.\ref{IP-ADDR-ADD},
779 p.\pageref{IP-ADDR-ADD} above), flags and the address label.
781 Address flags are set by the kernel and cannot be changed
787 --- the address is not used when selecting the default source address
789 An IP address becomes secondary if another address with the same
790 prefix bits already exists. The first address is primary.
802 --- the address was created due to stateless autoconfiguration~\cite{RFC-ADDRCONF}.
804 the address is still valid. After \verb|preferred_lft| expires the address is
805 moved to the deprecated state. After \verb|valid_lft| expires the address
810 --- the address is deprecated, i.e.\ it is still valid, but cannot
815 --- the address is not used because duplicate address detection~\cite{RFC-ADDRCONF}
821 \subsection{{\tt ip address flush} --- flush protocol addresses}
838 of rounds made to flush the address list. If this option is given
859 acquired by the host from stateless address autoconfiguration
900 \item \verb|to ADDRESS| (default)
902 --- the protocol address of the neighbour. It is either an IPv4 or IPv6 address.
911 --- the link layer address of the neighbour. \verb|LLADDRESS| can also be
928 it was valid and the address is not changed by this command.
973 Particularly, the kernel may try to resolve this address even
974 on a \verb|NOARP| interface or if the address is multicast or broadcast.
987 \item \verb|to ADDRESS| (default)
1022 The first word of each line is the protocol address of the neighbour.
1024 the neighbour entry identified by the pair (device, address).
1026 \verb|lladdr| is the link layer address of the neighbour.
1050 The link layer address is valid in all states except for \verb|none|,
1116 (i.e.\ a pair containing a network address and the length of its mask) and,
1118 bits of its destination address are equal to the route prefix at least
1180 the preferred source address when communicating with this destination).
1220 as the source address of any packet.
1259 are listed above. \verb|PREFIX| is an IP or IPv6 address optionally followed
1291 \item \verb|via ADDRESS|
1293 --- the address of the nexthop router. Actually, the sense of this field depends
1296 it can be a local address of the interface.
1297 For NAT routes it is the first address of the block of translated IP destinations.
1299 \item \verb|src ADDRESS|
1301 --- the source address to prefer when sending to the destinations
1386 \item \verb|via ADDRESS| is the nexthop router.
1482 \item announce that the address 192.203.80.144 is not a real one, but
1504 Linux-2.0 had the option to delete a route selected only by prefix address,
1573 --- the same syntax as for \verb|to|, but it binds the source address range
1690 \item \verb|dst-nat| --- the destination address requires translation.
1692 \item \verb|src-nat| --- the source address requires translation.
1694 \item \verb|masq| --- the source address requires masquerading.
1846 \item \verb|to ADDRESS| (default)
1848 --- the destination address.
1850 \item \verb|from ADDRESS|
1852 --- the source address.
1868 --- if no source address (option \verb|from|) was given, relookup
1869 the route with the source set to the preferred address received from the first lookup.
1985 based only on the destination address of packets (and in theory,
1990 on destination addresses, but also on other packet fields: source address,
2012 \item packet source address.
2013 \item packet destination address.
2025 of each rule is applied to \{source address, destination address, incoming
2079 address to translate/masquerade. Besides that, rules have some
2095 \item \verb|nat| --- the rule prescribes to translate the source address
2169 \item \verb|nat ADDRESS|
2171 --- The base of the IP address block to translate (for source addresses).
2172 The \verb|ADDRESS| may be either the start of the block of NAT addresses
2173 (selected by NAT routes) or in linux-2.2 a local host address (or even zero).
2175 but masquerades them to this address; this feature disappered in 2.4.
2194 \item Translate packet source address 193.233.7.83 into 192.203.80.144
2321 Then the multicast address list follows. Each line starts with the
2325 If a multicast address has more than one user, the number
2329 is the \verb|static| flag, which indicates that the address was joined
2334 \subsection{{\tt ip maddress add} --- add a multicast address\\
2335 {\tt ip maddress delete} --- delete a multicast address}
2340 a static link layer multicast address to listen on the interface.
2348 \item \verb|address LLADDRESS| (default)
2350 --- the link layer multicast address.
2354 --- the device to join/leave this multicast address.
2371 Neither \verb|ip| nor the kernel check for multicast address validity.
2372 Particularly, this means that you can try to load a unicast address
2373 instead of a multicast address. Most drivers will ignore such addresses,
2376 local link addresses and, if you loaded the address of another host
2439 where S is the source address and G is the multicast group. \verb|Iif| is
2495 \item \verb|remote ADDRESS|
2499 \item \verb|local ADDRESS|
2501 --- set the fixed local address for tunneled packets.
2502 It must be an address on another interface of this host.
2533 either a number or an IP address-like dotted quad.
2630 monitor. It may contain \verb|link|, \verb|address| and \verb|route|.
2755 ``IPv6 Stateless Address Autoconfiguration'', RFC-2462.
2795 \section{Source address selection}
2799 address. Correct source address selection is a critical procedure,
2810 The application may select a source address explicitly with \verb|bind(2)|
2813 of the address and never tries to ``improve'' an incorrect user choice,
2818 of automatically reselecting the address on hosts with dynamic dial-out interfaces.
2825 address hint for this destination. The hint is set with the \verb|src| parameter
2834 \item IPv6 searches for the first valid, not deprecated address
2837 \item IP searches for the first valid address with a scope wider
2849 the algorithm fails and returns a zero source address.
2851 \item Otherwise, all interfaces are scanned to search for an address
2853 in the search list, so that if an address with global scope (not 127.0.0.1!)
2874 must join the solicited node multicast address to listen for the corresponding
2891 ip neigh add proxy ADDRESS [ dev NAME ]
2895 ip neigh del proxy ADDRESS [ dev NAME ]
2900 for address \verb|ADDRESS| on all devices, otherwise it will only serve
2907 parameters other than these (IP/IPv6 address and optional device).
2908 Particularly, the entry does not store any link layer address.
2909 It always advertises the station address of the interface
2910 on which it sends advertisements (i.e. it's own station address).
2915 NAT (or ``Network Address Translation'') remaps some parts
2916 of the IP address space into other ones. Linux-2.2 route NAT is supposed
2923 to be used to compress address space or to split load.
2929 using an address. For the same reason, it will not help to split
2944 To resume: if you need to compress address space or keep
2954 Some part of the address space is reserved for dummy addresses
2968 states that the single address 192.203.80.144 is a dummy NAT address.
2969 For all the world it looks like a host address inside our network.
2970 For neighbouring hosts and routers it looks like the local address
2972 this address as routed via it, {\em et al\/}. When the router
2974 this address with 193.233.7.83 which is the address of some real
2985 by our router, it should translate the source address 193.233.7.83
2991 This rule says that the source address 193.233.7.83
2993 It is important that the address after the \verb|nat| keyword
2994 is some NAT address, declared by {\tt ip route add nat}.
2995 If it is just a random address the router will not map to it.
2997 The exception is when the address is a local address of this
2999 kernel. In this case the router will masquerade the packets as this address.
3002 to order Linux to masquerade to this fixed address.
3065 \# {\bf Usage: \verb|ifone ADDRESS[/PREFIX-LENGTH] [DEVICE]|}\\
3067 \# \$1 --- Static IP address, optionally followed by prefix length.\\
3076 \# Parse IP address, splitting prefix length.
3101 \# If user gave loopback as device, we add the address as alias and exit.
3106 ip address add $ipaddr dev $dev
3124 \# IP still needs some static preconfigured address.
3128 echo "No address for $dev is configured, trying DHCP..." 1>&2
3135 \# {\bf Step 2} --- IP Duplicate Address Detection~\cite{RFC-DHCP}.\\
3142 echo "Address $ipaddr is busy, trying DHCP..." 1>&2
3148 \# OK, the address is unique, we may add it on the interface.\\
3150 \# {\bf Step 3} --- Configure the address on the interface.
3154 if ! ip address add $pfx brd + dev $dev; then
3208 \section{Example: {\protect\tt ifcfg} --- interface address management}
3212 namely, IP address management. It not only adds
3213 addresses, but also carries out Duplicate Address Detection~\cite{RFC-DHCP},
3225 \# {\bf Usage: \verb?ifcfg DEVICE[:ALIAS] [add|del] ADDRESS[/LENGTH] [PEER]?}\\
3229 \# ---IP address, optionally followed by prefix length.\\
3230 \# ---Optional peer address for pointopoint interfaces.\\
3261 \# Arg: \$1 = dotquad address
3286 echo " add - add new address" 1>&2
3287 echo " del - delete address" 1>&2
3328 echo "$1 is bad IP address." 1>&2
3335 \# If peer address is present, prefix length is 32.\\
3342 echo "Peer address with non-trivial netmask." 1>&2
3358 \# If deletion was requested, delete the address and restart RDISC
3380 \# {\bf Step 1} --- IP Duplicate Address Detection~\cite{RFC-DHCP}.\\
3387 echo "Error: some host already uses address $ipaddr on $dev." 1>&2
3392 \# OK, the address is unique. We may add it to the interface.\\
3394 \# {\bf Step 2} --- Configure the address on the interface.
3397 if ! ip address add $pfx brd + dev $dev $label; then