49
loopback interface, the address should be set to 127.0.0.1. (All addresses of the form 127.*.*.* will
then be recognized as loopback addresses, as is normal practice.) For non-loopback interfaces, the
subnet mask for the local network will be assumed to be ff:ff:ff:00 (e.g. a class C network); if the
correct subnet mask is other than this then it will need to be set with the “
subnet
” command.
If there is no initialisation file
//isfs/resolve
(or
//isfs/arptable
) at all, then default
interfaces are configured as if by the “
device
” commands
device add ether ether //edd
device add ether ether //nice
(otherwise)
device add atm atm //q93b
but in each case only if the file concerned ( “
//edd
”, “
//nice
”, or “
//q93b
”) can be opened.
Furthermore, if the IP process is given a command line then each argument will be treated as a
possible Ethernet-like file to open, given names “
ether1
”, “
ether2
”, and so on. For example, if
the IP process is defined in the system file as “
Process ip is tcp_ip/ip //bridge //lec1
”
(and “
//bridge
” and “
//lec1
” can be opened), then the equivalents of the commands
device add ether1 ether //bridge
device add ether2 ether //lec1
will be processed, in addition to the others above.
Configuration saving saves the interface configuration.
Example:
DSL>
ip device
# type dev file IP address
device ether ether //nice mtu 1500 192.168.2.1
device vlane ether //lane mtu 1500 192.168.55.1
DSL>
ip device add loop loop 127.0.0.1
Change will have no effect until after config save and restart.
DSL>
ip device delete vlane
Change will have no effect until after config save and restart.
DSL>
ip device
# type dev file IP address
device ether ether //nice mtu 1500 192.168.2.1
device vlane ether //lane mtu 1500 192.168.55.1 # DELETED
device loop loop - mtu 2048 127.0.0.1 # ADDED
Additions/deletions will have no effect until after config save and restart.
4. disable
Syntax:
disable [<i/f>]
Description:
Disables all interfaces, or just a specified interface.
Example:
DSL>
ip disable vlane
DSL>
ip device
# type dev file IP address
device ether ether //nice mtu 1500 192.168.2.1
device vlane ether //lane mtu 1500 192.168.55.1 # DISABLED
5. enable
Syntax:
enable [<i/f> [mtu <size>] [<IP address>]]
Description:
Enables all interfaces, or just a specified interface. Can also be used to set the MTU and IP address
on an interface when enabling it (or change them on an interface that is already enabled); see the
“
device
” command for details on these.
Configuration saving saves the MTU and IP addresses, but not the disabled/enabled state.
Example:
DSL>
ip enable vlane 192.168.56.3
ip/vlane: IP address 192.168.56.3
DSL>
ip device
# type dev file IP address
device ether ether //nice mtu 1500 192.168.2.1
device vlane ether //lane mtu 1500 192.168.56.3