TotalNET Advanced Server 5.2 Reference Manual

tniface

This command gives you the ability to manage transport interfaces. You can list, read attribute values of, create, modify, and delete transport interfaces. Transports contain sets of network interfaces over which they operate.

Location

TNHOME/usr/sbin

Usage

tniface [-L [-n transport]]
tniface [-R [-n transport [-i interface [{-a attribute}]]]
tniface [(-A|-M) -n transport -i interface
 	{-a attribute=value}]
tniface [-D -n transport -i interface]

Options

-n transport

Specify the transport. 

-i interface

Specify the interface. 

Attributes

General attributes:

Attributes specific to the tnipx transport interface:

Attributes specific to the tnatk transport interface:

Attribute specific to the tnnbu transport interface:

address

This attribute specifies the IP address, in dot notation, to associate with the transport interface. Separate multiple addresses with spaces.

Usage:

tniface -M -n transport -i interface -a address=IP-address

broadcast

This attribute designates the IP broadcast address, in dot notation, to associate with the transport interface.

Usage:

tniface -M -n transport -i interface -a broadcast=IP-address

netmask

This attribute designates the subnet mask, in dot notation, to associate with the transport interface.

Usage:

tniface -M -n transport -i interface -a netmask=IP-address

device

This attribute designates the device name for the transport interface. For example, the following serves as the device name for the Solaris system: /dev/le:0.

Usage:

tniface -M -n transport -i interface -a device=devicename

frame-type

This attribute designates the NetWare frame type.

Usage:

tniface -M -n transport -i interface -a frame-type=frametype

mtusize

This attribute designates the maximum transfer unit size. Do not change this attribute from the default.

Usage:

tniface -M -n transport -i interface -a mtusize=size

net-number

This attribute designates the IPX network number. To find the network number for the NetWare realm, refer to the instructions below for your NetWare server's version.

NetWare 4.x Server

  1. At the server console, enter the following at the colon (:) prompt:


    load install
  2. On the menu that appears, select Maintenance/Selective Install.

  3. Press m.

  4. Press Enter.

  5. Select NCF Files Options.

  6. Press n.

  7. Press Enter.

  8. Use a text editor to open AUTOEXEC.NCF.

  9. Go to the section called bind IPX. If you find more than one bind IPX section, find the one that refers to the Ethernet frame type on that system.

  10. On that line, note the value used for net=nnn, where nnn represents the hexadecimal network number up to eight digits long.

  11. Write down the number.

  12. Exit the program by pressing the Esc button three times and then Enter.

NetWare 3.x Server

  1. At the server console, enter the following at the colon (:) prompt:


    load install
  2. On the menu that appears, select System Options.

  3. Press s.

  4. Press Enter.

  5. Select AUTOEXEC.NCF.

  6. Press e.

  7. Press Enter.

  8. Go to the section called bind IPX. If you find more than one bind IPX section, find the one that refers to the Ethernet frame type on that system.

  9. On that line, note the value used for net=nnn, where nnn represents the hexadecimal network number up to eight digits long.

  10. Write down the number.

  11. Exit the program by pressing the Esc button three times and then Enter.

NetWare 2.x Server

  1. At a NetWare client PC, log in to the PLS as any user:


    login servername/username
  2. Start the system configuration program:


    syscon
  3. On the menu that appears, select File Server Information.

  4. Press F.

  5. Press Enter.

  6. Select the PLS from the list of Known NetWare Servers.

  7. Press the down arrow until you highlight the server name

  8. Press Enter. The file server information appears, including the hexadecimal network number up to eight digits long.

  9. Write down the number.

  10. Exit the program by pressing the Esc button three times and then Enter.

Usage:

tniface -M -n transport -i interface -a net-number=network-number

checksum

This attribute designates the DDP checksum control. You can set DDP checksums on or off. This release of TAS does not implement this attribute.

Usage:

tniface -M -n transport -i interface -a checksum={on|off}

default-zone

This attribute designates the default AppleTalk zone in the zone list.

Usage:

tniface -M -n transport -i interface -a default-zone=zonename

device

This attribute designates the device name for the transport interface.

Usage:

tniface -M -n transport -i interface -a device=devicename

net-range

This attribute designates the range of network numbers.

Usage:

tniface -M -n transport -i interface -a net-range=network-range

zonelist

This attribute designates the list of AppleTalk zones available for the system.

Usage:

tniface -M -n transport -i interface -a zonelist=list

device

This attribute designates the device name for the specified transport interface.

Usage:

tniface -M -n transport -i interface -a device=devicename

Examples

  1. Use one of the following commands to list all available transport interfaces:


    tniface
    tniface -L

    Sample Output:

    tcpip 

     

    204.242.9.83 

    tnipx 

     

    internal 

     

    le0:ethernet_ii 

     

    le0:ethernet_802.3 

     

    le0:ethernet_802.2 

     

    le0:ethernet_snap 

    tnnbu 

     

    le0 

    tnatk 

     

    le0 

  2. Use the following command to list all transport interface information, including the values of all defined attributes:


    tniface -R
  3. Use the following command to list the value of the attribute device for the interface iee0:ethernet_802.3 in a tnipx section:


    tniface -R -n tnipx -i iee0:ethernet_802.3 -a device
  4. Use the following command to change the value of the attribute address for the interface 202.224.6.124 in a tcpip section to 204.242.8.167:


    tniface -M -n tcpip -i 202.224.6.124 -a address=204.242.8.167
  5. Use the following command to delete the interface le:1 from a tnipx section:


    tniface -D -n tnipx -i le:1