Lines Matching refs:Address
113 \item \verb|address| --- protocol (IP or IPv6) address on a device
117 \item \verb|maddress| --- multicast address
123 abbreviated form, f.e.\ \verb|address| is abbreviated as \verb|addr|
164 IP address {\em et al\/}. In this case \verb|ip| prints an error message
281 \item \verb|address LLADDRESS|
283 --- change the station address of the interface.
287 --- change the link layer broadcast address or the peer address when
293 broadcast address will break networking.
318 \item \verb|ip link set dummy address 00:00:00:00:00:01|
320 --- change the station address of the interface \verb|dummy|.
438 involved. As a rule, it indicates that the device needs no address
462 of the addresses and is logically part of the address.
463 The default format of the station address and the broadcast address
464 (or the peer address for pointopoint links) is a
466 types may have their natural address
471 NBMA links have no well-defined broadcast or peer address,
473 about the address of broadcast relay or about the address of the ARP server.
546 \section{{\tt ip address} --- protocol address management}
548 \paragraph{Abbreviations:} \verb|address|, \verb|addr|, \verb|a|.
550 \paragraph{Object:} The \verb|address| is a protocol (IP or IPv6) address attached
551 to a network device. Each device must have at least one address
564 \subsection{{\tt ip address add} --- add a new protocol address}
574 \noindent--- the name of the device to add the address to.
576 \item \verb|local ADDRESS| (default)
578 --- the address of the interface. The format of the address depends
580 separated by colons for IPv6. The \verb|ADDRESS| may be followed by
584 \item \verb|peer ADDRESS|
586 --- the address of the remote endpoint for pointopoint interfaces.
587 Again, the \verb|ADDRESS| may be followed by a slash and a decimal number,
588 encoding the network prefix length. If a peer address is specified,
589 the local address {\em cannot\/} have a prefix length. The network prefix is associated
590 with the peer rather than with the local address.
593 \item \verb|broadcast ADDRESS|
595 --- the broadcast address on the interface.
598 instead of the broadcast address. In this case, the broadcast address
604 address unless explicitly requested.
610 --- Each address may be tagged with a label string.
618 --- the scope of the area where this address is valid.
623 \item \verb|global| --- the address is globally valid.
624 \item \verb|site| --- (IPv6 only) the address is site local,
626 \item \verb|link| --- the address is link local, i.e.\
628 \item \verb|host| --- the address is valid only inside this host.
632 contains more details on address scopes.
640 --- add the usual loopback address to the loopback device.
644 --- add the address 10.0.0.1 with prefix length 24 (i.e.\ netmask
650 \subsection{{\tt ip address delete} --- delete a protocol address}
656 If no arguments are given, the first address is deleted.
662 --- deletes the loopback address from the loopback device.
677 \subsection{{\tt ip address show} --- display protocol addresses}
706 address configuration or only list permanent (not dynamic) addresses.
711 address detection.
743 additional address attributes: scope value (see Sec.\ref{IP-ADDR-ADD},
744 p.\pageref{IP-ADDR-ADD} above), flags and the address label.
746 Address flags are set by the kernel and cannot be changed
752 --- the address is not used when selecting the default source address
754 An IP address becomes secondary if another address with the same
755 prefix bits already exists. The first address is primary.
767 --- the address was created due to stateless autoconfiguration~\cite{RFC-ADDRCONF}.
769 the address is still valid. After \verb|preferred_lft| expires the address is
770 moved to the deprecated state. After \verb|valid_lft| expires the address
775 --- the address is deprecated, i.e.\ it is still valid, but cannot
780 --- the address is not used because duplicate address detection~\cite{RFC-ADDRCONF}
786 \subsection{{\tt ip address flush} --- flush protocol addresses}
803 of rounds made to flush the address list. If this option is given
824 acquired by the host from stateless address autoconfiguration
865 \item \verb|to ADDRESS| (default)
867 --- the protocol address of the neighbour. It is either an IPv4 or IPv6 address.
876 --- the link layer address of the neighbour. \verb|LLADDRESS| can also be
893 it was valid and the address is not changed by this command.
938 Particularly, the kernel may try to resolve this address even
939 on a \verb|NOARP| interface or if the address is multicast or broadcast.
952 \item \verb|to ADDRESS| (default)
987 The first word of each line is the protocol address of the neighbour.
989 the neighbour entry identified by the pair (device, address).
991 \verb|lladdr| is the link layer address of the neighbour.
1015 The link layer address is valid in all states except for \verb|none|,
1081 (i.e.\ a pair containing a network address and the length of its mask) and,
1083 bits of its destination address are equal to the route prefix at least
1145 the preferred source address when communicating with this destination).
1185 as the source address of any packet.
1224 are listed above. \verb|PREFIX| is an IP or IPv6 address optionally followed
1256 \item \verb|via ADDRESS|
1258 --- the address of the nexthop router. Actually, the sense of this field depends
1261 it can be a local address of the interface.
1262 For NAT routes it is the first address of the block of translated IP destinations.
1264 \item \verb|src ADDRESS|
1266 --- the source address to prefer when sending to the destinations
1351 \item \verb|via ADDRESS| is the nexthop router.
1436 \item announce that the address 192.203.80.144 is not a real one, but
1458 Linux-2.0 had the option to delete a route selected only by prefix address,
1527 --- the same syntax as for \verb|to|, but it binds the source address range
1644 \item \verb|dst-nat| --- the destination address requires translation.
1646 \item \verb|src-nat| --- the source address requires translation.
1648 \item \verb|masq| --- the source address requires masquerading.
1800 \item \verb|to ADDRESS| (default)
1802 --- the destination address.
1804 \item \verb|from ADDRESS|
1806 address.
1822 --- if no source address (option \verb|from|) was given, relookup
1823 the route with the source set to the preferred address received from the first lookup.
1939 based only on the destination address of packets (and in theory,
1944 on destination addresses, but also on other packet fields: source address,
1966 \item packet source address.
1967 \item packet destination address.
1979 of each rule is applied to \{source address, destination address, incoming
2033 address to translate/masquerade. Besides that, rules have some
2049 \item \verb|nat| --- the rule prescribes to translate the source address
2123 \item \verb|nat ADDRESS|
2125 --- The base of the IP address block to translate (for source addresses).
2126 The \verb|ADDRESS| may be either the start of the block of NAT addresses
2127 (selected by NAT routes) or in linux-2.2 a local host address (or even zero).
2129 but masquerades them to this address; this feature disappered in 2.4.
2148 \item Translate packet source address 193.233.7.83 into 192.203.80.144
2239 Then the multicast address list follows. Each line starts with the
2243 If a multicast address has more than one user, the number
2247 is the \verb|static| flag, which indicates that the address was joined
2252 \subsection{{\tt ip maddress add} --- add a multicast address\\
2253 {\tt ip maddress delete} --- delete a multicast address}
2258 a static link layer multicast address to listen on the interface.
2266 \item \verb|address LLADDRESS| (default)
2268 --- the link layer multicast address.
2272 --- the device to join/leave this multicast address.
2289 Neither \verb|ip| nor the kernel check for multicast address validity.
2290 Particularly, this means that you can try to load a unicast address
2291 instead of a multicast address. Most drivers will ignore such addresses,
2294 local link addresses and, if you loaded the address of another host
2357 where S is the source address and G is the multicast group. \verb|Iif| is
2413 \item \verb|remote ADDRESS|
2417 \item \verb|local ADDRESS|
2419 --- set the fixed local address for tunneled packets.
2420 It must be an address on another interface of this host.
2451 either a number or an IP address-like dotted quad.
2548 It may contain \verb|link|, \verb|address| and \verb|route|.
2671 ``IPv6 Stateless Address Autoconfiguration'', RFC-2462.
2711 \section{Source address selection}
2715 address. Correct source address selection is a critical procedure,
2726 The application may select a source address explicitly with \verb|bind(2)|
2729 of the address and never tries to ``improve'' an incorrect user choice,
2734 of automatically reselecting the address on hosts with dynamic dial-out interfaces.
2741 address hint for this destination. The hint is set with the \verb|src| parameter
2750 \item IPv6 searches for the first valid, not deprecated address
2753 \item IP searches for the first valid address with a scope wider
2765 the algorithm fails and returns a zero source address.
2767 \item Otherwise, all interfaces are scanned to search for an address
2769 in the search list, so that if an address with global scope (not 127.0.0.1!)
2790 must join the solicited node multicast address to listen for the corresponding
2807 ip neigh add proxy ADDRESS [ dev NAME ]
2811 ip neigh del proxy ADDRESS [ dev NAME ]
2816 for address \verb|ADDRESS| on all devices, otherwise it will only serve
2823 parameters other than these (IP/IPv6 address and optional device).
2824 Particularly, the entry does not store any link layer address.
2825 It always advertises the station address of the interface
2826 on which it sends advertisements (i.e. it's own station address).
2831 NAT (or ``Network Address Translation'') remaps some parts
2832 of the IP address space into other ones. Linux-2.2 route NAT is supposed
2839 to be used to compress address space or to split load.
2845 using an address. For the same reason, it will not help to split
2860 To resume: if you need to compress address space or keep
2870 Some part of the address space is reserved for dummy addresses
2884 states that the single address 192.203.80.144 is a dummy NAT address.
2885 For all the world it looks like a host address inside our network.
2886 For neighbouring hosts and routers it looks like the local address
2888 this address as routed via it, {\em et al\/}. When the router
2890 this address with 193.233.7.83 which is the address of some real
2901 by our router, it should translate the source address 193.233.7.83
2907 This rule says that the source address 193.233.7.83
2909 It is important that the address after the \verb|nat| keyword
2910 is some NAT address, declared by {\tt ip route add nat}.
2911 If it is just a random address the router will not map to it.
2913 The exception is when the address is a local address of this
2915 kernel. In this case the router will masquerade the packets as this address.
2918 to order Linux to masquerade to this fixed address.
2981 \# {\bf Usage: \verb|ifone ADDRESS[/PREFIX-LENGTH] [DEVICE]|}\\
2983 \# \$1 --- Static IP address, optionally followed by prefix length.\\
2992 \# Parse IP address, splitting prefix length.
3017 \# If user gave loopback as device, we add the address as alias and exit.
3022 ip address add $ipaddr dev $dev
3040 \# IP still needs some static preconfigured address.
3044 echo "No address for $dev is configured, trying DHCP..." 1>&2
3051 \# {\bf Step 2} --- IP Duplicate Address Detection~\cite{RFC-DHCP}.\\
3058 echo "Address $ipaddr is busy, trying DHCP..." 1>&2
3064 \# OK, the address is unique, we may add it on the interface.\\
3066 \# {\bf Step 3} --- Configure the address on the interface.
3070 if ! ip address add $pfx brd + dev $dev; then
3124 \section{Example: {\protect\tt ifcfg} --- interface address management}
3128 namely, IP address management. It not only adds
3129 addresses, but also carries out Duplicate Address Detection~\cite{RFC-DHCP},
3141 \# {\bf Usage: \verb?ifcfg DEVICE[:ALIAS] [add|del] ADDRESS[/LENGTH] [PEER]?}\\
3145 address, optionally followed by prefix length.\\
3146 \# ---Optional peer address for pointopoint interfaces.\\
3177 \# Arg: \$1 = dotquad address
3202 echo " add - add new address" 1>&2
3203 echo " del - delete address" 1>&2
3244 echo "$1 is bad IP address." 1>&2
3251 \# If peer address is present, prefix length is 32.\\
3258 echo "Peer address with non-trivial netmask." 1>&2
3274 \# If deletion was requested, delete the address and restart RDISC
3296 \# {\bf Step 1} --- IP Duplicate Address Detection~\cite{RFC-DHCP}.\\
3303 echo "Error: some host already uses address $ipaddr on $dev." 1>&2
3308 \# OK, the address is unique. We may add it to the interface.\\
3310 \# {\bf Step 2} --- Configure the address on the interface.
3313 if ! ip address add $pfx brd + dev $dev $label; then