<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<DIV><SPAN class=616512416-21022007></SPAN><FONT face=Arial><FONT
color=#0000ff><FONT size=2>Send the results of
</FONT></FONT></FONT></DIV>
<DIV><FONT><FONT color=#0000ff><FONT size=2><SPAN
class=616512416-21022007></SPAN></FONT></FONT></FONT><SPAN
class=616512416-21022007></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2>i<SPAN class=616512416-21022007>fconfig</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT><FONT color=#0000ff><FONT size=2><SPAN
class=616512416-21022007></SPAN></FONT></FONT></FONT><SPAN
class=616512416-21022007></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2>a<SPAN class=616512416-21022007>nd</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT><FONT color=#0000ff><FONT size=2><SPAN
class=616512416-21022007></SPAN></FONT></FONT></FONT><SPAN
class=616512416-21022007></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2>r<SPAN class=616512416-21022007>oute -n</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=616512416-21022007></SPAN></FONT></FONT></FONT><FONT face=Arial
color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=616512416-21022007><FONT face=Arial color=#0000ff size=2>I take
it eth0 works fine...</FONT></SPAN></DIV>
<DIV><SPAN class=616512416-21022007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=616512416-21022007><FONT face=Arial color=#0000ff size=2>Have
you tried swapping the assignments and see if eth1 works (to eliminate faulty
hardware).</FONT></SPAN></DIV>
<DIV><SPAN class=616512416-21022007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=616512416-21022007><FONT face=Arial color=#0000ff
size=2>marty</FONT></SPAN></DIV>
<DIV><BR></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
linuxppc-embedded-bounces+martin.leisner=xerox.com@ozlabs.org
[mailto:linuxppc-embedded-bounces+martin.leisner=xerox.com@ozlabs.org] <B>On
Behalf Of </B>Manjunath AM<BR><B>Sent:</B> Tuesday, February 20, 2007 11:50
PM<BR><B>To:</B> Vitaly Bordug<BR><B>Cc:</B>
linuxppc-embedded@ozlabs.org<BR><B>Subject:</B> Re: enabling two
eths<BR></FONT><BR></DIV>
<DIV></DIV><BR><FONT face=sans-serif size=2>Hi, Thanks for your kind reply,
Yes i have used different * IP Subnets*</FONT> <BR><BR><FONT face=sans-serif
size=2>The IPs and subnet details I use is</FONT> <BR><FONT face=sans-serif
size=2>1. eth0(configured through u-boot env settings)->>
192.168.174.231 and subnet is 255.255.255.0 </FONT><BR><FONT face=sans-serif
size=2>2. eth1(configured after kernel is up)--> 192.168.33.64 and subnet
is 255.255.248.0</FONT> <BR><BR><FONT face=sans-serif size=2>Even i tried by
connecting second eth to host PC using cross cable as a stand-alone network
but even "ping" did not work.. </FONT><BR><BR><BR><BR><FONT face=sans-serif
size=2>Thanks & Regards<BR>MANJUNATH AM<BR>Senior Software
Engineer<BR>Emsys<BR>Larsen & Toubro
Limited<BR>Mysore-570018<BR>Mobile:9886375926<BR></FONT><BR><BR><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="40%"><FONT face=sans-serif size=1><B>Vitaly Bordug
<vbordug@ru.mvista.com></B> </FONT>
<P><FONT face=sans-serif size=1>02/20/2007 09:30 PM</FONT> </P>
<TD width="59%">
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
<TD><FONT face=sans-serif size=1>Alex Zeffertt
<ajz@cambridgebroadband.com></FONT>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
<TD><FONT face=sans-serif size=1>Manjunath AM
<Manjunath.AM@Lntemsys.com>,
linuxppc-embedded@ozlabs.org</FONT>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
<TD><FONT face=sans-serif size=1>Re: enabling two
eths</FONT></TR></TBODY></TABLE><BR>
<TABLE>
<TBODY>
<TR vAlign=top>
<TD>
<TD></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><BR><BR><FONT
size=2><TT>On Tue, 20 Feb 2007 15:31:54 +0000<BR>Alex Zeffertt
<ajz@cambridgebroadband.com> wrote:<BR><BR>> <BR>> Manjunath AM
wrote:<BR>> > <BR>> > Hi,<BR>> > <BR>> > We are using
MPC8272 based target board, we use montavista Linux version <BR>> >
2.6.10 kernel image (with NFS enabled) to our target board,<BR>> >
<BR>> > Our board has 2 FCCs (eth0 and eth1). bot the eth's works
perfectly <BR>> > when we use them independently, but when we are trying
to enable second <BR>> > one after the kernel is up using linux command
"ifconfig eth1 <BR>> > 192.168.33.64 up"(IP address)nothing is
working.<BR>> > Please suggest how to enable second eth (either 0 or 1)
once the kernel <BR>> > is up with NFS file system<BR>> <BR>>
<BR>> Have you made sure that eth0 and eth1 are on *different* IP
subnets?<BR>> If they are on the same subnet, or intersecting subnets, your
routing<BR>> will get confused.<BR>> <BR>It depends :)<BR><BR>I used to
test functionality such a way to have two enets in same subnet, then ifdown
one of them.<BR><BR>At least with mvista RFS, one enet handles NFS,
other is up but all the packets are routed to it via<BR>the first one. And
when the first one got ifdown, routing switches to the remaining enet...<BR>--
<BR>Sincerely, <BR>Vitaly<BR></TT></FONT><BR></BLOCKQUOTE></BODY></HTML>