Dear all,
I have a server with 4 network ports and I decided to use 2 of them and network failover.
To do this, I added the following in my /etc/rc.conf
I tested it by unplugging the cable and it work as expected.
I latter realized that I was unable to access the server via ssh.
I have disabled the firewall with
Here is my /etc/rc.conf file
Could someone please help me to work out where I went wrong?
Thank you
Fred
I have a server with 4 network ports and I decided to use 2 of them and network failover.
To do this, I added the following in my /etc/rc.conf
Code:
cloned_interfaces="lagg0"
ifconfig_bce0="up"
ifconfig_bce1="up"
ifconfig_lagg0="laggproto failover laggport bce0 laggport bce1 192.168.0.121/24"
I tested it by unplugging the cable and it work as expected.
I latter realized that I was unable to access the server via ssh.
I have disabled the firewall with
pfctl -d
and I was still unable to access the server.Here is my /etc/rc.conf file
Code:
### General Settings ###
zfs_enable="YES"
keymap="uk.iso"
sshd_enable="YES"
syslogd_enable="YES"
syslogd_flags="-ss"
moused_enable="NO"
dumpdev="NO"
rpc_bind_enable="NO"
### Time Synchronisation ###
openntpd_enable="Yes" # Synchronize The Local Clock
openntpd_flags="-s"
### FIREWALL - Packet filter configuration ###
pf_enable="YES"
pflog_enable="YES"
pflog_logfile="/var/log/pflog"
pf_rules="/etc/pf.conf"
### brute force attacks prevention ###
sshguard_enable="YES"
sshguard_safety_thresh="30"
sshguard_pardon_min_interval="600"
sshguard_prescribe_interval="7200"
### Local network configuration ###
hostname="trinity.trinitech.ltd"
#ifconfig_bce0="dhcp"
ifconfig_bce0="inet 192.168.0.121 netmask 255.255.255.0"
defaultrouter="192.168.0.1"
### lagg Failover Mode
cloned_interfaces="lagg0"
ifconfig_bce0="up"
ifconfig_bce1="up"
ifconfig_lagg0="laggproto failover laggport bce0 laggport bce1 192.168.0.121/24"
Could someone please help me to work out where I went wrong?
Thank you
Fred