Configuring bridge network in kvm (debian wheezy 7.2)
Clash Royale CLAN TAG#URR8PPP
I am trying to run untangle 10 as a guest in kvm. My host system is debian 7.2
My problem is that I am unable to configure bridges/(virtual)NICS which are successfully identified by untangle. I would like to have two NICS in untangle. One for the internet connection and the other one for the internal network.
I already read several tutorials and how-to's and as far as I understood I have to configure network bridges.
I tried to configure them in /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet manual
auto br0
iface br0 inet dhcp
bridge_ports eth0
I also tried to configure them via virt-manager and I also tried to use macvtap.
In all three cases I was not able to establish a connection via untangle. Is there anything I am missing/doing wrong?
debian kvm bridge
add a comment |
I am trying to run untangle 10 as a guest in kvm. My host system is debian 7.2
My problem is that I am unable to configure bridges/(virtual)NICS which are successfully identified by untangle. I would like to have two NICS in untangle. One for the internet connection and the other one for the internal network.
I already read several tutorials and how-to's and as far as I understood I have to configure network bridges.
I tried to configure them in /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet manual
auto br0
iface br0 inet dhcp
bridge_ports eth0
I also tried to configure them via virt-manager and I also tried to use macvtap.
In all three cases I was not able to establish a connection via untangle. Is there anything I am missing/doing wrong?
debian kvm bridge
add a comment |
I am trying to run untangle 10 as a guest in kvm. My host system is debian 7.2
My problem is that I am unable to configure bridges/(virtual)NICS which are successfully identified by untangle. I would like to have two NICS in untangle. One for the internet connection and the other one for the internal network.
I already read several tutorials and how-to's and as far as I understood I have to configure network bridges.
I tried to configure them in /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet manual
auto br0
iface br0 inet dhcp
bridge_ports eth0
I also tried to configure them via virt-manager and I also tried to use macvtap.
In all three cases I was not able to establish a connection via untangle. Is there anything I am missing/doing wrong?
debian kvm bridge
I am trying to run untangle 10 as a guest in kvm. My host system is debian 7.2
My problem is that I am unable to configure bridges/(virtual)NICS which are successfully identified by untangle. I would like to have two NICS in untangle. One for the internet connection and the other one for the internal network.
I already read several tutorials and how-to's and as far as I understood I have to configure network bridges.
I tried to configure them in /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet manual
auto br0
iface br0 inet dhcp
bridge_ports eth0
I also tried to configure them via virt-manager and I also tried to use macvtap.
In all three cases I was not able to establish a connection via untangle. Is there anything I am missing/doing wrong?
debian kvm bridge
debian kvm bridge
edited Dec 15 '18 at 15:18
Rui F Ribeiro
41.8k1483142
41.8k1483142
asked Nov 12 '13 at 0:44
FlorianFlorian
12
12
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
if iptables is active, we can give the following rules.
sysctl -w net.ipv4.ip_forward=1
iptables -A FORWARD -m physdev --physdev-out br0 -j ACCEPT
iptables -A FORWARD -m physdev --physdev-in br0 -j ACCEPT
add a comment |
# The loopback network interface
auto lo
iface lo inet loopback
# The bribge network interface
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
Your extra optionsbridge_stp
,_fd
,_maxwait
aren't mentioned in the interfaces(5) manpage. Where did you find out what they do?
– JigglyNaga
Jul 29 '16 at 12:55
This is an example where only one bridge is used and not needed stp
– Andrey Golub
Jul 29 '16 at 13:15
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
);
);
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%2f100838%2fconfiguring-bridge-network-in-kvm-debian-wheezy-7-2%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
if iptables is active, we can give the following rules.
sysctl -w net.ipv4.ip_forward=1
iptables -A FORWARD -m physdev --physdev-out br0 -j ACCEPT
iptables -A FORWARD -m physdev --physdev-in br0 -j ACCEPT
add a comment |
if iptables is active, we can give the following rules.
sysctl -w net.ipv4.ip_forward=1
iptables -A FORWARD -m physdev --physdev-out br0 -j ACCEPT
iptables -A FORWARD -m physdev --physdev-in br0 -j ACCEPT
add a comment |
if iptables is active, we can give the following rules.
sysctl -w net.ipv4.ip_forward=1
iptables -A FORWARD -m physdev --physdev-out br0 -j ACCEPT
iptables -A FORWARD -m physdev --physdev-in br0 -j ACCEPT
if iptables is active, we can give the following rules.
sysctl -w net.ipv4.ip_forward=1
iptables -A FORWARD -m physdev --physdev-out br0 -j ACCEPT
iptables -A FORWARD -m physdev --physdev-in br0 -j ACCEPT
edited Mar 24 '14 at 17:02
Ramesh
24k34105188
24k34105188
answered Mar 24 '14 at 16:55
user63467user63467
1
1
add a comment |
add a comment |
# The loopback network interface
auto lo
iface lo inet loopback
# The bribge network interface
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
Your extra optionsbridge_stp
,_fd
,_maxwait
aren't mentioned in the interfaces(5) manpage. Where did you find out what they do?
– JigglyNaga
Jul 29 '16 at 12:55
This is an example where only one bridge is used and not needed stp
– Andrey Golub
Jul 29 '16 at 13:15
add a comment |
# The loopback network interface
auto lo
iface lo inet loopback
# The bribge network interface
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
Your extra optionsbridge_stp
,_fd
,_maxwait
aren't mentioned in the interfaces(5) manpage. Where did you find out what they do?
– JigglyNaga
Jul 29 '16 at 12:55
This is an example where only one bridge is used and not needed stp
– Andrey Golub
Jul 29 '16 at 13:15
add a comment |
# The loopback network interface
auto lo
iface lo inet loopback
# The bribge network interface
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
# The loopback network interface
auto lo
iface lo inet loopback
# The bribge network interface
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
edited Jul 29 '16 at 12:43
answered Jul 29 '16 at 12:38
Andrey GolubAndrey Golub
11
11
Your extra optionsbridge_stp
,_fd
,_maxwait
aren't mentioned in the interfaces(5) manpage. Where did you find out what they do?
– JigglyNaga
Jul 29 '16 at 12:55
This is an example where only one bridge is used and not needed stp
– Andrey Golub
Jul 29 '16 at 13:15
add a comment |
Your extra optionsbridge_stp
,_fd
,_maxwait
aren't mentioned in the interfaces(5) manpage. Where did you find out what they do?
– JigglyNaga
Jul 29 '16 at 12:55
This is an example where only one bridge is used and not needed stp
– Andrey Golub
Jul 29 '16 at 13:15
Your extra options
bridge_stp
, _fd
, _maxwait
aren't mentioned in the interfaces(5) manpage. Where did you find out what they do?– JigglyNaga
Jul 29 '16 at 12:55
Your extra options
bridge_stp
, _fd
, _maxwait
aren't mentioned in the interfaces(5) manpage. Where did you find out what they do?– JigglyNaga
Jul 29 '16 at 12:55
This is an example where only one bridge is used and not needed stp
– Andrey Golub
Jul 29 '16 at 13:15
This is an example where only one bridge is used and not needed stp
– Andrey Golub
Jul 29 '16 at 13:15
add a comment |
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%2f100838%2fconfiguring-bridge-network-in-kvm-debian-wheezy-7-2%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