Monitoring, Management & Location Tracking

How to disable Docker0 or bridge interface within Airwave

Aruba Employee
Requirement:

With Airwave 8.2.3 release we have a new feature with respect to the interfaces. Docker0 interface has been introduced and used for the purpose of bridging in virtualization concept. One might face issues in their network since the "docker0"  interface will pick an IP address from within the specified pool which might match some other device in the same network. Hence communication between Airwave and devices in 172.17.0.0/16 subnet might fail.



Solution:

To fix this we can disable or delete the docker0 interface. However instead of permanently disabling it we can change the IP address to a loopback IP address. This would ensure the use of docker0 interface whenever required in the future.



Configuration:

Execute the following 2 commands from the Airwave command line interface by logging in with root credentials.

[root@localhost mercury]# ip addr add 127.0.0.2/16 dev docker0

[root@localhost mercury]# service network restart

We can also choose to delete this interface based on requirement:

[root@localhost mercury]# sudo ip link delete docker0 type bridge

[root@localhost mercury]# service network restart

 



Verification

Example output:

Note: In case you decide to delete the interface then the docker0 would not show up in the output for ifconfig -a

[root@localhost mercury]# ifconfig -a

docker0   Link encap:Ethernet  HWaddr 0E:64:FF:8A:79:B1

          inet addr:127.0.0.2  Bcast:0.0.0.0  Mask:255.255.0.0

          BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0      Link encap:Ethernet  HWaddr 00:0C:29:83:F0:A1

          inet addr:10.9.211.155  Bcast:10.9.211.255  Mask:255.255.255.0

          inet6 addr: fe80::20c:29ff:fe83:f0a1/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:73216 errors:0 dropped:0 overruns:0 frame:0

          TX packets:46023 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:22175910 (21.1 MiB)  TX bytes:24732844 (23.5 MiB)

eth1      Link encap:Ethernet  HWaddr 00:0C:29:83:F0:AB

          inet addr:192.168.1.135  Bcast:192.168.1.255  Mask:255.255.255.0

          inet6 addr: fe80::20c:29ff:fe83:f0ab/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:15489 errors:0 dropped:0 overruns:0 frame:0

          TX packets:184 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:1185883 (1.1 MiB)  TX bytes:13383 (13.0 KiB)

Version history
Revision #:
2 of 2
Last update:
‎03-23-2017 02:24 PM
Updated by:
 
Labels (1)
Contributors
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.