Routing internal traffic externally

From: kzsolt
Date: Fri Mar 13 2009 - 14:25:56 EST


Hi Net!

I try to realize a special? network configuration at 2.6.22 64bit kernel. This mean two or more nic on a same or different subnet. Special is the kernel is not router, just talk to outside world and between own interfaces
(server-like applications). The basic requirement
is the traffic between the kernel nics must be routed
out to network wires (switch).

Looks like the main problem the kernel fill the local routing table (ID 255) with address of the nics. But the scope of host (global). This policy is acceptable if the kernel have only one nic but strange for more nic. Exactly say this prevent to route traffic between own interfaces externally.

So how it possible to force interface address to link in local (ID 255) routing table? ifcfg-xxx SCOPE has no affect for this. Remember this filled by kernel and not possible to change...

Thank you in advance!
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html