| Linode Forum https://forum.linode.com/ |
|
| ifconfig / eth0 aliases vs iproute2 / ip up? https://forum.linode.com/viewtopic.php?f=19&t=11128 |
Page 1 of 1 |
| Author: | mappy [ Tue Jun 24, 2014 8:39 pm ] |
| Post subject: | ifconfig / eth0 aliases vs iproute2 / ip up? |
The static IP address networking guide here recommends using interface aliases instead of ip add. Comments like http://serverfault.com/a/484737 and http://inai.de/2008/02/19 make it seem like a really old deprecated mechanism. Does anyone use ip add instead? |
|
| Author: | hoopycat [ Wed Jun 25, 2014 6:36 am ] |
| Post subject: | Re: ifconfig / eth0 aliases vs iproute2 / ip up? |
Either works. I use 'ip addr add' almost exclusively because it's easier to remember, and I can manually set preferred_lft to divert outgoing traffic from such IP addresses, e.g. "ip addr add 2600:3c03::13:3702/64 dev eth0 preferred_lft 0" |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|