OpenVZ Forum


Home » General » Support » Afanasyev faced problem with iptable_nat (Can't initialize iptables table `nat': Table does not exist)
icon5.gif  Afanasyev faced problem with iptable_nat [message #39282] Sat, 03 April 2010 11:13 Go to next message
mouse is currently offline  mouse
Messages: 2
Registered: April 2010
Junior Member
Hello everyone.

I have a problem while running latest 2.6.32-afanasyev.1 kernel under fresh Ubuntu 9.10-server/amd64 installation.

Under HW node:
# lsmod|grep iptable
iptable_nat 5708 0
nf_nat 19845 1 iptable_nat
iptable_mangle 3235 0
# cat /proc/net/ip_tables_names
mangle
filter
# iptables -t nat -L
FATAL: Module ip_tables not found.
iptables v1.4.4: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
# fgrep IPTABLES kernel-2.6.32-x86_64.config.ovz
CONFIG_VE_IPTABLES=y
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP6_NF_IPTABLES=m

Why ip_tables compiled in? Latest 2.6.26-2-openvz from Lenny has it separated. How I can get iptable_nat works under HW node?
Re: Afanasyev faced problem with iptable_nat [message #39311 is a reply to message #39282] Sun, 04 April 2010 15:45 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

http://bugzilla.openvz.org/show_bug.cgi?id=1473

fetch last git commit and rebuild kernel

Bye,
Thorsten
icon14.gif  Re: Afanasyev faced problem with iptable_nat [message #39321 is a reply to message #39311] Sun, 04 April 2010 19:44 Go to previous message
mouse is currently offline  mouse
Messages: 2
Registered: April 2010
Junior Member
Thank you.

I've just apply this change:
http://git.openvz.org/?p=linux-2.6.32-openvz;a=commit;h=e6ad27ee6e87614512d44074d841df822453dda7

It works fine.

[Updated on: Sun, 04 April 2010 19:45]

Report message to a moderator

Previous Topic: *SOLVED* OpenVZ: No driver for NIC RTL8111/8168B [solved]
Next Topic: init process has other than root group ID
Goto Forum:
  


Current Time: Sat Jul 19 21:43:34 GMT 2025

Total time taken to generate the page: 0.08795 seconds