Support for multiple ethernet ports
Correo Fernando-ruiz (E-mail)
correo at fernando-ruiz.com
Sat Jan 5 16:05:48 UTC 2002
A bref thing.
Calling telnetd() daemon you can call these routines interactively.
Really helpful in this step of your work.
>From your hyperterminal tcp/ip windows box you can explore your BSP.
Of course from every telnet client.
BRGDS
Fernando RUIZ CASAS
home: correo at fernando-ruiz.com
work: fernando.ruiz at ctv.es
> -----Mensaje original-----
> De: Alex Holeczy [mailto:alex at wmi.com]
> Enviado el: jueves, 03 de enero de 2002 21:39
> Para: Thomas Doerfler
> CC: rtems-users at oarcorp.com
> Asunto: Re: Support for multiple ethernet ports
>
>
> On Thu, 3 Jan 2002, Thomas Doerfler wrote:
>
> > Another way to get more info about the problem is to list the
> > interface table and routing info after your initialization.
> > This is done with the functions:
> >
> > rtems_bsdnet_show_if_stats();
> > rtems_bsdnet_show_inet_routes();
> > rtems_bsdnet_show_mbuf_stats();
> >
> > and try also:
> >
> > rtems_bsdnet_show_icmp_stats();
> > rtems_bsdnet_show_ip_stats();
> > rtems_bsdnet_show_tcp_stats();
> > rtems_bsdnet_show_udp_stats();
> >
> > By the way: does your system accept to add the local loopback
> > interface instead of your second Ethernet device? I have
> > installed it in the following way:
>
> Thank you for recommending using the show functions.
>
> By using the rtems_bsdnet_show_inet_routes(), I found that
> the error I was
> getting had to do with configuring the route table entry for
> the second
> Ethernet device. The way I had my device
> rtems_bsdnet_ifconfig structures
> initialized, the code was trying to configure both Ethernet
> devices with
> exactly the same route entry.
>
> By changing the rtems_bsdnet_ifconfig structures for the
> Ethernet devices,
> I was able to get the three ports initialized. I still do
> not understand
> why the RTEMS networking software creates the routing table entries it
> does.
>
> I will have to dig a little deeper into network routing in general to
> understand what is going on.
>
> Thanks again for your help.
>
> Alex
>
>
> --
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> ++++++++++++
> Alex Holeczy (alex at wmi.com)
>
> Communication Automation Corporation (CAC)
www.cacdsp.com www.wmi.com
1180 McDermott Drive, West Chester, PA 19380
800-367-6735 Ext. 122 or 610-692-9526 Ext. 122 (Voice)
610-436-8258 (Fax)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
More information about the users
mailing list