Documentation

Bacula Linux IPv6 Setup

A
Adam Birds
Published 10 August 20261 min read2 views

Setup Bacula Client on Linux using IPv6

Login to client server and sudo up.

CentOS

Check NICs.

Configure Interface:

This is what needs setting in /etc/sysconfig/network-scripts/ifcnfg-eth1

ONBOOT=yes
IPV6INIT=yes
IPV6_AUTOCONF=yes

Then

1. Check eth1 has a IPv6 'bac' address.
ip a

1. If not run
ifup eth1

1. After a minute retry
ip a
ip a

3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 90:b1:1c:23:ff:39 brd ff:ff:ff:ff:ff:ff
inet6 2a02:22d0:bac:0:92b1:1cff:fe23:ff39/64 scope global dynamic
valid_lft 604741sec preferred_lft 43141sec
inet6 fe80::92b1:1cff:fe23:ff39/64 scope link
valid_lft forever preferred_lft forever

Ubuntu/Debian

This is what needs setting in /etc/network/interfaces

# Backup Network
auto eth1
iface eth1 inet6 auto

Install Bacula client. Skip if already installed.

yum install bacula-client

Edit bacula-fd.conf

/etc/bacula/bacula-fd.conf

FileDaemon {
Name = [insert hostname here]
FD Addresses = {
#ipv4 = { addr = 0.0.0.0; port = 9102; }
ipv6 = { addr = ::; port = 9102; }
}
WorkingDirectory = /var/spool/bacula
Pid Directory = /var/run
Maximum Concurrent Jobs = 20
Heartbeat Interval = 10
}

Director {
Name = Ziff-dir
Password = "[insert bacula password here]"
}

Director {
Name = Ziff-tray
Password = "[insert bacula password here]"
Monitor = yes
}

Messages {
Name = Standard
director = Ziff-dir = all, !skipped, !restored
}

Final Client checks

1. Restart bacula-fd
service bacula-fd restart

1. Set bacula-fd to start on boot
chkconfig bacula-fd on

1. Check listening port reports IPv6
lsof -i :9102

COMMAND    PID USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
bacula-fd 5893 root    3u  IPv6 17820696      0t0  TCP *:bacula-fd (LISTEN)

Backup Server

Run the following on the backup server.

1. Open bacula console
bconsole

1. Reload the configurations
reload

1. Status client and select client
status client

1. Bconsole will report back the IPv6 address.

Connecting to Client srv-78_109_168_211 at 2a02:22d0:bac:0:92b1:1cff:fe23:ff39:9102
Last updated: 10 August 2026v1