Enable packet routing from network interface eth0 to bridge interface The 2019 Stack Overflow Developer Survey Results Are In Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar ManaraCan't get bonding and bridging to work for KVMMysterious multicast packets after bridging a bond0Ubuntu server can access internet but cannot ping systems in the LANUbuntu 14.04 - Network problems (wireless and DNS)Ubuntu 14.04 Server operated as a WIFI-LAN-Router drops packets between LAN and WIFIConflict between two network interfaces eth0 and eth1ubuntu: virtual box, host can only ping guest, cannot access outside worldMAAS controller with two interfacesUbuntu 16.04. Iptables on postrouting do not recognize docker0 bridgeDual NIC not working

For what reasons would an animal species NOT cross a *horizontal* land bridge?

Am I ethically obligated to go into work on an off day if the reason is sudden?

Define a list range inside a list

Word for: a synonym with a positive connotation?

Nested ellipses in tikzpicture: Chomsky hierarchy

What can I do to 'burn' a journal?

What aspect of planet Earth must be changed to prevent the industrial revolution?

Can each chord in a progression create its own key?

Can the DM override racial traits?

Example of compact Riemannian manifold with only one geodesic.

Would an alien lifeform be able to achieve space travel if lacking in vision?

Do working physicists consider Newtonian mechanics to be "falsified"?

What does "spokes" mean in this context?

Keeping a retro style to sci-fi spaceships?

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

Is 'stolen' appropriate word?

Sub-subscripts in strings cause different spacings than subscripts

How to handle characters who are more educated than the author?

"... to apply for a visa" or "... and applied for a visa"?

What other Star Trek series did the main TNG cast show up in?

Why are PDP-7-style microprogrammed instructions out of vogue?

Why doesn't a hydraulic lever violate conservation of energy?

Can I visit the Trinity College (Cambridge) library and see some of their rare books



Enable packet routing from network interface eth0 to bridge interface



The 2019 Stack Overflow Developer Survey Results Are In
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraCan't get bonding and bridging to work for KVMMysterious multicast packets after bridging a bond0Ubuntu server can access internet but cannot ping systems in the LANUbuntu 14.04 - Network problems (wireless and DNS)Ubuntu 14.04 Server operated as a WIFI-LAN-Router drops packets between LAN and WIFIConflict between two network interfaces eth0 and eth1ubuntu: virtual box, host can only ping guest, cannot access outside worldMAAS controller with two interfacesUbuntu 16.04. Iptables on postrouting do not recognize docker0 bridgeDual NIC not working



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








4















I have a Ubuntu server connect to LAN 10.1.200.21/24 (bond0), and an Macbook connect to LAN 10.1.200.50/24 (eno1)



There are another bridge create by brctl addbr br0 in Ubuntu 10.3.100.1/24, and there are three VMs connect to that bridge.



This picture show the entire network topology



My question is how to access those VMs 10.3.100.x/24 from my Macbook 10.1.200.21?



The routing table on Macbook



Destination Gateway Flags Refs Use Netif
10.3.100/24 10.1.200.21 UGSc 0 4376 eno1
...


The routing table on Ubuntu



Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.200.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0
10.3.100.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
...


I can ping those VMs from my Ubuntu server. However, when I try to ping VMs from Macbook, the packet only send to bond0 on Ubuntu, but not routed to br0 (tracked by tcpdump).



Besides, I have enabled net.ipv4.ip_forward = 1.










share|improve this question









New contributor




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




















  • Did you try to set the gateway in your last line to the local IP address of br0?

    – guntbert
    2 days ago











  • Sorry, I found the dug came from ceph(another storage system on my ubuntu). It somehow block the IO, after I clean that up and reboot, everything work well. Thanks you anyway :)

    – 王予智
    yesterday

















4















I have a Ubuntu server connect to LAN 10.1.200.21/24 (bond0), and an Macbook connect to LAN 10.1.200.50/24 (eno1)



There are another bridge create by brctl addbr br0 in Ubuntu 10.3.100.1/24, and there are three VMs connect to that bridge.



This picture show the entire network topology



My question is how to access those VMs 10.3.100.x/24 from my Macbook 10.1.200.21?



The routing table on Macbook



Destination Gateway Flags Refs Use Netif
10.3.100/24 10.1.200.21 UGSc 0 4376 eno1
...


The routing table on Ubuntu



Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.200.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0
10.3.100.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
...


I can ping those VMs from my Ubuntu server. However, when I try to ping VMs from Macbook, the packet only send to bond0 on Ubuntu, but not routed to br0 (tracked by tcpdump).



Besides, I have enabled net.ipv4.ip_forward = 1.










share|improve this question









New contributor




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




















  • Did you try to set the gateway in your last line to the local IP address of br0?

    – guntbert
    2 days ago











  • Sorry, I found the dug came from ceph(another storage system on my ubuntu). It somehow block the IO, after I clean that up and reboot, everything work well. Thanks you anyway :)

    – 王予智
    yesterday













4












4








4








I have a Ubuntu server connect to LAN 10.1.200.21/24 (bond0), and an Macbook connect to LAN 10.1.200.50/24 (eno1)



There are another bridge create by brctl addbr br0 in Ubuntu 10.3.100.1/24, and there are three VMs connect to that bridge.



This picture show the entire network topology



My question is how to access those VMs 10.3.100.x/24 from my Macbook 10.1.200.21?



The routing table on Macbook



Destination Gateway Flags Refs Use Netif
10.3.100/24 10.1.200.21 UGSc 0 4376 eno1
...


The routing table on Ubuntu



Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.200.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0
10.3.100.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
...


I can ping those VMs from my Ubuntu server. However, when I try to ping VMs from Macbook, the packet only send to bond0 on Ubuntu, but not routed to br0 (tracked by tcpdump).



Besides, I have enabled net.ipv4.ip_forward = 1.










share|improve this question









New contributor




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












I have a Ubuntu server connect to LAN 10.1.200.21/24 (bond0), and an Macbook connect to LAN 10.1.200.50/24 (eno1)



There are another bridge create by brctl addbr br0 in Ubuntu 10.3.100.1/24, and there are three VMs connect to that bridge.



This picture show the entire network topology



My question is how to access those VMs 10.3.100.x/24 from my Macbook 10.1.200.21?



The routing table on Macbook



Destination Gateway Flags Refs Use Netif
10.3.100/24 10.1.200.21 UGSc 0 4376 eno1
...


The routing table on Ubuntu



Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.200.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0
10.3.100.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
...


I can ping those VMs from my Ubuntu server. However, when I try to ping VMs from Macbook, the packet only send to bond0 on Ubuntu, but not routed to br0 (tracked by tcpdump).



Besides, I have enabled net.ipv4.ip_forward = 1.







networking server iptables routing network-bridge






share|improve this question









New contributor




王予智 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




王予智 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 2 days ago









Emmet

7,83822346




7,83822346






New contributor




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









asked 2 days ago









王予智王予智

211




211




New contributor




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





New contributor





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






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












  • Did you try to set the gateway in your last line to the local IP address of br0?

    – guntbert
    2 days ago











  • Sorry, I found the dug came from ceph(another storage system on my ubuntu). It somehow block the IO, after I clean that up and reboot, everything work well. Thanks you anyway :)

    – 王予智
    yesterday

















  • Did you try to set the gateway in your last line to the local IP address of br0?

    – guntbert
    2 days ago











  • Sorry, I found the dug came from ceph(another storage system on my ubuntu). It somehow block the IO, after I clean that up and reboot, everything work well. Thanks you anyway :)

    – 王予智
    yesterday
















Did you try to set the gateway in your last line to the local IP address of br0?

– guntbert
2 days ago





Did you try to set the gateway in your last line to the local IP address of br0?

– guntbert
2 days ago













Sorry, I found the dug came from ceph(another storage system on my ubuntu). It somehow block the IO, after I clean that up and reboot, everything work well. Thanks you anyway :)

– 王予智
yesterday





Sorry, I found the dug came from ceph(another storage system on my ubuntu). It somehow block the IO, after I clean that up and reboot, everything work well. Thanks you anyway :)

– 王予智
yesterday










0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
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
);



);






王予智 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%2faskubuntu.com%2fquestions%2f1132608%2fenable-packet-routing-from-network-interface-eth0-to-bridge-interface%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








王予智 is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















王予智 is a new contributor. Be nice, and check out our Code of Conduct.












王予智 is a new contributor. Be nice, and check out our Code of Conduct.











王予智 is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Ask Ubuntu!


  • 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%2faskubuntu.com%2fquestions%2f1132608%2fenable-packet-routing-from-network-interface-eth0-to-bridge-interface%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

Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü