SCSxx05/SCSxx20 User Guide
9: Port Access
9-6
The content of the first file,
ifcfg-eth0:0
, is:
DEVICE="eth0:0"
BOOTPROTO="none"
ONBOOT="yes"
IPADDR="192.168.202.11"
NETMASK="255.255.255.0"
The content of the second file,
ifcfg-eth0:1
is:
DEVICE="eth0:1"
BOOTPROTO="none"
ONBOOT="yes"
IPADDR="192.168.202.12"
NETMASK="255.255.255.0"
5. In this manner, set up the remaining 14 config files. Note that there are
two
lines that must be changed in
each
file. The
DEVICE
line and the
IPADDR
line.
ONBOOT
indicates that this device will be set up on each subsequent
boot of the console server.
6. Once the files are set up in
/etc/sysconfig/network-scripts
/
,
as the
root
user, cycle the eth0
interface.
You must do this from the terminal port
(not a network login)
. The
ifup
command will take a few seconds to
configure a total of (up to) 16 IP addresses.
root@km3210 /etc/sysconfig/network-scripts# ifdown eth0
root@km3210 /etc/sysconfig/network-scripts# ifup eth0
7. Verify the values that you entered in the config files. (Only one of the eth0:n
output values is shown below). Note that your
Hwaddr
will not match the one
that is shown below.
root@km3210 /etc/sysconfig/network-scripts# ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:31:00:27:D5
inet addr:192.168.201.60 Bcast:192.168.201.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:164716 errors:0 dropped:0 overruns:0 frame:0
TX packets:8039 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:11 Base address:0x1000
eth0:0 Link encap:Ethernet HWaddr 00:30:31:00:27:D5
inet addr:192.168.202.11 Bcast:192.168.255.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:11 Base address:0x1000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:49 errors:0 dropped:0 overruns:0 frame:0
TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
8. If any of the values is not correct, update your config file(s) accordingly. From
the
terminal port
(not a network login)
, cycle the eth0 interface:
root@km3210 /etc/sysconfig/network-scripts# ifdown eth0
root@km3210 /etc/sysconfig/network-scripts# ifup eth0
Содержание SCSxx05
Страница 10: ...ix ...
Страница 11: ...x ...
Страница 12: ...xi ...
Страница 13: ...xii ...
Страница 14: ...xiii ...
Страница 15: ...xiv ...
Страница 47: ...SCSxx05 SCSxx20 User Guide 4 Configuration 4 7 ...
Страница 127: ...SCSxx05 SCSxx20 User Guide C Pinouts and Adapters C 7 RJ45 Receptacle to DB9M DTE Adapter for the SCSxx05 Part 200 2071 ...
Страница 128: ...SCSxx05 SCSxx20 User Guide C Pinouts and Adapters C 8 RJ45 Receptacle to DB9F DTE Adapter for the SCSxx05 Part 200 2072 ...