Why one of virtual NICs called bond0? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Come Celebrate our 10 Year Anniversary!Why does ethernet have a minimum frame size specified?Why straight-through ethernet cables?Virtual Ethernet Adapter / Multiple MAC and IP address for one adapterMulti-NIC Linux machine's NICs are responding to each other's ARPs regardless of arp_filter settingVirtual interfaces with default routesWhy do ethernet cables have 8 wires?Bond0 Failover when link light stays up: High Availability NetworkDifferent speed on Internet connection by switching NICs. Can someone make sense of this?Is one 10 gig port the same as ten 1 gig portsubuntu-14.04 - why can I only connect only on one ethernet interface

Why constant symbols in a language?

What would be the ideal power source for a cybernetic eye?

Is the address of a local variable a constexpr?

What is the musical term for a note that continously plays through a melody?

Is there a "higher Segal conjecture"?

Dominant seventh chord in the major scale contains diminished triad of the seventh?

I am not a queen, who am I?

How can I fade player when goes inside or outside of the area?

What's the purpose of writing one's academic bio in 3rd person?

Should I call the interviewer directly, if HR aren't responding?

Is 1 ppb equal to 1 μg/kg?

What are the pros and cons of Aerospike nosecones?

Why is "Consequences inflicted." not a sentence?

What causes the vertical darker bands in my photo?

Can Pao de Queijo, and similar foods, be kosher for Passover?

Is there a service that would inform me whenever a new direct route is scheduled from a given airport?

How to deal with a team lead who never gives me credit?

What are the motives behind Cersei's orders given to Bronn?

Gastric acid as a weapon

"Seemed to had" is it correct?

What does the "x" in "x86" represent?

Stars Make Stars

Single word antonym of "flightless"

Is there a concise way to say "all of the X, one of each"?



Why one of virtual NICs called bond0?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Why does ethernet have a minimum frame size specified?Why straight-through ethernet cables?Virtual Ethernet Adapter / Multiple MAC and IP address for one adapterMulti-NIC Linux machine's NICs are responding to each other's ARPs regardless of arp_filter settingVirtual interfaces with default routesWhy do ethernet cables have 8 wires?Bond0 Failover when link light stays up: High Availability NetworkDifferent speed on Internet connection by switching NICs. Can someone make sense of this?Is one 10 gig port the same as ten 1 gig portsubuntu-14.04 - why can I only connect only on one ethernet interface



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I just took over a very old network cluster(no documents and manual left) so I have to imagine the meaning of configuration by myself. Some of the servers' IP configure as following(when I issue ifconfig)



bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST>
inet 10.1.237.11 netmask 255.255.255.192 broadcast 10.1.237.63
ether 6c:90:af:68:5a:28 txqueuelen 0 (Ethernet)

bond0.901: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>
inet 147.146.67.13 netmask 255.255.255.240 broadcast 147.146.67.15
ether 6c:90:af:68:5a:28 txqueuelen 0 (Ethernet)

bond0.901:1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>
inet 147.185.211.5 netmask 255.255.255.0 broadcast 147.185.211.255
ether 6c:90:af:68:5a:28 txqueuelen 0 (Ethernet)

eth2: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>
ether 6c:90:af:68:5a:28 txqueuelen 1000 (Ethernet)

eth3: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>
ether 6c:90:af:68:5a:28 txqueuelen 1000 (Ethernet)

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 0 (Local Loopback)


From the same mac address, I can see there is only one NIC. I was told that bond0 for inner IP, bond0.901 for internet IP, bond0.901:1 for Anycast IP. So my question is that what do eth2 and eth3 for and why one of the virtual NIC called bond0, is there anything need to be bond together?



When I issued the command: lspci|grep Ether, I got the following:



01:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
01:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
01:00.2 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
01:00.3 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
04:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
04:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
07:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
07:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
09:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
09:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)


Does the above mean I have 10 physical Network cards please?










share|improve this question









New contributor




Jack is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • What does the output of ifenslave -a and ip link show and ip addr show look like?

    – Zoredache
    6 hours ago






  • 1





    Does the above mean I have 10 physical Network cards please - Sure looks like it. Not sure which one of your interfaces are actually being used though.

    – Zoredache
    4 hours ago

















1















I just took over a very old network cluster(no documents and manual left) so I have to imagine the meaning of configuration by myself. Some of the servers' IP configure as following(when I issue ifconfig)



bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST>
inet 10.1.237.11 netmask 255.255.255.192 broadcast 10.1.237.63
ether 6c:90:af:68:5a:28 txqueuelen 0 (Ethernet)

bond0.901: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>
inet 147.146.67.13 netmask 255.255.255.240 broadcast 147.146.67.15
ether 6c:90:af:68:5a:28 txqueuelen 0 (Ethernet)

bond0.901:1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>
inet 147.185.211.5 netmask 255.255.255.0 broadcast 147.185.211.255
ether 6c:90:af:68:5a:28 txqueuelen 0 (Ethernet)

eth2: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>
ether 6c:90:af:68:5a:28 txqueuelen 1000 (Ethernet)

eth3: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>
ether 6c:90:af:68:5a:28 txqueuelen 1000 (Ethernet)

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 0 (Local Loopback)


From the same mac address, I can see there is only one NIC. I was told that bond0 for inner IP, bond0.901 for internet IP, bond0.901:1 for Anycast IP. So my question is that what do eth2 and eth3 for and why one of the virtual NIC called bond0, is there anything need to be bond together?



When I issued the command: lspci|grep Ether, I got the following:



01:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
01:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
01:00.2 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
01:00.3 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
04:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
04:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
07:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
07:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
09:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
09:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)


Does the above mean I have 10 physical Network cards please?










share|improve this question









New contributor




Jack is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • What does the output of ifenslave -a and ip link show and ip addr show look like?

    – Zoredache
    6 hours ago






  • 1





    Does the above mean I have 10 physical Network cards please - Sure looks like it. Not sure which one of your interfaces are actually being used though.

    – Zoredache
    4 hours ago













1












1








1








I just took over a very old network cluster(no documents and manual left) so I have to imagine the meaning of configuration by myself. Some of the servers' IP configure as following(when I issue ifconfig)



bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST>
inet 10.1.237.11 netmask 255.255.255.192 broadcast 10.1.237.63
ether 6c:90:af:68:5a:28 txqueuelen 0 (Ethernet)

bond0.901: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>
inet 147.146.67.13 netmask 255.255.255.240 broadcast 147.146.67.15
ether 6c:90:af:68:5a:28 txqueuelen 0 (Ethernet)

bond0.901:1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>
inet 147.185.211.5 netmask 255.255.255.0 broadcast 147.185.211.255
ether 6c:90:af:68:5a:28 txqueuelen 0 (Ethernet)

eth2: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>
ether 6c:90:af:68:5a:28 txqueuelen 1000 (Ethernet)

eth3: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>
ether 6c:90:af:68:5a:28 txqueuelen 1000 (Ethernet)

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 0 (Local Loopback)


From the same mac address, I can see there is only one NIC. I was told that bond0 for inner IP, bond0.901 for internet IP, bond0.901:1 for Anycast IP. So my question is that what do eth2 and eth3 for and why one of the virtual NIC called bond0, is there anything need to be bond together?



When I issued the command: lspci|grep Ether, I got the following:



01:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
01:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
01:00.2 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
01:00.3 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
04:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
04:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
07:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
07:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
09:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
09:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)


Does the above mean I have 10 physical Network cards please?










share|improve this question









New contributor




Jack is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I just took over a very old network cluster(no documents and manual left) so I have to imagine the meaning of configuration by myself. Some of the servers' IP configure as following(when I issue ifconfig)



bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST>
inet 10.1.237.11 netmask 255.255.255.192 broadcast 10.1.237.63
ether 6c:90:af:68:5a:28 txqueuelen 0 (Ethernet)

bond0.901: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>
inet 147.146.67.13 netmask 255.255.255.240 broadcast 147.146.67.15
ether 6c:90:af:68:5a:28 txqueuelen 0 (Ethernet)

bond0.901:1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>
inet 147.185.211.5 netmask 255.255.255.0 broadcast 147.185.211.255
ether 6c:90:af:68:5a:28 txqueuelen 0 (Ethernet)

eth2: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>
ether 6c:90:af:68:5a:28 txqueuelen 1000 (Ethernet)

eth3: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>
ether 6c:90:af:68:5a:28 txqueuelen 1000 (Ethernet)

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 0 (Local Loopback)


From the same mac address, I can see there is only one NIC. I was told that bond0 for inner IP, bond0.901 for internet IP, bond0.901:1 for Anycast IP. So my question is that what do eth2 and eth3 for and why one of the virtual NIC called bond0, is there anything need to be bond together?



When I issued the command: lspci|grep Ether, I got the following:



01:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
01:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
01:00.2 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
01:00.3 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
04:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
04:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
07:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
07:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
09:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
09:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)


Does the above mean I have 10 physical Network cards please?







ethernet






share|improve this question









New contributor




Jack is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Jack is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 4 hours ago







Jack













New contributor




Jack is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 7 hours ago









JackJack

1085




1085




New contributor




Jack is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Jack is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Jack is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • What does the output of ifenslave -a and ip link show and ip addr show look like?

    – Zoredache
    6 hours ago






  • 1





    Does the above mean I have 10 physical Network cards please - Sure looks like it. Not sure which one of your interfaces are actually being used though.

    – Zoredache
    4 hours ago

















  • What does the output of ifenslave -a and ip link show and ip addr show look like?

    – Zoredache
    6 hours ago






  • 1





    Does the above mean I have 10 physical Network cards please - Sure looks like it. Not sure which one of your interfaces are actually being used though.

    – Zoredache
    4 hours ago
















What does the output of ifenslave -a and ip link show and ip addr show look like?

– Zoredache
6 hours ago





What does the output of ifenslave -a and ip link show and ip addr show look like?

– Zoredache
6 hours ago




1




1





Does the above mean I have 10 physical Network cards please - Sure looks like it. Not sure which one of your interfaces are actually being used though.

– Zoredache
4 hours ago





Does the above mean I have 10 physical Network cards please - Sure looks like it. Not sure which one of your interfaces are actually being used though.

– Zoredache
4 hours ago










1 Answer
1






active

oldest

votes


















5














I suspect that eth2, and eth3 are the physical devices that make up the bond0 device. See the master/slave flags. But your system probably has 2 physical interfaces, these are being combined in some kind of fault tolerance, or link aggregation setup. Try looking at the output of these tools which query the physical hardware lspci | grep Ether, or lshw -class network. You probably will see at least 2 interfaces.



bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST>
eth2: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>
eth3: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>


The contents of the file /proc/net/bonding/bond0 would tell you more.



  • Bonding docs https://wiki.linuxfoundation.org/networking/bonding#ethernet-device-renaming

The bond0.901 is a virtual device allowing for a tagged vlan 901 on bond0.



The bond0.901:1 is just an secondary IP address for the bond0.901 VLAN 901 interface. This is not a real interface, or even a virtual one. This 'interface' is just just a way for ifconfig to show you the second address. But it is a deprecated tool that can give you confusing output like this. Use ip addr, or ip link instead.






share|improve this answer

























  • Thank you! I appended description on my question about lspci results. And, you mentioned VLAN 901, where can I find the VLAN config please, what purpose of this VLAN please.

    – Jack
    4 hours ago






  • 1





    No idea what it is for, and no idea where it is configured. There is no way for me to possibly know what it is for. It is probably something local to your network environment. The location for the configuration is distro specific. On Debian it might be under /etc/network/interfaces, but it might also be under /etc/systemd/network, or maybe one of a dozen other places.

    – Zoredache
    4 hours ago












  • one more question please, should the Switch has 901 Vlan configure, but I didn't find this Vlan in switch.

    – Jack
    2 hours ago











  • Modern Linux systems no longer even install ifconfig and route by default anymore, unless some legacy package gets installed that needs them. It's a good idea to get out of the habit of using them.

    – Michael Hampton
    2 hours ago











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Jack is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963188%2fwhy-one-of-virtual-nics-called-bond0%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









5














I suspect that eth2, and eth3 are the physical devices that make up the bond0 device. See the master/slave flags. But your system probably has 2 physical interfaces, these are being combined in some kind of fault tolerance, or link aggregation setup. Try looking at the output of these tools which query the physical hardware lspci | grep Ether, or lshw -class network. You probably will see at least 2 interfaces.



bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST>
eth2: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>
eth3: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>


The contents of the file /proc/net/bonding/bond0 would tell you more.



  • Bonding docs https://wiki.linuxfoundation.org/networking/bonding#ethernet-device-renaming

The bond0.901 is a virtual device allowing for a tagged vlan 901 on bond0.



The bond0.901:1 is just an secondary IP address for the bond0.901 VLAN 901 interface. This is not a real interface, or even a virtual one. This 'interface' is just just a way for ifconfig to show you the second address. But it is a deprecated tool that can give you confusing output like this. Use ip addr, or ip link instead.






share|improve this answer

























  • Thank you! I appended description on my question about lspci results. And, you mentioned VLAN 901, where can I find the VLAN config please, what purpose of this VLAN please.

    – Jack
    4 hours ago






  • 1





    No idea what it is for, and no idea where it is configured. There is no way for me to possibly know what it is for. It is probably something local to your network environment. The location for the configuration is distro specific. On Debian it might be under /etc/network/interfaces, but it might also be under /etc/systemd/network, or maybe one of a dozen other places.

    – Zoredache
    4 hours ago












  • one more question please, should the Switch has 901 Vlan configure, but I didn't find this Vlan in switch.

    – Jack
    2 hours ago











  • Modern Linux systems no longer even install ifconfig and route by default anymore, unless some legacy package gets installed that needs them. It's a good idea to get out of the habit of using them.

    – Michael Hampton
    2 hours ago















5














I suspect that eth2, and eth3 are the physical devices that make up the bond0 device. See the master/slave flags. But your system probably has 2 physical interfaces, these are being combined in some kind of fault tolerance, or link aggregation setup. Try looking at the output of these tools which query the physical hardware lspci | grep Ether, or lshw -class network. You probably will see at least 2 interfaces.



bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST>
eth2: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>
eth3: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>


The contents of the file /proc/net/bonding/bond0 would tell you more.



  • Bonding docs https://wiki.linuxfoundation.org/networking/bonding#ethernet-device-renaming

The bond0.901 is a virtual device allowing for a tagged vlan 901 on bond0.



The bond0.901:1 is just an secondary IP address for the bond0.901 VLAN 901 interface. This is not a real interface, or even a virtual one. This 'interface' is just just a way for ifconfig to show you the second address. But it is a deprecated tool that can give you confusing output like this. Use ip addr, or ip link instead.






share|improve this answer

























  • Thank you! I appended description on my question about lspci results. And, you mentioned VLAN 901, where can I find the VLAN config please, what purpose of this VLAN please.

    – Jack
    4 hours ago






  • 1





    No idea what it is for, and no idea where it is configured. There is no way for me to possibly know what it is for. It is probably something local to your network environment. The location for the configuration is distro specific. On Debian it might be under /etc/network/interfaces, but it might also be under /etc/systemd/network, or maybe one of a dozen other places.

    – Zoredache
    4 hours ago












  • one more question please, should the Switch has 901 Vlan configure, but I didn't find this Vlan in switch.

    – Jack
    2 hours ago











  • Modern Linux systems no longer even install ifconfig and route by default anymore, unless some legacy package gets installed that needs them. It's a good idea to get out of the habit of using them.

    – Michael Hampton
    2 hours ago













5












5








5







I suspect that eth2, and eth3 are the physical devices that make up the bond0 device. See the master/slave flags. But your system probably has 2 physical interfaces, these are being combined in some kind of fault tolerance, or link aggregation setup. Try looking at the output of these tools which query the physical hardware lspci | grep Ether, or lshw -class network. You probably will see at least 2 interfaces.



bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST>
eth2: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>
eth3: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>


The contents of the file /proc/net/bonding/bond0 would tell you more.



  • Bonding docs https://wiki.linuxfoundation.org/networking/bonding#ethernet-device-renaming

The bond0.901 is a virtual device allowing for a tagged vlan 901 on bond0.



The bond0.901:1 is just an secondary IP address for the bond0.901 VLAN 901 interface. This is not a real interface, or even a virtual one. This 'interface' is just just a way for ifconfig to show you the second address. But it is a deprecated tool that can give you confusing output like this. Use ip addr, or ip link instead.






share|improve this answer















I suspect that eth2, and eth3 are the physical devices that make up the bond0 device. See the master/slave flags. But your system probably has 2 physical interfaces, these are being combined in some kind of fault tolerance, or link aggregation setup. Try looking at the output of these tools which query the physical hardware lspci | grep Ether, or lshw -class network. You probably will see at least 2 interfaces.



bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST>
eth2: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>
eth3: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>


The contents of the file /proc/net/bonding/bond0 would tell you more.



  • Bonding docs https://wiki.linuxfoundation.org/networking/bonding#ethernet-device-renaming

The bond0.901 is a virtual device allowing for a tagged vlan 901 on bond0.



The bond0.901:1 is just an secondary IP address for the bond0.901 VLAN 901 interface. This is not a real interface, or even a virtual one. This 'interface' is just just a way for ifconfig to show you the second address. But it is a deprecated tool that can give you confusing output like this. Use ip addr, or ip link instead.







share|improve this answer














share|improve this answer



share|improve this answer








edited 6 hours ago

























answered 6 hours ago









ZoredacheZoredache

112k30231379




112k30231379












  • Thank you! I appended description on my question about lspci results. And, you mentioned VLAN 901, where can I find the VLAN config please, what purpose of this VLAN please.

    – Jack
    4 hours ago






  • 1





    No idea what it is for, and no idea where it is configured. There is no way for me to possibly know what it is for. It is probably something local to your network environment. The location for the configuration is distro specific. On Debian it might be under /etc/network/interfaces, but it might also be under /etc/systemd/network, or maybe one of a dozen other places.

    – Zoredache
    4 hours ago












  • one more question please, should the Switch has 901 Vlan configure, but I didn't find this Vlan in switch.

    – Jack
    2 hours ago











  • Modern Linux systems no longer even install ifconfig and route by default anymore, unless some legacy package gets installed that needs them. It's a good idea to get out of the habit of using them.

    – Michael Hampton
    2 hours ago

















  • Thank you! I appended description on my question about lspci results. And, you mentioned VLAN 901, where can I find the VLAN config please, what purpose of this VLAN please.

    – Jack
    4 hours ago






  • 1





    No idea what it is for, and no idea where it is configured. There is no way for me to possibly know what it is for. It is probably something local to your network environment. The location for the configuration is distro specific. On Debian it might be under /etc/network/interfaces, but it might also be under /etc/systemd/network, or maybe one of a dozen other places.

    – Zoredache
    4 hours ago












  • one more question please, should the Switch has 901 Vlan configure, but I didn't find this Vlan in switch.

    – Jack
    2 hours ago











  • Modern Linux systems no longer even install ifconfig and route by default anymore, unless some legacy package gets installed that needs them. It's a good idea to get out of the habit of using them.

    – Michael Hampton
    2 hours ago
















Thank you! I appended description on my question about lspci results. And, you mentioned VLAN 901, where can I find the VLAN config please, what purpose of this VLAN please.

– Jack
4 hours ago





Thank you! I appended description on my question about lspci results. And, you mentioned VLAN 901, where can I find the VLAN config please, what purpose of this VLAN please.

– Jack
4 hours ago




1




1





No idea what it is for, and no idea where it is configured. There is no way for me to possibly know what it is for. It is probably something local to your network environment. The location for the configuration is distro specific. On Debian it might be under /etc/network/interfaces, but it might also be under /etc/systemd/network, or maybe one of a dozen other places.

– Zoredache
4 hours ago






No idea what it is for, and no idea where it is configured. There is no way for me to possibly know what it is for. It is probably something local to your network environment. The location for the configuration is distro specific. On Debian it might be under /etc/network/interfaces, but it might also be under /etc/systemd/network, or maybe one of a dozen other places.

– Zoredache
4 hours ago














one more question please, should the Switch has 901 Vlan configure, but I didn't find this Vlan in switch.

– Jack
2 hours ago





one more question please, should the Switch has 901 Vlan configure, but I didn't find this Vlan in switch.

– Jack
2 hours ago













Modern Linux systems no longer even install ifconfig and route by default anymore, unless some legacy package gets installed that needs them. It's a good idea to get out of the habit of using them.

– Michael Hampton
2 hours ago





Modern Linux systems no longer even install ifconfig and route by default anymore, unless some legacy package gets installed that needs them. It's a good idea to get out of the habit of using them.

– Michael Hampton
2 hours ago










Jack is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Jack is a new contributor. Be nice, and check out our Code of Conduct.












Jack is a new contributor. Be nice, and check out our Code of Conduct.











Jack is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Server Fault!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963188%2fwhy-one-of-virtual-nics-called-bond0%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Францішак Багушэвіч Змест Сям'я | Біяграфія | Творчасць | Мова Багушэвіча | Ацэнкі дзейнасці | Цікавыя факты | Спадчына | Выбраная бібліяграфія | Ушанаванне памяці | У філатэліі | Зноскі | Літаратура | Спасылкі | НавігацыяЛяхоўскі У. Рупіўся дзеля Бога і людзей: Жыццёвы шлях Лявона Вітан-Дубейкаўскага // Вольскі і Памідораў з песняй пра немца Адвакат, паэт, народны заступнік Ашмянскі веснікВ Минске появится площадь Богушевича и улица Сырокомли, Белорусская деловая газета, 19 июля 2001 г.Айцец беларускай нацыянальнай ідэі паўстаў у бронзе Сяргей Аляксандравіч Адашкевіч (1918, Мінск). 80-я гады. Бюст «Францішак Багушэвіч».Яўген Мікалаевіч Ціхановіч. «Партрэт Францішка Багушэвіча»Мікола Мікалаевіч Купава. «Партрэт зачынальніка новай беларускай літаратуры Францішка Багушэвіча»Уладзімір Іванавіч Мелехаў. На помніку «Змагарам за родную мову» Барэльеф «Францішак Багушэвіч»Памяць пра Багушэвіча на Віленшчыне Страчаная сталіца. Беларускія шыльды на вуліцах Вільні«Krynica». Ideologia i przywódcy białoruskiego katolicyzmuФранцішак БагушэвічТворы на knihi.comТворы Францішка Багушэвіча на bellib.byСодаль Уладзімір. Францішак Багушэвіч на Лідчыне;Луцкевіч Антон. Жыцьцё і творчасьць Фр. Багушэвіча ў успамінах ягоных сучасьнікаў // Запісы Беларускага Навуковага таварыства. Вільня, 1938. Сшытак 1. С. 16-34.Большая российская1188761710000 0000 5537 633Xn9209310021619551927869394п

Беларусь Змест Назва Гісторыя Геаграфія Сімволіка Дзяржаўны лад Палітычныя партыі Міжнароднае становішча і знешняя палітыка Адміністрацыйны падзел Насельніцтва Эканоміка Культура і грамадства Сацыяльная сфера Узброеныя сілы Заўвагі Літаратура Спасылкі НавігацыяHGЯOiТоп-2011 г. (па версіі ej.by)Топ-2013 г. (па версіі ej.by)Топ-2016 г. (па версіі ej.by)Топ-2017 г. (па версіі ej.by)Нацыянальны статыстычны камітэт Рэспублікі БеларусьШчыльнасць насельніцтва па краінахhttp://naviny.by/rubrics/society/2011/09/16/ic_articles_116_175144/А. Калечыц, У. Ксяндзоў. Спробы засялення краю неандэртальскім чалавекам.І ў Менску былі мамантыА. Калечыц, У. Ксяндзоў. Старажытны каменны век (палеаліт). Першапачатковае засяленне тэрыторыіГ. Штыхаў. Балты і славяне ў VI—VIII стст.М. Клімаў. Полацкае княства ў IX—XI стст.Г. Штыхаў, В. Ляўко. Палітычная гісторыя Полацкай зямліГ. Штыхаў. Дзяржаўны лад у землях-княствахГ. Штыхаў. Дзяржаўны лад у землях-княствахБеларускія землі ў складзе Вялікага Княства ЛітоўскагаЛюблінская унія 1569 г."The Early Stages of Independence"Zapomniane prawdy25 гадоў таму было аб'яўлена, што Язэп Пілсудскі — беларус (фота)Наша вадаДакументы ЧАЭС: Забруджванне тэрыторыі Беларусі « ЧАЭС Зона адчужэнняСведения о политических партиях, зарегистрированных в Республике Беларусь // Министерство юстиции Республики БеларусьСтатыстычны бюлетэнь „Полаўзроставая структура насельніцтва Рэспублікі Беларусь на 1 студзеня 2012 года і сярэднегадовая колькасць насельніцтва за 2011 год“Индекс человеческого развития Беларуси — не было бы нижеБеларусь занимает первое место в СНГ по индексу развития с учетом гендерного факцёраНацыянальны статыстычны камітэт Рэспублікі БеларусьКанстытуцыя РБ. Артыкул 17Трансфармацыйныя задачы БеларусіВыйсце з крызісу — далейшае рэфармаванне Беларускі рубель — сусветны лідар па дэвальвацыяхПра змену коштаў у кастрычніку 2011 г.Бядней за беларусаў у СНД толькі таджыкіСярэдні заробак у верасні дасягнуў 2,26 мільёна рублёўЭканомікаГаласуем за ТОП-100 беларускай прозыСучасныя беларускія мастакіАрхитектура Беларуси BELARUS.BYА. Каханоўскі. Культура Беларусі ўсярэдзіне XVII—XVIII ст.Анталогія беларускай народнай песні, гуказапісы спеваўБеларускія Музычныя IнструментыБеларускі рок, які мы страцілі. Топ-10 гуртоў«Мясцовы час» — нязгаслая легенда беларускай рок-музыкіСЯРГЕЙ БУДКІН. МЫ НЯ ЗНАЕМ СВАЁЙ МУЗЫКІМ. А. Каладзінскі. НАРОДНЫ ТЭАТРМагнацкія культурныя цэнтрыПублічная дыскусія «Беларуская новая пьеса: без беларускай мовы ці беларуская?»Беларускія драматургі па-ранейшаму лепш ставяцца за мяжой, чым на радзіме«Працэс незалежнага кіно пайшоў, і дзяржаву турбуе яго непадкантрольнасць»Беларускія філосафы ў пошуках прасторыВсе идём в библиотекуАрхіваванаАб Нацыянальнай праграме даследавання і выкарыстання касмічнай прасторы ў мірных мэтах на 2008—2012 гадыУ космас — разам.У суседнім з Барысаўскім раёне пабудуюць Камандна-вымяральны пунктСвяты і абрады беларусаў«Мірныя бульбашы з малой краіны» — 5 непраўдзівых стэрэатыпаў пра БеларусьМ. Раманюк. Беларускае народнае адзеннеУ Беларусі скарачаецца колькасць злачынстваўЛукашэнка незадаволены мінскімі ўладамі Крадзяжы складаюць у Мінску каля 70% злачынстваў Узровень злачыннасці ў Мінскай вобласці — адзін з самых высокіх у краіне Генпракуратура аналізуе стан са злачыннасцю ў Беларусі па каэфіцыенце злачыннасці У Беларусі стабілізавалася крымінагеннае становішча, лічыць генпракурорЗамежнікі сталі здзяйсняць у Беларусі больш злачынстваўМУС Беларусі турбуе рост рэцыдыўнай злачыннасціЯ з ЖЭСа. Дазволіце вас абкрасці! Рэйтынг усіх службаў і падраздзяленняў ГУУС Мінгарвыканкама вырасАб КДБ РБГісторыя Аператыўна-аналітычнага цэнтра РБГісторыя ДКФРТаможняagentura.ruБеларусьBelarus.by — Афіцыйны сайт Рэспублікі БеларусьСайт урада БеларусіRadzima.org — Збор архітэктурных помнікаў, гісторыя Беларусі«Глобус Беларуси»Гербы и флаги БеларусиАсаблівасці каменнага веку на БеларусіА. Калечыц, У. Ксяндзоў. Старажытны каменны век (палеаліт). Першапачатковае засяленне тэрыторыіУ. Ксяндзоў. Сярэдні каменны век (мезаліт). Засяленне краю плямёнамі паляўнічых, рыбакоў і збіральнікаўА. Калечыц, М. Чарняўскі. Плямёны на тэрыторыі Беларусі ў новым каменным веку (неаліце)А. Калечыц, У. Ксяндзоў, М. Чарняўскі. Гаспадарчыя заняткі ў каменным векуЭ. Зайкоўскі. Духоўная культура ў каменным векуАсаблівасці бронзавага веку на БеларусіФарміраванне супольнасцей ранняга перыяду бронзавага векуФотографии БеларусиРоля беларускіх зямель ва ўтварэнні і ўмацаванні ВКЛВ. Фадзеева. З гісторыі развіцця беларускай народнай вышыўкіDMOZGran catalanaБольшая российскаяBritannica (анлайн)Швейцарскі гістарычны15325917611952699xDA123282154079143-90000 0001 2171 2080n9112870100577502ge128882171858027501086026362074122714179пппппп

ValueError: Expected n_neighbors <= n_samples, but n_samples = 1, n_neighbors = 6 (SMOTE) The 2019 Stack Overflow Developer Survey Results Are InCan SMOTE be applied over sequence of words (sentences)?ValueError when doing validation with random forestsSMOTE and multi class oversamplingLogic behind SMOTE-NC?ValueError: Error when checking target: expected dense_1 to have shape (7,) but got array with shape (1,)SmoteBoost: Should SMOTE be ran individually for each iteration/tree in the boosting?solving multi-class imbalance classification using smote and OSSUsing SMOTE for Synthetic Data generation to improve performance on unbalanced dataproblem of entry format for a simple model in KerasSVM SMOTE fit_resample() function runs forever with no result