This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Ip routing while Network Address Translation is actived
- From: Birahim Larou Fall <BLFall at scmmicro dot fr>
- To: ecos-discuss at sources dot redhat dot com
- Date: Tue, 17 Jan 2006 16:25:00 +0100
- Subject: [ECOS] Ip routing while Network Address Translation is actived
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