NIC not configure

we have sun V100 machine

which have Two NIC one is configure but second is not configured I get commond

ifconfig dmfe0

result is

ifconfig dmfe0

dmfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2

inet 131.107.1.101 netmask ffff0000 broadcast 131.107.255.255

ether 0:3:ba:36:37:52

but i get command ifconfig dmfe1

result is

ifconfig: status: SIOCGLIFFLAGS: dmfe1: no such interface

what is this error

please give me a solution

thanks

[721 byte] By [nsg] at [2007-11-25 22:43:42]
# 1

The error just means that you haven't opened the device (dmfe1) associated with the physical interface. To do so, you need to plumb dmfe1 (see man pages for ifconfig). As for the solution your looking for, you first need to answer the question why you're trying to bring up the second interface. Are you going to attach the second interface to a separate subnet/network? If you are, then here's what you'll need to do:

1) plumb the second intrerface

# ifconfig dmfe1 plumb

2) configure the interface

E.g.

# ifconfig dmfe1 192.168.1.101 netmask 255.255.255 broadcast +

3) bring up the interface

# ifconfig dmfe1 up

4) update the appropriate files so that the interface is brought up on reboot. The files are as follows:

/etc/hosts, /etc/hostname.dmfe1, /etc/netmasks

Hope this answers your questions.

-Jojo Jaballas

Jojo at 2007-7-5 16:55:37 > top of Java-index,General,Network Configurations...
# 2
Dear jojo thanks for help
nsg at 2007-7-5 16:55:37 > top of Java-index,General,Network Configurations...