[ECOS] configuring real eth1 for ecos eth0

Andrew Lunn andrew@lunn.ch
Wed Jan 21 08:18:00 GMT 2004


On Mon, Jan 19, 2004 at 02:38:12PM +0530, sen wrote:
> Hi Gary,

> I facing problems configuring eCos eth0 mapped to real eth1 on
> linux, for target synthetic linux. Can u pls suggest a possible
> solution. The following is an extract of the ping_test ....
> 
> 
> [cyg_net_init] Init: mbinit(0x00000000)
> [cyg_net_init] Init: cyg_net_init_devs(0x00000000)
> Init device 'synth_eth0'
> [cyg_net_init] Init: loopattach(0x00000000)
> [cyg_net_init] Init: ifinit(0x00000000)
> IFP: 0x02000c90, next: 0x02068d80
> IFP: 0x02068d80, next: 0x00000000
> [cyg_net_init] Init: domaininit(0x00000000)
> [cyg_net_init] Init: cyg_net_add_domain(0x020017e0)
> New domain internet at 0x00000000
> [cyg_net_init] Init: cyg_net_add_domain(0x02001220)
> New domain route at 0x00000000
> [cyg_net_init] Init: cyg_route_init(0x00000000)
> [cyg_net_init] Done
> Start PING test
> BOOTP[eth0] op: REPLY
>        htype: Ethernet
>         hlen: 6
>         hops: 0
>          xid: 0x0
>         secs: 0
>        flags: 0x0
>        hw_addr: 00:50:ba:4c:53:a4
>      client IP: 192.168.100.95
>          my IP: 192.168.100.95
>      server IP: 192.168.100.222
>     gateway IP: 192.168.100.1
>   options:
>         subnet mask: 255.255.255.0
>        IP broadcast: 192.168.100.255
>             gateway: 192.168.100.1
> eth0 tx: 28 bytes, >ff:ff:ff:ff:ff:ff <00:50:ba:4c:53:a4 0806(arp) 00010800
> 06040001 0050ba4c 53a4c0a8 645f0000 00000000 c0a8645f
> eth0 tx: ARP request , sender 00:50:ba:4c:53:a4 192.168.100.95, target
> 00:00:00:00:00:00 192.168.100.95
> [eth_drv_ioctl] Warning: Driver can't set multi-cast mode
> [eth_drv_ioctl] Warning: Driver can't set multi-cast mode
> eth0 tx: 28 bytes, >ff:ff:ff:ff:ff:ff <00:50:ba:4c:53:a4 0806(arp) 00010800
> 06040001 0050ba4c 53a4c0a8 645f0000 00000000 c0a8645f
> eth0 tx: ARP request , sender 00:50:ba:4c:53:a4 192.168.100.95, target
> 00:00:00:00:00:00 192.168.100.95
> [eth_drv_ioctl] Warning: Driver can't set multi-cast mode
> PING server 192.168.100.222
> eth0 tx: 28 bytes, >ff:ff:ff:ff:ff:ff <00:50:ba:4c:53:a4 0806(arp) 00010800
> 06040001 0050ba4c 53a4c0a8 645f0000 00000000 c0a864de
> eth0 tx: ARP request , sender 00:50:ba:4c:53:a4 192.168.100.95, target
> 00:00:00:00:00:00 192.168.100.222


Run tcpdump on both the host and the server. See how far the ARP
request and response messages get.

        Andrew

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list