Hi Guys… just wanted to let everyone know the issues I addressed in my setup, how I got around them, what I found, and I guess what could potentially point to areas that may need to be looked at by the developers of SuSE 12.1 In my setup I actually encountered several pre-existing problems. Although some may be from different areas of the forum, they are all involved here. Hopefully if someone searches for the others by name, they will end up here and find workarounds. Additionally, I have a couple requests for inclusions into future SuSE releases.
First off, as I stated above I built and am using a bridge for some of my security. I will try to be brief, but state steps for clarity, as well as issues I had.
I’m running this bridged firewall in front of IPCop, with admin to the bridge looped back behind and serviced by IPCop transparent proxy firewall. I took the opportunity to post a How To Bridged Firewall, with present, current 12.1 issues I encountered.
- Get 2 network cards. YOU CANNOT USE A MOTHERBOARD ETHERNET CARD IN A BRIDGE. They can’t be controlled (motherboard can’t be controlled), and will not work. LOL Trust me! However, you can use the on-board adapter for administration (suggested, so you can keep track of them better, or third card is fine too).
Install a fresh, shiny, new copy of SuSE 12.1. The cards will be recognized and drivers installed for them. only plug in the onboard ethernet adapter. Hopefully your internet will be automatically setup for you. If not, don’t worry.
*** I am using the notorious REAKTEK ‘RTL-8169 Gigabit Ethernet’ that everyone seems to have problems with. I believe the problem is elsewhere… THE r8169 DRIVER IS FINE! I believe the issue may be triggered by these cards, and may be tied to whatever is bypassed with the sysinit-init install. But if you can’t access the internet, after setting your admin card as stated above, simply switch to KNetworkManager and connect for your downloads & patches. Then switch back to Traditional Ifup… it will continue to work perfectly!!!
#> ifconfig ### to view cards configuration in Traditional ifup
#> nm-tool ### to view cards configuration in KNetworkManager
If it is setup and working, update the system with all necessary updates, BUT NOT SuSE FIREWALL 2’s UPDATE. This update enables package control, and will disable all cards when the firewall is disabled! (read file the description in Yast).
*** Requested inclusion in future additions… a way to disable this feature in Firewall & Network settings GUI’s (or at least in network area), so that you may use custom iptables for the bridge. The message displayed when you disable SFW2 is “No network traffic is permitted through these interfaces.”
-
In Yast… install bridge-utils, sysinit-init (in exchange for removing systemd), & gcc (needed for some printer driver installation support).
-
Go into Yast > Network Devices > Network Settings
Select your admin card > edit:
Global Options - Traditional Method with ‘ifup’ & Uncheck the Enable IPV6
Hostname/DNS - Insert hostname, Name Server 1 ,
Routing - Default IPv4 Gateway , Enable IP Fowarding
Make sure your admin card is setup as eth2…
General - Activate at boot time & Set MTU 1500 (Ethernet)
Address - /24 hostname,
**** Traditional ifup (which I love, and is necessary for the bridge) seems to be having issues at the moment, and doesn’t like DHCP. So, if possible, give this card an IP address. I speculate this is tied to the systemmd vs. sysinit-init known issue already posted elsewhere on the forum.
- As usual the driver for your other gigabit ethernet (bridge) cards are installed. The setup selection in Yast WOULD BE as follows (READ FIRST):
Network Devices > Network Settings
eth0 & eth1
Global Options - Traditional Method with ‘ifup’ & Uncheck the Enable IPV6
Hostname/DNS - Insert hostname
Routing - Enable IP Fowarding
Make sure your admin card is setup as eth2…
General - Activate at boot time & Set MTU 1500 (Ethernet)
Address - no ip for bonding devices
However, it worked perfectly by simply creating the following file…
Right click to make a new txt document and name it ‘ifcfg-br0’ and also save in ‘/etc/sysconfig/network’ Here is my sample:
ifcfg-br0
STARTMODE='auto'
BOOTPROTO='none'
BRIDGE='yes'
BRIDGE_PORTS='eth0 eth1'
Also in ‘/etc/sysconfig/network’ and look at ‘ifcfg-eth0’ and ‘ifcfg-eth1’ and make sure they look like this:
ifcfg-eth0
BOOTPROTO='none'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME='RTL-8169 Gigabit Ethernet'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
ifcfg-eth1
BOOTPROTO='none'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME='RTL-8169 Gigabit Ethernet'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
ifcfg-eth2
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='192.168.1.100/24'
MTU='1500'
NAME='3c905C-TX/TX-M [Tornado]'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
Now, at the terminal enter:
$> service network restart
Take another look at your cards now:
$> ifconfig
#> brctl show
bridge name bridge id STP enabled interfaces
br0 8000.0030843e5aa2 no eth0
eth1
reboot system