You are not logged in.

#1 2018-08-09 14:39:14

Zopper
Member
Registered: 2010-02-02
Posts: 15

can't modprobe iptable_nat

Hi. I did pacman -Syu after few weeks and when I restarted, I found out that my virsh network is down:

$ sudo virsh net-start default

error: Failed to start network default
error: COMMAND_FAILED: '/usr/bin/iptables -w2 -w --table nat --insert POSTROUTING --source 192.168.122.0/24 ! --destination 192.168.122.0/24 --jump MASQUERADE' failed: iptables v1.6.2: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

I tried modprobe:

$ sudo lsmod | grep ipt
iptable_filter         16384  0
ip_tables              28672  1 iptable_filter
ipt_REJECT             16384  0
nf_reject_ipv4         16384  2 nft_reject_inet,ipt_REJECT
x_tables               45056  9 ebtables,ip6table_filter,xt_conntrack,iptable_filter,xt_tcpudp,xt_addrtype,ip6_tables,ipt_REJECT,ip_tables

$ sudo modprobe iptable_nat
modprobe: ERROR: could not insert 'iptable_nat': Device or resource busy

$ sudo insmod /lib/modules/4.17.13-arch1-1-ARCH/kernel/net/ipv4/netfilter/iptable_nat.ko.xz
insmod: ERROR: could not insert module /lib/modules/4.17.13-arch1-1-ARCH/kernel/net/ipv4/netfilter/iptable_nat.ko.xz: Device or resource busy

Pacman -Syu is up-to-date and none of my aur packages are this system-deep.

Do you have ideas what should I check?

Offline

#2 2018-08-09 14:42:34

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: can't modprobe iptable_nat

Offline

#3 2018-08-09 14:44:40

Zopper
Member
Registered: 2010-02-02
Posts: 15

Re: can't modprobe iptable_nat

Ah, sorry, my google-fu failed me. :-)

Offline

Board footer

Powered by FluxBB