Quick Reference For Adding Network Devices - Red Hat ENTREPRISE LINUX 5 Installation Manual

Table of Contents

Advertisement

Chapter 22. Additional Information for IBM System z Users
# ifconfig eth1
eth1
Link encap:Ethernet
inet addr:192.168.70.87
inet6 addr: fe80::ff:fe00:1/64 Scope:Link
UP BROADCAST RUNNING NOARP MULTICAST
RX packets:23 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:644 (644.0 b)
Note that the HWaddr field in the first line of the ifconfig command output. The value after that must
be added to the ifcfg-eth1 file. Add a line like the following to that file:
HWADDR=02:00:00:00:00:01
Now ifcfg-eth1 looks similar to the following:
# IBM QETH
DEVICE=eth1
HWADDR=02:00:00:00:00:01
BOOTPROTO=static
IPADDR=192.168.70.69
NETMASK=255.255.255.0
ONBOOT=yes
NETTYPE=qeth
SUBCHANNELS=0.0.0600,0.0.0601,0.0.0602
TYPE=Ethernet
Check the routing for the new interface:
# route
Kernel IP routing table
Destination
Gateway
192.168.70.0
*
9.12.20.0
*
169.254.0.0
*
default
pdlrouter­if5.p 0.0.0.0
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 Network 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.
246
HWaddr 02:00:00:00:00:01
Bcast:192.168.70.255
MTU:1492
TX bytes:264 (264.0 b)
Genmask
Flags Metric Ref
255.255.255.0
U
255.255.255.0
U
255.255.0.0
U
UG
Mask:255.255.255.0
Metric:1
Use Iface
0
0
0 eth1
0
0
0 eth0
0
0
0 eth1
0
0
0 eth0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise linux 5

Table of Contents