This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: eCos- i386-network problem( routing )


I think part of the problem is that you have both
interfaces on the same subnet.  Try moving eth0 and
eth1 to different IP subnets (each with a different
gateway address) and try again.

However, I still think you'll have trouble pinging
from sys1 to sys3 because I don't think eCos has any
routing support in it.  

-- Matt
--- rpai@it.iitb.ac.in wrote:
> 
>  hello .....
> 
>  I have made redboot of i386 in floppy ,I loaded my
> application and executed
> 
>     I have an application that should capture
> packet..  i inialized 2 eth
> card using config tool .. and in program just called
> init_network_devices()... I have connected a system
> to eth0 using
> cross cable and another eth1 to the LAN .
> 
>                                                     
> (LAN bcoz sytem r far )
>     sys1 --> cross cable -->[(eth0) Sys2 (eth1)]-->
> LAN <--> sys3
>   (10.168.12.169)    (10.168.12.170) || 
> (10.168.12.171)    (10.168.12.172)
> 
> 
> 
>   i want my system to sys1 ping to sys3 , it is not
> happeneing ...
> 
>   sys1 is pinging to eth0 ..
>   sys1 is not pinging to eth1 ..   here it shows '
> host unreachable '
> 
>   sys3 is not pinging to eth1 .... it transmists
> packet ,nothing comes on
> the screen I  kept transmitting 40 packets..
> 
>   this messsage is apperaing in the redboot
>            " arp: 10.168.12.169 is on eth0 but got
> reply from 0x0017aa34
> on eth1 "
>   and also " arp: 10.168.12.172 is on eth0 but got
> reply from 0x0017b334
> on eth1 "
> 	   "  arp: 10.168.12.106 is on eth0 but got reply
> from 0x0017b334 on eth1 "
>         mostly the messages of arp is from sys1 ()
> 
> 
> 
>   my doubt -> why the sys2(eth1)(ip 10.168.12.171)
> is not responding to
> sys3 (10.168.12.172)
> 
> 
>        is it bocoz i have set for both eth0 & 1 same
> gateway ....
> 
>         is there any routing protocol to be enabled
> to pass packet through
> one eth0 to eth1 another..
> 
>   I also enabled the chek box in the INET .. "
> multicast routing support "
> but it showed me error
>     when building library....
> 
>     so what is the routing protocol in ecos and
> where is it to be woken ..
>      can any one get me a solution........
> 
> 
>     thanks
> 
> 
> -- 
> Before posting, please read the FAQ:
> http://ecos.sourceware.org/fom/ecos
> and search the list archive:
> http://ecos.sourceware.org/ml/ecos-discuss
> 
> 


		
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]