[Top] [Prev] [Next] [Bottom]

Configuring the Ethernet Interface        4


This chapter describes how to configure the PortMaster Ethernet interface.

This chapter discusses the following topics:

General Ethernet Settings

The commands described in this section allow you to configure your Ethernet interface. In addition to specifying the protocol type (IP, IPX, or both) and address, you must specify any routing and filtering you want on the Ethernet interface.

This subsection describes the general Ethernet settings that apply to your network regardless of the protocol you use.

Configuring RIP Routing

As described in the PortMaster Routing Guide, PortMaster products automatically send and accept route information as RIP messages.

To configure RIP routing, use the following command:

Command> set Ether0 rip on|broadcast|listen|off

Note ¯ ComOS releases prior to 3.5 use the keyword routing instead of the rip keyword.

 Table 4-1 describes the results of using each keyword.

  Table 4-1 Keywords for Configuring RIP Routing

Keyword

Description

on

The PortMaster broadcasts and listens for RIP information from other routers on the local Ethernet. This is the default.

off

The PortMaster neither broadcasts nor listens for RIP information from the local Ethernet.

broadcast

The PortMaster broadcasts RIP information to the local Ethernet.

listen

The PortMaster listens for RIP information from the local Ethernet.

See the PortMaster Routing Guide for instructions on configuring OSPF routing or configuring BGP routing.

Applying Filters

Filters enable you to control network traffic. After you have created filters in the filter table, you can apply them to the Ethernet interface as either input or output filters. For more information about filters, see Chapter 9, "Configuring Filters."

Filters applied to the Ethernet interface take effect immediately. If you change the filter, the change will not take effect until you set the filter on the interface again or you reboot the PortMaster.

Input Filters

When an input filter is used, all traffic coming into the PortMaster on the Ethernet interface is compared to the input filter rules. Only packets permitted by the filter rules are accepted by the PortMaster.

To apply an input filter to the Ethernet interface, use the following command:

Command> set Ether0 ifilter Filtername

To remove the input filter, omit the filter name when entering the command.

Output Filters

When an output filter is used, all traffic going out of the PortMaster on the Ethernet interface is compared to the output filter rules. Only packets permitted by the filter rules are sent by the PortMaster.

Note ¯ ICMP and UDP packets generated by the PortMaster are never blocked by the output filter.

To apply an output filter to the Ethernet interface, use the following command:

Command> set Ether0 ofilter Filtername

To remove the output filter, omit the filter name when entering the command.

Ethernet IP Settings

PortMaster products support both the IP and IPX protocols. When you select a protocol for the Ethernet interface, you must enter certain values appropriate for the selected protocol.

This section describes the IP commands, keywords, and values that must be entered if you select IP protocol support.

Setting the IP Address

During the PortMaster installation process, you set the IP address for the Ethernet interface.

To later change the IP address of the Ethernet interface, use the following command:

Command> set Ether0 address Ipaddress

Note ¯ If you change the IP address of the Ethernet interface, you must reboot the PortMaster for the change to take effect.

Setting the Subnet Mask

The default subnet mask is 255.255.255.0. If you have divided your network into subnets, enter the subnet mask that identifies how your network addresses are divided between the network portion and the host portion. The value of Ipmask is dependent upon the class of IP address.

To set the subnet mask, use the following command:

Command> set Ether0 netmask Ipmask

See Appendix A, "Networking Concepts," for more information about using subnet masks.

Setting the Broadcast Address

You can define the IP address used as the local broadcast address. The RIP routing protocol uses this address to send information to other hosts on the local Ethernet network. The actual broadcast address is constructed from the IP address of the Ethernet interface and the netmask. The two valid values are high, where the host part of the address is all 1s (such as 192.168.1.255) or low, where the host part of the address is all 0s (such as 192.168.1.0). The PortMaster default is low. The standard for hosts is to broadcast high, but some hosts still use the low broadcast address, including hosts running SunOS 4.x (Solaris 1.x) and earlier.

The broadcast address you set for the Ethernet interface on the PortMaster must match the broadcast address set for other hosts on your local Ethernet segment.

To set the broadcast address, use the following command:

Command> set Ether0 broadcast high|low

Enabling or Disabling IP Traffic

IP traffic is sent and received through the PortMaster Ethernet interface. IP is enabled by default on PortMaster Ethernet ports. If the setting has been changed, you must enable IP on the Ethernet interface of all PortMaster products attached directly to a local Ethernet. Disable IP traffic on this port only if the PortMaster is not attached to a local Ethernet network.

To enable or disable IP traffic, use the following command:

Command> set ether0 ip enable|disable

Note ¯ This command is currently available only on the Ether0 port.

 

Ethernet IPX Settings

You must set the following values to send IPX traffic on the Ethernet interface. IPX routing is enabled when routing is enabled.

Setting the IPX Network Address

You must identify the IPX network of your local Ethernet segment. An IPX network address is a number entered in hexadecimal format, described in Appendix A, "Networking Concepts."

To set the IPX network address, use the following command:

Command> set Ether0 ipxnet Ipxnetwork

Note ¯ If you change the IPX network address of the Ethernet interface, you must reboot the PortMaster for the change to take effect.

Enabling or Disabling IPX Traffic

Ethernet IPX traffic is sent and received through the PortMaster Ethernet interface. You may enable IPX on the Ethernet interface on any PortMaster products attached directly to a local Ethernet. Disable IPX traffic on this port only if the PortMaster is not attached to a local Ethernet network.

To enable or disable IPX traffic, use the following command:

Command> set ether0 ipx enable|disable

Note ¯ This command is available only on the Ether0 port.

 

Setting the IPX Frame Type

The IPX frame type must be identified and set to the value used on the local IPX network. The frame type identifies the encapsulation method used on your IPX ports. The IPX protocol can be implemented with one of the four commonly used IPX encapsulation and frame types shown in Table 4-2.  
Table 4-2 Novell IPX Encapsulation and Frame Types

IPX Frame Type

Encapsulation

Ethernet_802.2

Consists of a standard 802.3 media access control (MAC) header followed by an 802.2 Logical Link Control (LLC) header. This is the default encapsulation used by Novell NetWare 4.0.

Ethernet_802.2_II

Not commonly used.

Ethernet_802.3

Consists of a standard 802.3 MAC header followed directly by the IPX header with a checksum of FFFF. This is the default encapsulation used by Novell NetWare 3.11.

Ethernet_II

Uses Novell's Ethernet_II and is sometimes used for networks that handle both TCP/IP and IPX traffic.

The encapsulation method and frame type were selected when your IPX network servers were installed. The IPX frame type you set on the PortMaster must match the frame type set for your network. Contact your IPX network administrator for information about the frame type used on your network.

To set the IPX frame type, use the following command-entered on one line:

Command> set Ether0 ipxframe ethernet_802.2|ethernet_802.2_ii|ethernet_802.3|ethernet_ii

Setting OSPF

You can enable or disable Open Shortest Path First (OSPF) routing protocol on an Ethernet interface.

To set OSPF on the interface, use the following command-entered all on one line:

Command> set Ether0 ospf on|off [cost Number] [hello-interval Seconds] [dead-time Seconds]

The on keyword enables OSPF on the specified Ethernet interface; off disables OSPF on that interface.

You can specify the cost of sending a packet on the interface with a link state metric by using the cost Number keyword and value. The Number metric is a 16-bit number between 1 and 65535; the default is 1.

Routers in OSPF networks continually exchange hello packets with their neighbor routers. You can set the interval that elapses between the transmission of hello packets on the interface by using the hello-interval Seconds keyword and value. Seconds can range from 10 to 120 seconds; the default is 10 seconds.

If the PortMaster stops receiving hello packets from a neighbor, it treats that router as inactive, or down. You can specify how long the PortMaster waits for hello packets from neighbors by using the dead-time Seconds keyword and value. Seconds can range from 40 to 1200 seconds; the default is 40 seconds.

Note ¯ You must set the same cost value, the same hello-interval value, and the same dead-time value on all routers attached to a common network.

See the PortMaster Routing Guide for more information on OSPF.

 



[Top] [Prev] [Next] [Bottom]

spider@livingston.com
Copyright © 1998, Livingston Enterprises, Inc. All rights reserved.