
UBC-220 User Manual
42
3.8.5
Network Setup
Default: IP get form DHCP.
Manual: Set IP by below command:
#ifconfig eth0 192.168.0.1 up
ifconfig is to configure network interfaces, the manual page is as below.
SYNOPSIS
ifconfig [-v] [-a] [-s] [interface]
ifconfig [-v] interface [aftype] options | address ...
OPTIONS
-a display all interfaces which are currently
available, even if
down
-s display a short list (like netstat -i)
-v be more verbose for some error conditions
interface
The name of the interface. This is usually a
driver name followed by a unit number, for
example eth0 for the first Ethernet interface. If
your kernel supports alias interfaces, you can
specify them with eth0:0 for the first alias
of eth0. You can use them to assign a second
address. To delete an alias interface use
ifconfig eth0:0 down. Note: for every scope
(i.e. same net with address/netmask combination)
all aliases are deleted,if you delete the first
(primary).
[aftype]
up This flag causes the interface to be activated.
It is implicitly specified if an address is
assigned to the interface.
down This flag causes the driver for this interface to
be shut down.
address The IP address to be assigned to this interface.
netmask [addr]
Set the IP network mask for this interface. This
value defaults
to the usual class A, B or C network mask (as
derived from the
interface IP address), but it can be set to any
value.
broadcast [addr]
If the address argument is given, set the
protocol broadcast
address for this interface. Otherwise, set
(or clear) the
IFF_BROADCAST flag for the interface.
del addr/prefixlen
Remove an IPv6 address from an interface.
Summary of Contents for UBC-220
Page 6: ...UBC 220 User Manual vi...
Page 12: ...UBC 220 User Manual 4...
Page 36: ...UBC 220 User Manual 28...
Page 52: ...UBC 220 User Manual 44...