[ECOS] Ip routing while Network Address Translation is actived

Birahim Larou Fall BLFall@scmmicro.fr
Tue Jan 17 15:29:00 GMT 2006


Hi,
I have an IP adress for two devices (POD and HOST), so I have ported NATPT 
in ecos (POD and HOST have valide IP adresses in a local area network: 
10.0.32.2 for POD and  10.0.16.3 for HOST. Both use the same Ip adress 
(using natp : 168.192.20.78) to dialogue with externals devices (WAN)
When external ip packets arrived, POD receives the packets via eth0, if 
the destination adress is 10.0.16.3, it should send it to the HOST.
So to route the ip packets from POD to HOST, shall  i just setup eth1 (of 
course with eth0) , so when data come from eth0, ip stack will fowarded by 
default using eth1 (if adress = 10.0.16.3)?
Or shall I just add a route in the interface eth0, so there is no need to 
setup eth1?
do you have another solution?
thank!

Fall Birahim
Digital TV Firmware Engineer


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list