From: "Leisner, Martin" <Martin.Leisner@xerox.com>
To: "Manjunath AM" <Manjunath.AM@Lntemsys.com>
Cc: linuxppc-embedded-bounces+manjunath.am=lntemsys.com@ozlabs.org,
linuxppc-embedded@ozlabs.org
Subject: RE: enabling two eths
Date: Thu, 22 Feb 2007 15:38:48 -0500 [thread overview]
Message-ID: <556445368AFA1C438794ABDA8901891C03445720@usa0300ms03.na.xerox.net> (raw)
In-Reply-To: <OFBE288479.DC0A765B-ON6525728A.0017B972-6525728A.00180C87@lntemsys.com>
[-- Attachment #1: Type: text/plain, Size: 5869 bytes --]
so eth1 works but eth0 doesn't?
what's interesting is here you have no tx/rx/error packets -- how do you
know its not working?
Are there machines on this subnet which are working?
Also ping into the machine...
Its also sometimes useful to have a hub (not a switch) and sniff the
packets...
marty
________________________________
From: Manjunath AM [mailto:Manjunath.AM@Lntemsys.com]
Sent: Wednesday, February 21, 2007 11:24 PM
To: Leisner, Martin
Cc: linuxppc-embedded@ozlabs.org;
linuxppc-embedded-bounces+manjunath.am=lntemsys.com@ozlabs.org; Vitaly
Bordug
Subject: RE: enabling two eths
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" <Martin.Leisner@xerox.com>
Sent by: linuxppc-embedded-bounces+manjunath.am=lntemsys.com@ozlabs.org
02/21/2007 09:58 PM
To
"Manjunath AM" <Manjunath.AM@Lntemsys.com>, "Vitaly Bordug"
<vbordug@ru.mvista.com>
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:
linuxppc-embedded-bounces+martin.leisner=xerox.com@ozlabs.org
[mailto:linuxppc-embedded-bounces+martin.leisner=xerox.com@ozlabs.org]
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 <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
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
[-- Attachment #2: Type: text/html, Size: 13780 bytes --]
prev parent reply other threads:[~2007-02-22 20:39 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
2007-02-21 16:28 ` Leisner, Martin
2007-02-22 4:24 ` Manjunath AM
2007-02-22 20:38 ` Leisner, Martin [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=556445368AFA1C438794ABDA8901891C03445720@usa0300ms03.na.xerox.net \
--to=martin.leisner@xerox.com \
--cc=Manjunath.AM@Lntemsys.com \
--cc=linuxppc-embedded-bounces+manjunath.am=lntemsys.com@ozlabs.org \
--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 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.