How to route between two bridge interfaces? The 2019 Stack Overflow Developer Survey Results...
Solving overdetermined system by QR decomposition
Did the new image of black hole confirm the general theory of relativity?
The following signatures were invalid: EXPKEYSIG 1397BC53640DB551
ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?
Match Roman Numerals
Using dividends to reduce short term capital gains?
How do spell lists change if the party levels up without taking a long rest?
Why can't devices on different VLANs, but on the same subnet, communicate?
Identify 80s or 90s comics with ripped creatures (not dwarves)
Why can I use a list index as an indexing variable in a for loop?
Can each chord in a progression create its own key?
How to read αἱμύλιος or when to aspirate
Why doesn't shell automatically fix "useless use of cat"?
Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?
Single author papers against my advisor's will?
Drawing vertical/oblique lines in Metrical tree (tikz-qtree, tipa)
Make it rain characters
My body leaves; my core can stay
Can the DM override racial traits?
60's-70's movie: home appliances revolting against the owners
Why are PDP-7-style microprogrammed instructions out of vogue?
What can I do if neighbor is blocking my solar panels intentionally?
Presidential Pardon
Is an up-to-date browser secure on an out-of-date OS?
How to route between two bridge interfaces?
The 2019 Stack Overflow Developer Survey Results Are In
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
2019 Community Moderator Election ResultsRouting packets between networks with iptablesiptables routingHow do I route bittorrent through a second interface?Setup permanent bridge for dynamic network devices from lxc container?Two LXC containers using two different physical network interfacesIPTables for packet routing with two wifi networksHow to connect 2 virtual bridges so traffic goes from one to the other?Routing packets to a container that has a destination that is an interface's IP, stopped working in recent kernels:How to route traffic from br0 to tun0 when tun0 is not the default route of the systemNAT box with two external interfaces and two network namespaces
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
So I have a total of two bridges.
One has the 10.0.0.1/24 subnet (br0), and the other has the 10.1.0.1/8 subnet (br1).
I want to setup an NGINX reverse proxy that would run on a container connected to br1, which will be proxying a server connected to br0.
However, when I simply attempt to ping from a LXC container on br0 to br1, the commands fail with messages like 'No route to host'.
How can I properly configure iproute and iptables so that packets between the two bridges are routed between them?
iptables bridge lxc iproute lxd
New contributor
donghakim187 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
So I have a total of two bridges.
One has the 10.0.0.1/24 subnet (br0), and the other has the 10.1.0.1/8 subnet (br1).
I want to setup an NGINX reverse proxy that would run on a container connected to br1, which will be proxying a server connected to br0.
However, when I simply attempt to ping from a LXC container on br0 to br1, the commands fail with messages like 'No route to host'.
How can I properly configure iproute and iptables so that packets between the two bridges are routed between them?
iptables bridge lxc iproute lxd
New contributor
donghakim187 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Perhaps the concept you are looking for is "router"?
– 0xSheepdog
9 hours ago
add a comment |
So I have a total of two bridges.
One has the 10.0.0.1/24 subnet (br0), and the other has the 10.1.0.1/8 subnet (br1).
I want to setup an NGINX reverse proxy that would run on a container connected to br1, which will be proxying a server connected to br0.
However, when I simply attempt to ping from a LXC container on br0 to br1, the commands fail with messages like 'No route to host'.
How can I properly configure iproute and iptables so that packets between the two bridges are routed between them?
iptables bridge lxc iproute lxd
New contributor
donghakim187 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
So I have a total of two bridges.
One has the 10.0.0.1/24 subnet (br0), and the other has the 10.1.0.1/8 subnet (br1).
I want to setup an NGINX reverse proxy that would run on a container connected to br1, which will be proxying a server connected to br0.
However, when I simply attempt to ping from a LXC container on br0 to br1, the commands fail with messages like 'No route to host'.
How can I properly configure iproute and iptables so that packets between the two bridges are routed between them?
iptables bridge lxc iproute lxd
iptables bridge lxc iproute lxd
New contributor
donghakim187 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
donghakim187 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 7 hours ago
donghakim187
New contributor
donghakim187 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 10 hours ago
donghakim187donghakim187
63
63
New contributor
donghakim187 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
donghakim187 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
donghakim187 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Perhaps the concept you are looking for is "router"?
– 0xSheepdog
9 hours ago
add a comment |
Perhaps the concept you are looking for is "router"?
– 0xSheepdog
9 hours ago
Perhaps the concept you are looking for is "router"?
– 0xSheepdog
9 hours ago
Perhaps the concept you are looking for is "router"?
– 0xSheepdog
9 hours ago
add a comment |
1 Answer
1
active
oldest
votes
After some digging around and experimentation with the 'ip route' command, a simple
'route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.0.0.1'
on the LXC container connected to br1 solved the problem!
New contributor
donghakim187 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
});
}
});
donghakim187 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f512112%2fhow-to-route-between-two-bridge-interfaces%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
After some digging around and experimentation with the 'ip route' command, a simple
'route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.0.0.1'
on the LXC container connected to br1 solved the problem!
New contributor
donghakim187 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
After some digging around and experimentation with the 'ip route' command, a simple
'route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.0.0.1'
on the LXC container connected to br1 solved the problem!
New contributor
donghakim187 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
After some digging around and experimentation with the 'ip route' command, a simple
'route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.0.0.1'
on the LXC container connected to br1 solved the problem!
New contributor
donghakim187 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
After some digging around and experimentation with the 'ip route' command, a simple
'route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.0.0.1'
on the LXC container connected to br1 solved the problem!
New contributor
donghakim187 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
donghakim187 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 6 hours ago
donghakim187donghakim187
63
63
New contributor
donghakim187 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
donghakim187 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
donghakim187 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
donghakim187 is a new contributor. Be nice, and check out our Code of Conduct.
donghakim187 is a new contributor. Be nice, and check out our Code of Conduct.
donghakim187 is a new contributor. Be nice, and check out our Code of Conduct.
donghakim187 is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f512112%2fhow-to-route-between-two-bridge-interfaces%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Perhaps the concept you are looking for is "router"?
– 0xSheepdog
9 hours ago