2 commands used for configuring network inte – Siemens Unix V4.0 User Manual

Page 105

Advertising
background image

Configuring Advanced Server for UNIX

Configuring NetBIOS

Product Manual

U7613-J-Z815-6-76

©

S

iem

e

n

s

N

ix

dor

f

In

fo

rm

at

io

n

s

s

y

s

te

m

e

A

G

1

9

9

5

P

fad

: D:

\O

7

613

e6

\u

761

3e

.k

05

5.1.2.2

Commands used for configuring network interfaces

When configuring network interfaces, the following NetBIOS commands from

/var/opt/nbrfc/bin

are used:

The

cr_interfaces

command creates the

/var/opt/nbrfc/conf/interfaces.cfg

configuration file

based on the information found in the UNIX system at runtime. The program runs at instal-
lation time but it can also be executed manually by the administrator e.g. to add a new
interface.

Syntax:

cr_interfaces [-F]

Options:

-F

Force the creation of a new file. (Normally, an existing file is not overwritten.)

The

get_config

command reads the

interfaces.cfg

file; it does validity checks and displays er-

ror and/or warning messages as appropriate.

Syntax:

get_config

Use

get_config

before restarting NetBIOS whenever the

interfaces.cfg

file has changed in

order to detect inconsistent or faulty configurations.

Example output of get_config:

In order to check a new

interfaces.cfg

file you should compare the output of

get_config

with

the output of corresponding

ifconfig(1M)

commands.

The

nbconfig

command is used to view or to administer the state of the NetBIOS interfaces.

Following interfaces found

No.
0
1

Name
pnet0
madge0

IP Address
144.145.111.71
144.145.123.71

Broadcast
144.145.111.255
144.145.123.255

Netmask
0xffffff00
0xffffff00

Subnet
own
own

Active
yes
no

WINS
conf
no

Advertising