Has anyone else noted problems with the ethernet alias functionality in recent Linux kernels ? I've just done an update on my tunnel server (pogoplug E02 running Debian 8 with kernel 4.4.0-kirkwood) and within a day or so the 44net alias disappears. Nothing I can see in any of the logs. Replacing the alias via 'ip addr add 44.135.190.17/32 dev eth0:1' is enough to fix it, might have to hack into a cron job :-/R
Why are you still using ethernet aliases? This was originally a hack to be able to have multiple IP addresses on a single interface (using ifconfig) but since the introduction of the iproute2 package (which you apparently use, as it provides the "ip" command) this is really not required anymore. You can add addresses to eth0 without making an eth0:1 alias first.
Rob
On 2016-06-06 09:40 AM, Rob Janssen wrote:
(Please trim inclusions from previous messages) _______________________________________________
Has anyone else noted problems with the ethernet alias functionality in recent Linux kernels ? I've just done an update on my tunnel server (pogoplug E02 running Debian 8 with kernel 4.4.0-kirkwood) and within a day or so the 44net alias disappears. Nothing I can see in any of the logs. Replacing the alias via 'ip addr add 44.135.190.17/32 dev eth0:1' is enough to fix it, might have to hack into a cron job :-/R
Why are you still using ethernet aliases? This was originally a hack to be able to have multiple IP addresses on a single interface (using ifconfig) but since the introduction of the iproute2 package (which you apparently use, as it provides the "ip" command) this is really not required anymore. You can add addresses to eth0 without making an eth0:1 alias first.
Probably just a (bad) habit ... given it worked originally there didn't seem a reason to change. I found an alternative syntax:
ip addr add 44.135.190.17/32 dev eth0 label eth0:1
we'll see if that sticks any better.
... Niall
Hello Niall,
I also use IP aliased interfaces from time to time. Unless that feature is going to be officially deprecated for a newer method, this could/should be a proper bug. When the interface goes away, I wonder if you're having a link flap on your physical interface. I've never used a Pogoplug but I would start there and any issues there SHOULD be logged in /var/log/messages or syslog
--David KI6ZHD
On 06/06/2016 09:53 AM, Niall Parker wrote:
(Please trim inclusions from previous messages)
Has anyone else noted problems with the ethernet alias functionality in recent Linux kernels ? I've just done an update on my tunnel server (pogoplug E02 running Debian 8 with kernel 4.4.0-kirkwood) and within a day or so the 44net alias disappears. Nothing I can see in any of the logs. Replacing the alias via 'ip addr add 44.135.190.17/32 dev eth0:1' is enough to fix it, might have to hack into a cron job :-/R
On 2016-06-06 10:43 AM, David Ranch wrote:
(Please trim inclusions from previous messages) _______________________________________________
Hello Niall,
I also use IP aliased interfaces from time to time. Unless that feature is going to be officially deprecated for a newer method, this could/should be a proper bug. When the interface goes away, I wonder if you're having a link flap on your physical interface. I've never used a Pogoplug but I would start there and any issues there SHOULD be logged in /var/log/messages or syslog
Just a followup for anyone watching, after running using
ip addr add <IP> dev eth0 label eth0:1
it has been solid for 10 days or so ... appears that while
ip addr add <IP> dev eth0:1
works for a little while it is not correct and will eventually fail. It may be the avahi daemon getting confused about what interfaces are local ? ... not too important if the 'label' syntax above works.
... Niall
--David KI6ZHD
On 06/06/2016 09:53 AM, Niall Parker wrote:
(Please trim inclusions from previous messages)
Has anyone else noted problems with the ethernet alias functionality in recent Linux kernels ? I've just done an update on my tunnel server (pogoplug E02 running Debian 8 with kernel 4.4.0-kirkwood) and within a day or so the 44net alias disappears. Nothing I can see in any of the logs. Replacing the alias via 'ip addr add 44.135.190.17/32 dev eth0:1' is enough to fix it, might have to hack into a cron job :-/R
44Net mailing list 44Net@hamradio.ucsd.edu http://hamradio.ucsd.edu/mailman/listinfo/44net