Moving on from net-tools
Moving on from net-tools
Posted Jan 6, 2017 13:15 UTC (Fri) by thyrsus (guest, #21004)Parent article: Moving on from net-tools
arp -Ds <host> <interface> pub
...which is useful when proxying an IP address in situations like this: http://www.ncsysadmin.org/meetings/1303/NCSA_2013-03-11-5...
ifconfig <interface>:<n> <addr> netmask <netmask> up
...which adds a name to the interface, and you can manipulate most properties of the new name without changing any properties of the original interface.
I vaguely think I see my way to getting the effects of the ifconfig incantation while getting different artifacts, but I don't see how to do the former at all. Perhaps it's added in a later version than my CentOS 7:
$ ip -V
ip utility, iproute2-ss130716
Posted Jan 6, 2017 13:33 UTC (Fri)
by thyrsus (guest, #21004)
[Link] (1 responses)
ip addr add <address>/<mask bits> broadcast + dev <interface> label <interface>:<n>
Posted Jan 10, 2017 16:56 UTC (Tue)
by nix (subscriber, #2304)
[Link]
Posted Jan 6, 2017 22:01 UTC (Fri)
by thyrsus (guest, #21004)
[Link] (1 responses)
ip neigh add proxy <host> dev <interface>
...except "ip neigh show" doesn't list them - I see it succeeded with "arp -a".
Posted Jan 6, 2017 22:20 UTC (Fri)
by TomH (subscriber, #56149)
[Link]
Moving on from net-tools
Moving on from net-tools
Moving on from net-tools
Moving on from net-tools