- Install Iproute2
- Rebuild my kernel to activate the "Policy routing" option
I just successfuly build IPRoute2 but adding a rule per IP fails due the installed kernel version (not supporting more than one routing table).
So I start to cross compile me kernel!
I've installed toolchain & sources on my debian and after:
- make oldconfig
- make menuconfig
- select "IP Advanced Router" & "IP: Policy routing"
- make modules
I succesfully builded 108 modules.....
./crypto/md5.ko
./crypto/crc32c.ko
./crypto/cbc.ko
./crypto/rng.ko
./crypto/chainiv.ko
./crypto/crypto_wq.ko
./crypto/pcompress.ko
./crypto/sha512_generic.ko
./crypto/sha256_generic.ko
./crypto/aead.ko
./crypto/ecb.ko
./crypto/crypto_algapi.ko
./crypto/ocf_20100325/cryptodev.ko
./crypto/ocf_20100325/cryptosoft.ko
./crypto/ocf_20100325/ocf.ko
./crypto/crypto_hash.ko
./crypto/des_generic.ko
./crypto/cryptomgr.ko
./crypto/aes_generic.ko
./crypto/sha1_generic.ko
./crypto/crypto_blkcipher.ko
./crypto/krng.ko
./crypto/eseqiv.ko
./crypto/ansi_cprng.ko
./crypto/arc4.ko
./lib/crc-itu-t.ko
./lib/crc-ccitt.ko
./lib/zlib_deflate/zlib_deflate.ko
./lib/libcrc32c.ko
./drivers/cpufreq/cpufreq_stats.ko
./drivers/cpufreq/freq_table.ko
./drivers/md/dm-snapshot.ko
./drivers/net/slhc.ko
./drivers/net/mii.ko
./drivers/net/ppp_mppe.ko
./drivers/net/tun.ko
./drivers/net/ppp_generic.ko
./drivers/net/ppp_async.ko
./drivers/net/bonding/bonding.ko
./drivers/net/usb/usbnet.ko
./drivers/net/usb/cdc_ether.ko
./drivers/net/ppp_deflate.ko
./drivers/net/bsd_comp.ko
./drivers/net/sky2.ko
./drivers/usb/class/usblp.ko
./drivers/usb/host/ohci-hcd.ko
./drivers/usb/host/xhci-hcd.ko
./drivers/usb/host/ehci-hcd.ko
./drivers/usb/core/usbcore.ko
./drivers/usb/storage/usb-storage.ko
./drivers/target/target_core_mod.ko
./drivers/target/lio-target/iscsi_target_mod.ko
./drivers/scsi/sg.ko
./drivers/scsi/ch.ko
./drivers/scsi/scsi_wait_scan.ko
./drivers/staging/usbip/usbip.ko
./drivers/staging/usbip/usbip_common_mod.ko
./drivers/staging/usbip/vhci-hcd.ko
./drivers/hid/hid.ko
./drivers/hid/usbhid/usbhid.ko
./drivers/block/loop.ko
./drivers/char/hw_random/rng-core.ko
./sound/soundcore.ko
./sound/sound_firmware.ko
./fs/cifs/cifs.ko
./fs/udf/udf.ko
./fs/exportfs/exportfs.ko
./fs/ecryptfs/ecryptfs.ko
./fs/quota/quota_tree.ko
./fs/quota/quota_v2.ko
./fs/isofs/isofs.ko
./fs/hfsplus/hfsplus.ko
./fs/fuse/fuse.ko
./fs/configfs/configfs.ko
./fs/fat/fat.ko
./fs/fat/vfat.ko
./fs/nfsd/nfsd.ko
./net/ipv6/ipv6.ko
./net/ipv6/netfilter/ip6_tables.ko
./net/ipv6/netfilter/nf_conntrack_ipv6.ko
./net/ipv6/netfilter/ip6table_filter.ko
./net/appletalk/appletalk.ko
./net/sunrpc/auth_gss/rpcsec_gss_krb5.ko
./net/sunrpc/auth_gss/auth_rpcgss.ko
./net/llc/llc.ko
./net/802/psnap.ko
./net/802/p8022.ko
./net/netfilter/xt_state.ko
./net/netfilter/xt_multiport.ko
./net/netfilter/xt_tcpudp.ko
./net/netfilter/nf_conntrack.ko
./net/netfilter/nf_conntrack_proto_gre.ko
./net/netfilter/nf_conntrack_pptp.ko
./net/netfilter/x_tables.ko
./net/ipv4/ip_gre.ko
./net/ipv4/netfilter/ipt_REDIRECT.ko
./net/ipv4/netfilter/ipt_MASQUERADE.ko
./net/ipv4/netfilter/nf_conntrack_ipv4.ko
./net/ipv4/netfilter/nf_defrag_ipv4.ko
./net/ipv4/netfilter/ip_tables.ko
./net/ipv4/netfilter/nf_nat_pptp.ko
./net/ipv4/netfilter/iptable_filter.ko
./net/ipv4/netfilter/nf_nat_proto_gre.ko
./net/ipv4/netfilter/nf_nat.ko
./net/ipv4/netfilter/iptable_nat.ko
./arch/arm/mach-feroceon-kw/cpufreq.ko
./arch/arm/plat-feroceon/mv_drivers_lsp/mv_cesa/cesa_ocf_drv.ko
./arch/arm/plat-feroceon/mv_drivers_lsp/mv_cesa/cesa_dev.ko
And now, what I need to do ?
I don't know in which "ko" file my option is present... and how to install ? with ismod ? (it seems it fails if a previous module with same name already exists)
I need to directly replace the "ko" file ?
Thanks for helping me !

