You are not logged in.

#1 2017-10-03 19:56:24

dege
Member
Registered: 2017-10-03
Posts: 1

Network tunnel on router?

Hello,

i setup a linux server as router with pppoe and this very nice firewall guide in the wiki:
https://wiki.archlinux.org/index.php/Si … l_firewall
So everything works fine. Nmap scan from outside don't show any ports and i have learned how to open ports only for my LAN.

But one thing i can't get it. On the server i would like to run qemu with windows. The whole thing is setup but i can't get network with qemu.

My setup: Two network cards. One for pppoe the other connect to a Switch with the rest of my LAN clients. All of the LAN clients get internet.

eth0 - pppoe
eth1 - switch

Everytime i try to setup a bridge (br0) with eth1 i can't use internet and LAN.
I try this: https://wiki.archlinux.org/index.php/Network_bridge "With bridge-utils" but it kill my whole network and i have the remove br0 and need a reboot it's very annoying to test.


What possibilities i have?
Is this only possible with another pci eth2 (only for qemu) and connect to my switch?

Offline

#2 2017-10-03 20:36:35

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: Network tunnel on router?

I believe you'll have to create the rules for your bridge similar to those you added for eth1.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2017-10-22 09:03:39

revellion
Member
From: Sweden
Registered: 2007-04-10
Posts: 54

Re: Network tunnel on router?

You would have to port all rules and IP configurations over to the br0 interface. Since it will "enslave" your eth1 NIC and turn it into a dumb switch-port of sorts.

Important is for you to make sure the configuration is applied to br0 after eth1 is brought up.

I've done a couple of such setups for libvirt/KVM with systemd-networkd. where i create a lanbr0 of the physical LAN port and add my IP to it after setup. smile


Hurricane Electric Certified IPv6 Sage

CPU: Core i7-2600 @ 4.0Ghz | RAM: 16GB (4x4GB) | GFX: AMD Radeon R9 290 4096MB VRAM | HDD: 1x 120GB SATA3 Corsair SSD (~500MB/s RW), 1x SATA2 250GB, 1x SATA2 320GB, 1x 180GB SATA3 Intel SSD
*EDIT* Replaced Nvidia GTX 570 for a AMD Radeon R9 290, and added an extra SSD 180GB

Offline

Board footer

Powered by FluxBB