All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manjunath AM <Manjunath.AM@Lntemsys.com>
To: Vitaly Bordug <vbordug@ru.mvista.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: enabling two eths
Date: Wed, 21 Feb 2007 10:20:21 +0530	[thread overview]
Message-ID: <OFEDE45104.191EF09D-ON65257289.001981AA-65257289.001A6E1E@lntemsys.com> (raw)
In-Reply-To: <20070220190011.09b6b8e6@vitb.dev.rtsoft.ru>

[-- Attachment #1: Type: text/plain, Size: 1931 bytes --]

Hi, Thanks for your kind reply, Yes i have used different * IP Subnets*

The IPs and subnet details I use is
1. eth0(configured through u-boot env settings)->> 192.168.174.231 and 
subnet is 255.255.255.0 
2. eth1(configured after kernel is up)--> 192.168.33.64 and subnet is 
255.255.248.0

Even i tried by connecting second eth to host PC using cross cable as a 
stand-alone network but even "ping" did not work.. 



Thanks & Regards
 MANJUNATH AM
 Senior Software Engineer
 Emsys
 Larsen & Toubro Limited
 Mysore-570018
 Mobile:9886375926




Vitaly Bordug <vbordug@ru.mvista.com> 
02/20/2007 09:30 PM

To
Alex Zeffertt <ajz@cambridgebroadband.com>
cc
Manjunath AM <Manjunath.AM@Lntemsys.com>, linuxppc-embedded@ozlabs.org
Subject
Re: enabling two eths






On Tue, 20 Feb 2007 15:31:54 +0000
Alex Zeffertt <ajz@cambridgebroadband.com> wrote:

> 
> Manjunath AM wrote:
> > 
> > Hi,
> > 
> > We are using MPC8272 based target board, we use montavista Linux 
version 
> > 2.6.10 kernel image (with NFS enabled) to our target board,
> > 
> > Our board has  2 FCCs (eth0 and eth1). bot the eth's works perfectly 
> > when we use them independently, but when we are trying to enable 
second 
> > one after the kernel is up using linux command  "ifconfig eth1 
> > 192.168.33.64 up"(IP address)nothing is working.
> > Please suggest how to enable second eth (either 0 or 1) once the 
kernel 
> > is up with NFS file system
> 
> 
> Have you made sure that eth0 and eth1 are on *different* IP subnets?
> If they are on the same subnet, or intersecting subnets, your routing
> will get confused.
> 
It depends :)

I used to test functionality such a way to have two enets in same subnet, 
then ifdown one of them.

At least with mvista RFS, one enet  handles NFS, other is up but all the 
packets are routed to it via
the first one. And when the first one got ifdown, routing switches to the 
remaining enet...
-- 
Sincerely, 
Vitaly


[-- Attachment #2: Type: text/html, Size: 3184 bytes --]

  reply	other threads:[~2007-02-21  4:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-20 13:21 enabling two eths Manjunath AM
2007-02-20 13:44 ` Vitaly Bordug
2007-02-20 15:31 ` Alex Zeffertt
2007-02-20 16:00   ` Vitaly Bordug
2007-02-21  4:50     ` Manjunath AM [this message]
2007-02-21 16:28       ` Leisner, Martin
2007-02-22  4:24         ` Manjunath AM
2007-02-22 20:38           ` Leisner, Martin

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=OFEDE45104.191EF09D-ON65257289.001981AA-65257289.001A6E1E@lntemsys.com \
    --to=manjunath.am@lntemsys.com \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=vbordug@ru.mvista.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.