11.01.2015 Views

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Quick Reference for Adding Network<br />

eth1 Link encap:Ethernet HWaddr 02:00:00:00:00:01<br />

inet addr:192.168.70.87 Bcast:192.168.70.255 Mask:25<strong>5.2</strong>5<strong>5.2</strong>55.0<br />

inet6 addr: fe80::ff:fe00:1/64 Scope:Link<br />

UP BROADCAST RUNNING NOARP MULTICAST MTU:1492 Metric:1<br />

RX packets:23 errors:0 dropped:0 overruns:0 frame:0<br />

TX packets:3 errors:0 dropped:0 overruns:0 carrier:0<br />

collisions:0 txqueuelen:1000<br />

RX bytes:644 (644.0 b) TX bytes:264 (264.0 b)<br />

Note that the HWaddr field in the first line of the ifconfig <strong>com</strong>mand output. The value after that<br />

must be added to the ifcfg-eth1 file. Add a line like the following to that file:<br />

HWADDR=02:00:00:00:00:01<br />

Now ifcfg-eth1 looks similar to the following:<br />

# IBM QETH<br />

DEVICE=eth1<br />

HWADDR=02:00:00:00:00:01<br />

BOOTPROTO=static<br />

IPADDR=192.168.70.69<br />

NETMASK=25<strong>5.2</strong>5<strong>5.2</strong>55.0<br />

ONBOOT=yes<br />

NETTYPE=qeth<br />

SUBCHANNELS=0.0.0600,0.0.0601,0.0.0602<br />

TYPE=Ethernet<br />

Check the routing for the new interface:<br />

# route<br />

Kernel IP routing table<br />

Destination Gateway Genmask Flags Metric Ref Use Iface<br />

192.168.70.0 * 25<strong>5.2</strong>5<strong>5.2</strong>55.0 U 0 0 0 eth1<br />

9.12.20.0 * 25<strong>5.2</strong>5<strong>5.2</strong>55.0 U 0 0 0 eth0<br />

169.254.0.0 * 25<strong>5.2</strong>55.0.0 U 0 0 0 eth1<br />

default pdlrouter-if5.p 0.0.0.0 UG 0 0 0 eth0<br />

Verify your changes by using the ping <strong>com</strong>mand to ping the gateway:<br />

# ping -c 1 192.168.70.8<br />

PING 192.168.70.8 (192.168.70.8) 56(84) bytes of data.<br />

64 bytes from 192.168.70.8: icmp_seq=0 ttl=63 time=8.07 ms<br />

If the default route information has changed, you must also update /etc/sysconfig/network<br />

accordingly.<br />

6.2. Quick Reference for Adding Network Devices<br />

239

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!