* enabling two eths @ 2007-02-20 13:21 Manjunath AM 2007-02-20 13:44 ` Vitaly Bordug 2007-02-20 15:31 ` Alex Zeffertt 0 siblings, 2 replies; 8+ messages in thread From: Manjunath AM @ 2007-02-20 13:21 UTC (permalink / raw) To: linuxppc-embedded; +Cc: kernelnewbies [-- Attachment #1: Type: text/plain, Size: 621 bytes --] 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 Thanks & Regards MANJUNATH AM Senior Software Engineer Emsys Larsen & Toubro Limited Mysore-570018 Mobile:9886375926 [-- Attachment #2: Type: text/html, Size: 899 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: enabling two eths 2007-02-20 13:21 enabling two eths Manjunath AM @ 2007-02-20 13:44 ` Vitaly Bordug 2007-02-20 15:31 ` Alex Zeffertt 1 sibling, 0 replies; 8+ messages in thread From: Vitaly Bordug @ 2007-02-20 13:44 UTC (permalink / raw) To: Manjunath AM; +Cc: kernelnewbies, linuxppc-embedded On Tue, 20 Feb 2007 18:51:41 +0530 Manjunath AM <Manjunath.AM@Lntemsys.com> 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 > I could recall no problems with mpc8272 except stuck PHY which were cured by board power cycle. I brought up second Ethernet interface a number of times without any problem; even had them replace each other serving as NFS root gate. So I would suggest supplying more information on "nothing is working", prolly kernel output and details about MVL product you are using. -- Sincerely, Vitaly ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: enabling two eths 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 1 sibling, 1 reply; 8+ messages in thread From: Alex Zeffertt @ 2007-02-20 15:31 UTC (permalink / raw) To: Manjunath AM, linuxppc-embedded 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. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: enabling two eths 2007-02-20 15:31 ` Alex Zeffertt @ 2007-02-20 16:00 ` Vitaly Bordug 2007-02-21 4:50 ` Manjunath AM 0 siblings, 1 reply; 8+ messages in thread From: Vitaly Bordug @ 2007-02-20 16:00 UTC (permalink / raw) To: Alex Zeffertt; +Cc: linuxppc-embedded, Manjunath AM 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: enabling two eths 2007-02-20 16:00 ` Vitaly Bordug @ 2007-02-21 4:50 ` Manjunath AM 2007-02-21 16:28 ` Leisner, Martin 0 siblings, 1 reply; 8+ messages in thread From: Manjunath AM @ 2007-02-21 4:50 UTC (permalink / raw) To: Vitaly Bordug; +Cc: linuxppc-embedded [-- 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 --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: enabling two eths 2007-02-21 4:50 ` Manjunath AM @ 2007-02-21 16:28 ` Leisner, Martin 2007-02-22 4:24 ` Manjunath AM 0 siblings, 1 reply; 8+ messages in thread From: Leisner, Martin @ 2007-02-21 16:28 UTC (permalink / raw) To: Manjunath AM, Vitaly Bordug; +Cc: linuxppc-embedded [-- Attachment #1: Type: text/plain, Size: 2609 bytes --] 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 [-- Attachment #2: Type: text/html, Size: 6365 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: enabling two eths 2007-02-21 16:28 ` Leisner, Martin @ 2007-02-22 4:24 ` Manjunath AM 2007-02-22 20:38 ` Leisner, Martin 0 siblings, 1 reply; 8+ messages in thread From: Manjunath AM @ 2007-02-22 4:24 UTC (permalink / raw) To: Leisner, Martin Cc: linuxppc-embedded-bounces+manjunath.am=lntemsys.com, linuxppc-embedded [-- Attachment #1: Type: text/plain, Size: 4849 bytes --] 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: 10164 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: enabling two eths 2007-02-22 4:24 ` Manjunath AM @ 2007-02-22 20:38 ` Leisner, Martin 0 siblings, 0 replies; 8+ messages in thread From: Leisner, Martin @ 2007-02-22 20:38 UTC (permalink / raw) To: Manjunath AM Cc: linuxppc-embedded-bounces+manjunath.am=lntemsys.com, linuxppc-embedded [-- 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 --] ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-02-22 20:39 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 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 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.