Difference between revisions of "BridgeInterface"
m (→Maintainer) |
Unnilennium (talk | contribs) (→Bugs) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 15: | Line 15: | ||
=== Requirements === | === Requirements === | ||
*SME Server 7.X | *SME Server 7.X | ||
+ | *SME Server 8.X | ||
+ | *SME Server 9.X | ||
=== Installation === | === Installation === | ||
*install the rpms | *install the rpms | ||
+ | |||
+ | yum --enablerepo=smecontribs install smeserver-bridge-interface | ||
+ | |||
+ | *for SME9 | ||
yum --enablerepo=smecontribs install smeserver-bridge-interface | yum --enablerepo=smecontribs install smeserver-bridge-interface | ||
Line 73: | Line 79: | ||
and select the smeserver-bridge-interface component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-bridge-interface|title=this link}} | and select the smeserver-bridge-interface component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-bridge-interface|title=this link}} | ||
+ | {{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-bridge-interface|noresultsmessage="No open bugs found."}} | ||
+ | ===Changelog=== | ||
+ | Only versions released in smecontrib are listed here. | ||
+ | |||
+ | {{ #smechangelog: smeserver-bridge-interface}} | ||
---- | ---- | ||
[[Category:Contrib]] | [[Category:Contrib]] | ||
+ | [[Category:Administration:VPN]] |
Latest revision as of 18:16, 23 March 2021
Maintainer
Daniel B. from Firewall Services
Version
Description
smeserver-bridge-interface is a small package allowing you to bridge your Internal Interface with one or more virtual tap interfaces. It's main goal is to be used with the new OpenVPN-Bridge contrib, but it has been split in another contrib as it can be used in other situations (if you want to run a virtual machine on your SME Server with qemu for example).
Requirements
- SME Server 7.X
- SME Server 8.X
- SME Server 9.X
Installation
- install the rpms
yum --enablerepo=smecontribs install smeserver-bridge-interface
- for SME9
yum --enablerepo=smecontribs install smeserver-bridge-interface
- Configure the bridge
Log into your server using SSH, and configure the bridge like you want. For most installation, the default settings should be OK, but you should check it:
db configuration show bridge bridge=service bridgeInterface=br0 ethernetInterface=eth0 status=enabled tapInterface=tap0
- bridgeInterface: (br0) is the name of the bridge device (usually br0)
- ethernetInterface: (eth0|eth1) is the real interface you want to bridge. It should already be set to your actual InternalInterface
- tapInterface: (tap0,tap1) is a comma separated list of tap interfaces to create and add to the bridge. Usually, you'll only need one tap interface (tap0)
- status: (enabled|disabled) is the status of the service (should it be started automatically on boot)
Once you're sure everything is ok, just start the service:
/etc/init.d/bridge start
And check with ifconfig that everything is OK (eth0 and tap0 should have IP 0.0.0.0 and running in promiscous mode, br0 should have the IP of your Internal Interface)
You can also check the bridge is correctly configured
brctl show br0
Should output something like:
bridge name bridge id STP enabled interfaces br0 8000.00e04c101418 no eth0 tap0
Uninstall
If you remove this contrib while it's in use, you may have a problem shuting down br0 (waiting for br0 to become free etc...), and you'll have to hard reboot your server. To prevent this you should
- Disable the service
db configuration setprop bridge status disabled
- Reboot your server, the bridge wont start
- Remove the rpm
yum remove smeserver-bridge-interface
Source
The source for this contrib can be found in the smeserver CVS on sourceforge.
Bugs
Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-bridge-interface component or use this link
ID | Product | Version | Status | Summary (4 tasks) ⇒ |
---|---|---|---|---|
12271 | SME Contribs | 10.0 | VERIFIED | DHCP Not working since last updates - smeserver-bridge-interface is impacted |
12260 | SME Contribs | 10.0 | CONFIRMED | ** Ignoring requests on br0. If this is not what |
8644 | SME Contribs | 8.1 | CONFIRMED | multicast_snooping |
6919 | SME Contribs | 8.0 | UNCONFIRMED | Can not access internet after switch from servergateway to serveronly and back again |
Changelog
Only versions released in smecontrib are listed here.
- make bridge interface compat to e-smith-base on install [SME: 12271]
- make bridge interface up on install [SME: 12271]
2021/03/23 Jean-Philippe Pialasse 0.2-7.sme
- make bridge interface up on install [SME: 11485]
- Change-After-in-Service-file-to-network-service-from-target [SME: 11324]
- Add-Restart-to-service-file.patch [SME: 11324]