# iptables-save > /etc/fwrules
# The primary network interface auto eth0 iface eth0 inet static pre-up /sbin/iptables-restore < /etc/fwrules address 192.168.149.240 netmask 255.255.255.0 network 192.168.149.0 broadcast 192.168.149.255 gateway 192.168.149.2