Hi Martin,

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:


ifconfig

eth0      Link encap:Ethernet  HWaddr 00:99:23:C4:AD:DE
          inet addr:192.168.33.64  Bcast:192.168.33.255 Mask:255.255.248.0
          inet6 addr: fe80::299:23ff:fec4:adde/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:308 (308.0 b)
          Base address:0x8400

eth1      Link encap:Ethernet  HWaddr 00:99:23:44:AD:DE
          inet addr:192.168.178.124  Bcast:192.168.178.255 
Mask:255.255.255.0
          inet6 addr: fe80::299:23ff:fe44:adde/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22790 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9218 errors:0 dropped:0 overruns:0 carrier:8830
          collisions:0 txqueuelen:1000
          RX bytes:14916045 (14.2 MiB)  TX bytes:1463093 (1.3 MiB)
          Base address:0x8500

lo        Link encap:Local Loopback
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

route -n
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
192.168.178.0   0.0.0.0         255.255.255.0   U     0      0        0 
eth1
192.168.32.0    0.0.0.0         255.255.248.0   U     0      0        0 
eth0
0.0.0.0         192.168.178.47  0.0.0.0         UG    0      0        0 
eth1



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




"Leisner, Martin" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
02/21/2007 09:58 PM

To
"Manjunath AM" <[EMAIL PROTECTED]>, "Vitaly Bordug" 
<[EMAIL PROTECTED]>
cc
linuxppc-embedded@ozlabs.org
Subject
RE: enabling two eths






 
Send the results of 
ifconfig
and
route -n
 
I take it eth0 works fine...
 
Have you tried swapping the assignments and see if eth1 works (to 
eliminate faulty hardware).
 
marty

From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On 
Behalf Of Manjunath AM
Sent: Tuesday, February 20, 2007 11:50 PM
To: Vitaly Bordug
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: enabling two eths


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 <[EMAIL PROTECTED]> 
02/20/2007 09:30 PM 


To
Alex Zeffertt <[EMAIL PROTECTED]> 
cc
Manjunath AM <[EMAIL PROTECTED]>, linuxppc-embedded@ozlabs.org 
Subject
Re: enabling two eths








On Tue, 20 Feb 2007 15:31:54 +0000
Alex Zeffertt <[EMAIL PROTECTED]> 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
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to