To start a network interface manually, Usage – Sun Microsystems FC Switch-8 and Switch-16 816-0830-12 User Manual

Page 162

Advertising
background image

132

Sun StorEdge Network FC Switch-8 and Switch-16 Installation and Configuration Guide • October 2001

To Start a Network Interface Manually

1. Use the

ifconfig

command with the appropriate interface.

For example, to enable an FCIP interface associated with fp instance 0 and an IP
address of 192.9.201.10, you would use the following command:

The

ifconfig

command is described in more detail in the

ifconfig

(1M)manpage. Ask your network administrator for an appropriate IP address and
netmask information.

2. Use the command

ifconfig -a

to verify the network is up.

The output of

ifconfig -a

should look like this:

Usage

Any standard network commands can be used after FCIP is attached. There will not
be any usage differences when these commands (

telnet

,

ping

, or

ftp

) are used in

an Ethernet setup or FC network setup.

# ifconfig fcip0 plumb 192.9.201.10 netmask 255.255.255.0

lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232

index 1

inet 127.0.0.1 netmask ff000000

fcip0:

flags=1001843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST,IPv4>

mtu 1500 index 2

inet 192.9.201.10 netmask ffffff00 broadcast 192.9.201.255

ether 0:e0:8b:1:3c:f7

hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500

index

3

inet 192.9.200.70 netmask ffffff00 broadcast 192.9.200.255

ether 8:0:20:fc:e9:49

Advertising