This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Dual Ethernet interfaces on i386/pc?
- To: Stephen Morgan <smorgan at almaden dot ibm dot com>
- Subject: Re: [ECOS] Dual Ethernet interfaces on i386/pc?
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 11 Oct 2001 21:09:41 +0100
- Cc: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <OF46544234.0D48679E-ON88256AE1.007DC5F5@boulder.ibm.com>
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