|
12 IP R OUTING C OMMANDSOverview This chapter describes the IP related commands accessible from the CLI of theOfficeConnect Gateway.To configure IP over the LAN, you need to assign an IP network to the LAN port, orPVC interface, with the add ip network command. Eachnetwork has a network name. Use the network name when entering commandsrelated to the network.The network address includes a local station address and subnet mask using theformat: nnn.nnn.nnn.nnn/A B C or 8-30. The first 4 octets describe the IP address,followed by the subnet mask (contiguous) designator.You can specify the subnet in one of two ways: a class or numerical designation. Ifyou specify a Class C subnet mask, for instance, this command generates a255.255.255.0 subnet value for you. If you specify the number of bits (to be set to1), the acceptable range is 8-30. The network address is invalid if the portion ofthe station address not covered by the mask is 0.Defining a numerical subnet is useful when your value falls between classes. Youcan also omit the mask altogether; it will automatically be calculated from theaddress.The following table identifies the IP commands described in this chapter:Command Type Command NameAdd add ip defaultroute gateway metricadd ip network add ip route add framed_route user add ip pool add ip source route gateway metric Delete delete ip source route delete ip defaultroute gateway delete ip network delete ip pool delete iproute all_learned_routesdelete ip source route
PreviousNext |