48 Altera Corporation
Board Ethernet Connection Nios Development Board Reference Manual, Cyclone Edition
IP Addresses for LAN Connections
If your LAN does not support DHCP, or if DHCP self configuration failed, then
you will need to assign your board a fixed IP address before you can access
it over a network. All boards arrive with a default IP address of 10.0.0.51.
(The 10.0.0.x subnet is conventionally reserved for development, test, and
prototyping.) You need to obtain a safe IP address in your LAN's subnet
from your system administrator.
Once you have obtained a safe IP address, you can assign it to your board
using GERMS commands over the serial connection. The GERMS monitor
in the default software reference design has been extended to implement
the xip command. The xip command sets the IP address for your board,
and saves this address in flash memory. In general, you will only need to
assign an IP address to your board once. However, you may change it at
any time by issuing another xip command.
For example, to assign the IP address 137.57.136.165, you would type the
following command at the GERMS + prompt:
xip:137.57.136.165 (no spaces)
1 The GERMS monitor does not recognize the Backspace key or
Delete key. If you make a mistake typing, press the Escape key to
get a fresh GERMS prompt and re-enter the command. To read
back the IP address, you can use the xip command with no colon
or arguments. To activate the new IP address, you must reset
your board by pushing the Force Safe button or the Reset, Config
button.
Browsing your Board
Once your board has a valid IP address (obtained from either DHCP self
configuration or from flash memory), you can access the board via a web
browser (e.g., Microsoft Internet Explorer). The board serves a website
which includes both extensive documentation and useful network-
download utility functions. To browse this site, open a web browser and
type the IP address of the board (four numbers separated by decimal-
points) as a URL directly into the browser’s Address input field. You can
determine your board’s IP address by reading the messages displayed on
the LCD display (the IP address is continuously displayed) or by typing
xip on the Console Serial Port.
f
Extensive additional information on the board’s network
communications and download utilities are available via this web
interface.