2.-

>command :  ip route add nat 207.79.138.164 via 192.168.1.2

>what is errors in iproute2 ...RTNETLINK answers: Invalid Arguments

>(kernel 2.2.x in linux Red Hat 6.1)

>the compiling kernel is errors: kernel is too big errors 2...used bzimage,
not zlilo loaded...

>is my first compilation in linux.....

If your kernel is too big use bzImage. To compile the kernel with modules
included you all this

make dep
make clean
make bzImage
make modules
make modules_install

or if you are in a hurry type directly

make dep clean bzImage modules modules_install

the RTNETLINK error is telling you that you have not compiled the routing
modules for Ip route

and the last thing

ipchains is not the same as ipchains

to do NAt under IPCHAINS read the ipchains how-to, it's explainfull

for example to translate 192.168.1.2 into 207.79.138.164 (supose its eth0)

ipchains -A forward -i eth0 -s 192.168.1.2 -j MASQ

Eduardo

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to