From: "Luong Ngo" <luong.ngo@gmail.com>
To: "Andy Fleming" <afleming@freescale.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: ethernet interface problem with kernel 2.6.14 on MPC8343E
Date: Tue, 7 Nov 2006 15:30:19 -0800 [thread overview]
Message-ID: <1b2aacd80611071530y3238b6fha6cf6869ecf211fc@mail.gmail.com> (raw)
In-Reply-To: <2E3AE2D7-49C3-40BB-B939-7FE821EA8C2A@freescale.com>
[-- Attachment #1: Type: text/plain, Size: 1614 bytes --]
Hi,
It is working now. Thanks for the help. I am just curious that linux kernel
does not know 1 interface's connection is down and check the other interface
to see if it can reaches the destination with other interfaces?
Thanks,
l.ngo
On 11/7/06, Andy Fleming <afleming@freescale.com> wrote:
>
>
> On Nov 6, 2006, at 17:51, Luong Ngo wrote:
>
> > Hello,
> >
> > I am having a problem with the interfaces eth0 and eth1 when
> > running 2.6.14 kernel on a board with MPC8343E. The problem I
> > encounters is only one of the eth interface is really working. Only
> > the one that is configured first, using "ifconfig eth[0/1]
> > 192.168.1.1 netmask 255.255.255.0" can ping and be pinged from
> > another host. I wonder if there is setup difference between the
> > TSEC1 and TSEC2 or this is not related to hardware but rather
> > something in the kernel. When I ping from other host, from within
> > the Gianfar driver, I can see the packet is received on both
> > interfaces but only one responds. When pinging from the system
> > itself, only the working interface sending out packet, the other
> > interface does not send anything. Please advise me what I am doing
> > wrong or missing.
> >
>
> It sounds like both work for you, but not at the same time?
>
> If you set them both to the same IP address, it won't work.
> Actually, it won't work if you set them to different IP addresses on
> the same subnet (as defined by their netmasks).
>
> I think you are trying to get Linux to do something that it doesn't
> do. Try setting them to different IP addresses, like 192.168.1.1 and
> 192.168.2.1
>
> Andy
>
[-- Attachment #2: Type: text/html, Size: 2149 bytes --]
prev parent reply other threads:[~2006-11-07 23:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-06 23:51 ethernet interface problem with kernel 2.6.14 on MPC8343E Luong Ngo
2006-11-07 0:14 ` Luong Ngo
2006-11-07 19:53 ` Andy Fleming
2006-11-07 23:30 ` Luong Ngo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1b2aacd80611071530y3238b6fha6cf6869ecf211fc@mail.gmail.com \
--to=luong.ngo@gmail.com \
--cc=afleming@freescale.com \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox