M
M
mduser2016-06-04 19:17:05
linux
mduser, 2016-06-04 19:17:05

CentOS 7 remove interfaces bond0 dummy0 ifb0 [email protected]?

Hello, please help, I searched all over the Internet, I did not find a solution :(
CentOS 7.2
Linux host.network 3.14.32-xxxx-grs-ipv6-64 #7 SMP Wed Jan 27 18:05:09 CET 2016 x86_64 x86_64 x86_64 GNU/Linux

[[email protected] ~]# ip a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN
    link/ether 8a:51:05:fb:9e:35 brd ff:ff:ff:ff:ff:ff
3: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN
    link/ether 3e:4a:a2:c1:3c:27 brd ff:ff:ff:ff:ff:ff
4: ifb0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN qlen 32
    link/ether 6e:2c:19:2a:64:12 brd ff:ff:ff:ff:ff:ff
5: ifb1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN qlen 32
    link/ether 12:a9:fd:3e:82:77 brd ff:ff:ff:ff:ff:ff
6: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 2c:c4:7a:0c:94:81 brd ff:ff:ff:ff:ff:ff
    inet 123.123.123.101/24 brd 123.123.123.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet 123.123.123.102/32 brd 123.123.123.102 scope global eth0:0
       valid_lft forever preferred_lft forever
    inet 123.123.123.103/32 brd 123.123.123.103 scope global eth0:1
       valid_lft forever preferred_lft forever
7: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 2c:c6:7a:2c:94:23 brd ff:ff:ff:ff:ff:ff
8: teql0: <NOARP> mtu 1500 qdisc noop state DOWN qlen 100
    link/void
9: [email protected]: <NOARP> mtu 1480 qdisc noop state DOWN
    link/ipip 0.0.0.0 brd 0.0.0.0
10: [email protected]: <NOARP> mtu 1480 qdisc noop state DOWN
    link/sit 0.0.0.0 brd 0.0.0.0
11: ip6t[email protected]: <NOARP> mtu 1452 qdisc noop state DOWN
    link/tunnel6 :: brd ::

meanwhile, it's empty:
[[email protected] ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 123.123.123.101  netmask 255.255.255.0  broadcast 123.123.123.255
        ether 2c:c4:7a:0c:94:81  txqueuelen 1000  (Ethernet)
        RX packets 3298  bytes 208884 (203.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1215  bytes 160094 (156.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xfb920000-fb93ffff

eth0:0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 123.123.123.102  netmask 255.255.255.255  broadcast 123.123.123.102
        ether 2c:c4:7a:0c:94:81  txqueuelen 1000  (Ethernet)
        device memory 0xfb920000-fb93ffff

eth0:1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 123.123.123.103  netmask 255.255.255.255  broadcast 123.123.123.103
        ether 2c:c4:7a:0c:94:81  txqueuelen 1000  (Ethernet)
        device memory 0xfb920000-fb93ffff

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 0  (Local Loopback)
        RX packets 12  bytes 600 (600.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 600 (600.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

How to remove these extra interfaces? I only need eth0 and lo
Suspected ipv6, but I have:
/etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
/etc/sysconfig/network
NETWORKING_IPV6=no
/etc/sysconfig/network-scripts/ifcfg-eth0
IPV6INIT=no
IPV6_AUTOCONF=no
I feel that they put together a kernel with some tunnels for ipv6... but I don't need them, and these interfaces got out in one server statistics and loom there , I want to beat them.
Thanks everyone =)

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
M
mduser, 2016-06-04
@mduser

Addendum:
ifconfig -a
returns a complete list of all unnecessary interfaces.

E
Error 502, 2016-06-04
@NullByte

Are they in the static interfaces file? i.e. here /etc/network/interfaces

S
Slava Vitrenko, 2016-06-05
@bagiroff777

On a virtual machine - no way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question