Monday, November 18, 2019

How to remove ip6tnl0 and tunl0 interface from Ubuntu 16.04 running in Docker

Hello /r/networking,

I am currently running Ubuntu 16.04 in Docker and need to get rid of (or adjust) /sys/class/net/ip6tnl0 and /sys/class/net/tunl0.

The reason is that I need to install software that crashes when those interfaces are present. The precise reason is that the two interfaces have weird MAC addresses of unusual length:

root@5b573f1125d0:/# cat /sys/class/net/tunl0/address

00:00:00:00

root@5b573f1125d0:/# cat /sys/class/net/ip6tnl0/address

00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00

My questions:

  • How can I remove those interfaces?

  • What would that imply?

  • Why are they there in the first place? They are not there on my AWS instances...

  • If I can't remove them, how can I give them mac addresses that are 6 bytes long?

P.S. The only packages that I install on bare-bones Ubuntu 16.04 docker image are:

openssh-server ntp gparted sqlite3 libpython2.7 libfreetype6 libxml-security-c17v5 python-minimal net-tools vim 

Thank you very much :-) lmf4o



No comments:

Post a Comment