Redboot network gateway, Verification – Comtrol eCos User Manual

Page 114

Advertising
background image

Chapter 1. Getting Started with RedBoot

RedBoot network gateway

RedBoot cannot communicate with machines on different subnets because it does not support routing. It al-
ways assumes that it can get to an address directly, therefore it always tries to ARP and then send packets di-
rectly to that unit. This means that whatever it talks to must be on the same subnet. If you need to talk to
a host on a different subnet (even if it’s on the same ‘wire’), you need to go through an ARP proxy, provid-
ing that there is a Linux box connected to the network which is able to route to the TFTP server. For exam-
ple:

/proc/sys/net/ipv4/conf/

<

interface>/proxy_arp

where <

interface>

should be replaced with

whichever network interface is directly connected to the board.

Verification

Once your network setup has been configured, perform simple verification tests as follows:

Reboot your system, to enable the setup, and then try to ‘ping’ the target board from a host.

Once communication has been established, try to ping a host using the RedBoot ping command - both by IP
address and hostname.

Try using the RedBoot load command to download a file from a host.

10

Advertising