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]

Re: Dual Ethernet interfaces on i386/pc?


Stephen Morgan wrote:
> 
> Has anyone gotten two Ethernet interfaces working on an i386/pc?  The
> "current" (anonymous CVS) code doesn't support this capability directly,
> so we made some simple-minded modifications that work -- almost.

This definitely does work on the EBSA285 for example, and from this point
of view there should be nothing special about the x86.
 
> We changed i386_pc_i82559_eth_drivers.cdl (from
> devs/eth/i386/pc/i82559/current/cdl) and devs_eth_pc_i82559.inl (from
> devs/eth/i386/pc/i82559/current/include) to add eth1 (ETH1), etc.  (Copies
> of both files are attached.)

[ From a cursory look at the .cdl file the obvious bits needed do seem to
be there ]
 
> In all cases, pings to eth0 work fine.  At the start, pings to eth1 work
> fine but, after about six pings, eth1 then sends perhaps 16 duplicates,
> works fine for about six pings, sends about 16 duplicates, and so forth.
> The duplicates have TTLs around 195, versus the expected value of 255, so,
> it sounds as though they're bouncing around inside eCos for 60 hops or so!

Are they both getting their IP addresses fine? Are the IP addresses the
same or distinct?

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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