Problems setting up IP_MASQUERADE: take #2
Joseph Sacco
jsacco at gnome.org
Thu Mar 22 18:03:24 UTC 2007
I am experiencing some module loading weirdness with the 2.6.21.x series
kernels [Fedora/rawhide] that I do not see with the 2.x.(19|20).x
kernels in FC6.
FC6
----
* reboot the system
* login /start the desktop
* launch Mac-On-Linux
==> all is well...
Mac-On-Linux is a Linux/PPC program that virtualizes MacOS or MacOSX in
Linux. MOL uses an IP tunnel to establish communications between the
Linux host and the virtualized MAC operating system.
When MOL is launched the following kernel modules are loaded:
Module Size Used by
xt_tcpudp 3424 2
ipt_MASQUERADE 4096 1
iptable_nat 8388 1
nf_nat 20500 2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4 13448 2 iptable_nat
nf_conntrack 72968 4
ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
nfnetlink 8344 3 nf_nat,nf_conntrack_ipv4,nf_conntrack
ip_tables 14900 1 iptable_nat
x_tables 18372 4
xt_tcpudp,ipt_MASQUERADE,iptable_nat,ip_tables
tun 13728 1
mol 59304 1
Fedora/Rawhide
--------------
* reboot the system
* login /start the desktop
* launch Mac-On-Linux
==> networking is borked.
An examination of the output from 'lsmod' shows some modules did not
load:
Module Size Used by
nf_nat 20660 0
nf_conntrack_ipv4 13448 1
nf_conntrack 73408 2 nf_nat,nf_conntrack_ipv4
nfnetlink 8344 3 nf_nat,nf_conntrack_ipv4,nf_conntrack
ip_tables 14900 0
x_tables 18404 1 ip_tables
tun 13504 1
mol 59304 1
* exit Mac-On-Linux
* launch Mac-on-Linux
==> all is now well.
An examination of the output from 'lsmod' shows the missing modules have
magically appeared:
Module Size Used by
xt_tcpudp 3424 2
ipt_MASQUERADE 4096 1
iptable_nat 8452 1
nf_nat 20660 2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4 13448 2 iptable_nat
nf_conntrack 73408 4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
nfnetlink 8344 3 nf_nat,nf_conntrack_ipv4,nf_conntrack
ip_tables 14900 1 iptable_nat
x_tables 18404 4 xt_tcpudp,ipt_MASQUERADE,iptable_nat,ip_tables
tun 13504 1
mol 59304 1
Looks like something has changed in the 2.6.21.x kernels that effects
how IP_MASQUERADE is set up.
Thoughts???
-Joseph
--
jsacco [at] gnome [dot] org
More information about the devel
mailing list