HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   The Perfect Xen 3.0 Setup For Debian | IPTABLES (http://www.howtoforge.com/forums/showthread.php?t=4085)

rocket30 5th May 2006 15:26

The Perfect Xen 3.0 Setup For Debian | IPTABLES
 
I took the compile-your-own-kernel route and iptables is not working on vm01.

This is what shows on dm0:

dm0:/# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere PHYSDEV match --physdev-in vif4.0

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
dm0:/# iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere PHYSDEV match --physdev-in vif4.0

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
dm0:/#


This is what shows on vm01:

vm01:/# iptables -L
Note: /etc/modules.conf is more recent than /lib/modules/2.6.12.6-xenU/modules.d ep
modprobe: QM_MODULES: Function not implemented

modprobe: QM_MODULES: Function not implemented

modprobe: Can't locate module ip_tables
iptables v1.2.11: can't initialize iptables table `filter': iptables who? (do yo u need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
vm01:/#


From dm0 I display iptables kernel options for xen0 and xenU:

dm0:/# cat /boot/config-2.6.12.6-xen0 | grep -i "IPTABLES"
CONFIG_IP_NF_IPTABLES=m
dm0:/# cat /boot/config-2.6.12.6-xenU | grep -i "IPTABLES"
CONFIG_IP_NF_IPTABLES=m
dm0:/#



Any suggestions on how to fix iptables on vm01?

rocket30 5th May 2006 15:42

I installed module-init-tools on vm01, rebooted and receive the following:

vm01:~# iptables -L
iptables v1.2.11: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
vm01:~#

falko 5th May 2006 20:17

Are you sure you followed the tutorial to the letter? It seems as if iptables is not compiled into domU's kernel.
Do you have multiple domU kernels? Then make sure you use the correct one.

dracula 23rd July 2006 20:21

Hi, I have the same problem.
I have rechecked the kernel configuration and compared to the howto but I don't see any difference. iptables has been compiled as module in dom0 and domU.
Any other things I have to look at? :confused:

falko 24th July 2006 16:50

Just make sure you follow the tutorial to the letter. Use Xen 3.0.1 instead of Xen 3.0.2, etc.

dracula 24th July 2006 17:05

I think I can say I have followed the tutorial to the letter!
I am using xen 3.0.1 instead of 3.0.2, ip_tables compiled as module and the mofules copied to domU after kernel compilation.
I don't know what I could have done different.

falko 25th July 2006 14:12

Are you sure you enabled iptables for the domU kernel? Please check in the domU kernel configuration file in /boot.

dracula 25th July 2006 14:18

yes pretty sure! but I found the problem!
my fault :o

I installed dom0 as amd64 and one domU as i386 and a other also as amd64!
The one I was trying to set up was installed as i386 ( don't ask why ... I don't know, probably the heat in the office )
As I noticed this I tried it on the amd64 installation and there it works ! so I gues my problem is fixed :)
thanks anyway for the help


All times are GMT +2. The time now is 00:04.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.