SCSxx05/SCSxx20 User Guide
9: Port Access
9-7
Note:
If you need to set up an
additional
gateway to access the
aliased IP addresses from client workstation(s), for example, set up
the
/etc/sysconfig/static-routes
file. (This is an
additional
gateway
– the
default
gateway is set up through the sysadmin
setup
program.) By default, the
static-routes
file does not exist.
9. To create and populate the
static-routes
file, go the
/etc/sysconfig/
directory, and issue the following command (all on a single line):
root@km3210 /etc/sysconfig/# echo “eth0 net 192.168.202.0
netmask 255.255.255.0 gw xxx.xxx.xxx.xxx” > static-routes
where:
net 192.168.202.0 is the network segment being connected (substitute
192.168.202.0 with your segment number); netmask 255.255.255.0 is your
desired netmask; and gw xxx.xxx.xxx.xxx is the IP address of the gateway to
the segment. After assigning your static route, cycle the eth0 interface.
root@km3210 /etc/sysconfig/network-scripts# ifdown eth0
root@km3210 /etc/sysconfig/network-scripts# ifup eth0
Testing
Now verify that you can access the serial ports on an IP address basis. You can
test this from the SCS itself. Exit the
root
user and perform this from the
sysadmin
shell level. If you have not set up the (local or NIS) port permission file
for the user on the console server, the user will not have access to the serial port.
root@km3210 /etc/sysconfig/network-scripts # exit
exit
sysadmin@km3210 /var/tmp$ Telnet 192.168.202.11
Trying 172.20.202.11...
Connected to 172.20.202.11.
Escape character is '^]'.
km3205.lci.net
km3205.lci.net login: kerrym
Password:
Last login: Fri Mar 15 12:20:14 from quasar
Entering Direct mode...Server = 1
(Press Esc+A here to break the connection – see below.)
Connection closed by foreign host.
sysadmin@km3210 /var/tmp$
If you have not changed the escape sequence, press
Esc+A
to break the
connection and return to the client. In this manner, verify that you are able to
connect to all of your configured serial ports. Once you have verified connectivity
to all ports, you are ready to save to flash.
Summary of Contents for SCSxx05
Page 10: ...ix ...
Page 11: ...x ...
Page 12: ...xi ...
Page 13: ...xii ...
Page 14: ...xiii ...
Page 15: ...xiv ...
Page 47: ...SCSxx05 SCSxx20 User Guide 4 Configuration 4 7 ...