Installation guide
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.70.0 * 255.255.255.0 U 0 0 0 eth1
9.12.20.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
default pdlrouter-if5.p 0.0.0.0 UG 0 0 0 eth0
Verify your changes by using the ping command to ping the gateway:
# ping -c 1 192.168.70.8
PING 192.168.70.8 (192.168.70.8) 56(84) bytes of data.
64 bytes from 192.168.70.8: icmp_seq=0 ttl=63 time=8.07 ms
If the default route information has changed, you must also update /etc/sysconfig/network
accordingly.
22.6.2. Quick Reference for Adding Net work Devices
There are several basic tasks for adding a network interface on IBM System z.
Load the device driver.
Create the group device.
Configure the device.
Set the device online.
Define the alias (if needed).
Create a configuration script.
Activate the device.
The following sections provide basic information for each task of each IBM System z network device
driver.
22 .6 .2.1. Wo rking Wit h t he LCS Device Drive r
The LAN channel station (LCS) device driver supports OSA-2 Ethernet/Token Ring, OSA-Express
Fast Ethernet in non-QD IO mode, and OSA-Express High Speed Token Ring in non-QDIO mode. For
z990, the LCS driver also supports Gigabit Ethernet in non-QD IO mode (including 1000Base-T).
Based on the type of interface being added, the LCS driver assigns one of two base interface names:
ethn for OSA-Express Fast Ethernet and Gigabit Ethernet trn for Token Ring, where n is an integer that
uniquely identifies the device. n is 0 for the first device of that type, 1 for the second, and so on.
Load the device driver:
# modprobe lcs
Create the group device:
# echo read_device_bus_id,write_device_bus_id >
/sys/bus/ccwgroup/drivers/lcs/group
Due to the length of this command, it has been broken into two lines.
Configure the device.
Red Hat Ent erprise Linux 5 Inst allat ion G uide
238