<br><font size=2 face="sans-serif">Hi Martin,</font>
<br>
<br><font size=2 face="sans-serif">Thanks for your reply,Yes I tried swapping
the assignments,same thing is happening in both cases..ifconfig and route
-n results are as below:</font>
<br>
<br>
<br><font size=2 color=blue face="Arial"><b>ifconfig</b></font>
<br>
<br><font size=2 face="sans-serif">eth0 Link encap:Ethernet
HWaddr 00:99:23:C4:AD:DE</font>
<br><font size=2 face="sans-serif"> inet
addr:192.168.33.64 Bcast:192.168.33.255 Mask:255.255.248.0</font>
<br><font size=2 face="sans-serif"> inet6
addr: fe80::299:23ff:fec4:adde/64 Scope:Link</font>
<br><font size=2 face="sans-serif"> UP
BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</font>
<br><font size=2 face="sans-serif"> RX
packets:0 errors:0 dropped:0 overruns:0 frame:0</font>
<br><font size=2 face="sans-serif"> TX
packets:0 errors:0 dropped:0 overruns:0 carrier:0</font>
<br><font size=2 face="sans-serif"> collisions:0
txqueuelen:1000</font>
<br><font size=2 face="sans-serif"> RX
bytes:0 (0.0 b) TX bytes:308 (308.0 b)</font>
<br><font size=2 face="sans-serif"> Base
address:0x8400</font>
<br>
<br><font size=2 face="sans-serif">eth1 Link encap:Ethernet
HWaddr 00:99:23:44:AD:DE</font>
<br><font size=2 face="sans-serif"> inet
addr:192.168.178.124 Bcast:192.168.178.255 Mask:255.255.255.0</font>
<br><font size=2 face="sans-serif"> inet6
addr: fe80::299:23ff:fe44:adde/64 Scope:Link</font>
<br><font size=2 face="sans-serif"> UP
BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</font>
<br><font size=2 face="sans-serif"> RX
packets:22790 errors:0 dropped:0 overruns:0 frame:0</font>
<br><font size=2 face="sans-serif"> TX
packets:9218 errors:0 dropped:0 overruns:0 carrier:8830</font>
<br><font size=2 face="sans-serif"> collisions:0
txqueuelen:1000</font>
<br><font size=2 face="sans-serif"> RX
bytes:14916045 (14.2 MiB) TX bytes:1463093 (1.3 MiB)</font>
<br><font size=2 face="sans-serif"> Base
address:0x8500</font>
<br>
<br><font size=2 face="sans-serif">lo Link encap:Local
Loopback</font>
<br><font size=2 face="sans-serif"> inet6
addr: ::1/128 Scope:Host</font>
<br><font size=2 face="sans-serif"> UP
LOOPBACK RUNNING MTU:16436 Metric:1</font>
<br><font size=2 face="sans-serif"> RX
packets:0 errors:0 dropped:0 overruns:0 frame:0</font>
<br><font size=2 face="sans-serif"> TX
packets:0 errors:0 dropped:0 overruns:0 carrier:0</font>
<br><font size=2 face="sans-serif"> collisions:0
txqueuelen:0</font>
<br><font size=2 face="sans-serif"> RX
bytes:0 (0.0 b) TX bytes:0 (0.0 b)</font>
<br>
<br><font size=2 color=blue face="Arial"><b>route -n</b></font>
<br><font size=2 face="sans-serif">Destination Gateway
Genmask Flags Metric Ref
Use Iface</font>
<br><font size=2 face="sans-serif">192.168.178.0 0.0.0.0
255.255.255.0 U 0
0 0 eth1</font>
<br><font size=2 face="sans-serif">192.168.32.0 0.0.0.0
255.255.248.0 U 0
0 0 eth0</font>
<br><font size=2 face="sans-serif">0.0.0.0
192.168.178.47 0.0.0.0 UG 0
0 0 eth1</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">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%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Leisner, Martin"
<Martin.Leisner@xerox.com></b> </font>
<br><font size=1 face="sans-serif">Sent by: linuxppc-embedded-bounces+manjunath.am=lntemsys.com@ozlabs.org</font>
<p><font size=1 face="sans-serif">02/21/2007 09:58 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">"Manjunath AM" <Manjunath.AM@Lntemsys.com>,
"Vitaly Bordug" <vbordug@ru.mvista.com></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">linuxppc-embedded@ozlabs.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">RE: enabling two eths</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3> </font>
<br><font size=2 color=blue face="Arial">Send the results of </font>
<br><font size=2 color=blue face="Arial">ifconfig</font>
<br><font size=2 color=blue face="Arial">and</font>
<br><font size=2 color=blue face="Arial">route -n</font>
<br><font size=3> </font>
<br><font size=2 color=blue face="Arial">I take it eth0 works fine...</font>
<br><font size=3> </font>
<br><font size=2 color=blue face="Arial">Have you tried swapping the assignments
and see if eth1 works (to eliminate faulty hardware).</font>
<br><font size=3> </font>
<br><font size=2 color=blue face="Arial">marty</font>
<br>
<br>
<hr><font size=2 face="Tahoma"><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<b><br>
Sent:</b> Tuesday, February 20, 2007 11:50 PM<b><br>
To:</b> Vitaly Bordug<b><br>
Cc:</b> linuxppc-embedded@ozlabs.org<b><br>
Subject:</b> Re: enabling two eths</font><font size=3><br>
</font>
<br><font size=2 face="sans-serif"><br>
Hi, Thanks for your kind reply, Yes i have used different * IP Subnets*</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
The IPs and subnet details I use is</font><font size=3> </font><font size=2 face="sans-serif"><br>
1. eth0(configured through u-boot env settings)->> 192.168.174.231
and subnet is 255.255.255.0 <br>
2. eth1(configured after kernel is up)--> 192.168.33.64 and subnet is
255.255.248.0</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
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><font size=3><br>
<br>
<br>
</font><font size=2 face="sans-serif"><br>
Thanks & Regards<br>
MANJUNATH AM<br>
Senior Software Engineer<br>
Emsys<br>
Larsen & Toubro Limited<br>
Mysore-570018<br>
Mobile:9886375926</font><font size=3><br>
<br>
<br>
</font>
<table width=100%>
<tr valign=top>
<td width=34%><font size=1 face="sans-serif"><b>Vitaly Bordug <vbordug@ru.mvista.com></b>
</font>
<p><font size=1 face="sans-serif">02/20/2007 09:30 PM</font><font size=3>
</font>
<td width=65%>
<br>
<table width=100%>
<tr valign=top>
<td width=8%>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td width=91%><font size=1 face="sans-serif">Alex Zeffertt <ajz@cambridgebroadband.com></font><font size=3>
</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">Manjunath AM <Manjunath.AM@Lntemsys.com>,
linuxppc-embedded@ozlabs.org</font><font size=3> </font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: enabling two eths</font></table>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=50%>
<td width=50%></table>
<br></table>
<br><font size=3><br>
<br>
</font><font size=2><tt><br>
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</tt></font><font size=3><br>
</font><font size=2><tt>_______________________________________________<br>
Linuxppc-embedded mailing list<br>
Linuxppc-embedded@ozlabs.org<br>
https://ozlabs.org/mailman/listinfo/linuxppc-embedded</tt></font>
<br>