* Ethernet bridging on MPC8248
@ 2005-05-02 9:28 Ole Andreas Torvmark
2005-05-03 6:15 ` jbi130
0 siblings, 1 reply; 3+ messages in thread
From: Ole Andreas Torvmark @ 2005-05-02 9:28 UTC (permalink / raw)
To: linuxppc-embedded
Hi !
I've a custom board with a MPC8248 with two LXT972 10/100MBit ethernet phys.
The board is running 2.6.9-rc1, and I'm using the FCC ENET Version 0.3
driver with some modifications.
My question is :
I've tried to get ethernet briding between the two ethernet ports to work.
I've set up the following :
ifconfig eth0 0.0.0.0
ifconfig eth1 0.0.0.0
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth1
ifconfig br0 192.168.0.222 netmask 255.255.255.0
If I connect a machine to port 0 (eth0) then I can ping the bridge from
that machine,
If I connect a machine to port 1 (eth1) I cannot ping the bridge.
If I connect machines to both ports, I cannot ping one machine from the
other, the only thing i can successfully ping is from port 0 to bridge
and from bridge to port 0
Is this a known problem with the FCC ENET driver or does it support
bridging fully ?
best regards
Ole Andreas Torvmark
R & D Engineer
Radionor Communications AS
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Ethernet bridging on MPC8248
2005-05-02 9:28 Ethernet bridging on MPC8248 Ole Andreas Torvmark
@ 2005-05-03 6:15 ` jbi130
0 siblings, 0 replies; 3+ messages in thread
From: jbi130 @ 2005-05-03 6:15 UTC (permalink / raw)
To: linuxppc-embedded
Ole Andreas Torvmark <ole.torvmark@radionor.no> writes:
> ifconfig eth0 0.0.0.0
> ifconfig eth1 0.0.0.0
> brctl addbr br0
> brctl addif br0 eth0
> brctl addif br0 eth1
> ifconfig br0 192.168.0.222 netmask 255.255.255.0
>
> If I connect a machine to port 0 (eth0) then I can ping the bridge
> from that machine,
>
> If I connect a machine to port 1 (eth1) I cannot ping the bridge.
> If I connect machines to both ports, I cannot ping one machine from
> the other, the only thing i can successfully ping is from port 0 to
> bridge and from bridge to port 0
>
> Is this a known problem with the FCC ENET driver or does it support
> bridging fully ?
Have you made sure that eth0 and eth1 are 'up'? eg) ifconfig eth0 up.
I'm not sure, but br0 may need to be up as well.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Ethernet bridging on MPC8248
@ 2005-05-03 6:24 Bastos Fernandez Alexandre
0 siblings, 0 replies; 3+ messages in thread
From: Bastos Fernandez Alexandre @ 2005-05-03 6:24 UTC (permalink / raw)
To: 'Ole Andreas Torvmark'; +Cc: linuxppc-embedded
Hi Ole,
Maybe those mails from archives would answer your questions. As long as
I know this is still present in kernel:
http://ozlabs.org/pipermail/linuxppc-embedded/2004-October/015617.html
http://ozlabs.org/pipermail/linuxppc-embedded/2004-October/015620.html
So, you have to change set_multicast_list to support the promiscous mode
needed by your bridge.
Best regards,
Alex.
> -----Original Message-----
> From: Ole Andreas Torvmark [SMTP:ole.torvmark@radionor.no]
> Sent: Monday, May 02, 2005 11:28 AM
> To: linuxppc-embedded@ozlabs.org
> Subject: Ethernet bridging on MPC8248
>
> Hi !
>
> I've a custom board with a MPC8248 with two LXT972 10/100MBit ethernet
> phys.
>
> The board is running 2.6.9-rc1, and I'm using the FCC ENET Version 0.3
> driver with some modifications.
>
> My question is :
>
> I've tried to get ethernet briding between the two ethernet ports to work.
>
> I've set up the following :
>
> ifconfig eth0 0.0.0.0
> ifconfig eth1 0.0.0.0
> brctl addbr br0
> brctl addif br0 eth0
> brctl addif br0 eth1
> ifconfig br0 192.168.0.222 netmask 255.255.255.0
>
> If I connect a machine to port 0 (eth0) then I can ping the bridge from
> that machine,
> If I connect a machine to port 1 (eth1) I cannot ping the bridge.
> If I connect machines to both ports, I cannot ping one machine from the
> other, the only thing i can successfully ping is from port 0 to bridge
> and from bridge to port 0
>
> Is this a known problem with the FCC ENET driver or does it support
> bridging fully ?
>
> best regards
>
> Ole Andreas Torvmark
> R & D Engineer
> Radionor Communications AS
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-05-03 6:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-02 9:28 Ethernet bridging on MPC8248 Ole Andreas Torvmark
2005-05-03 6:15 ` jbi130
-- strict thread matches above, loose matches on Subject: below --
2005-05-03 6:24 Bastos Fernandez Alexandre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).