Previous ToC Next

Outside Interface (Cable/DHCP users)

For those of you that are using Cable or are using a DHCP-based LAN like that of a big college campus, You guys have it the easiest! All you need to do is edit the /etc/sysconfig/network-scripts/ifcfg-eth0 file and make it look like this:
DEVICE="eth0"
ONBOOT="yes"
BOOTPROTO="dhcp"

To get the interface up in the meantime, all you need to do is run dhcpcd eth0 Verify the command was successful by running ifconfig eth0 and comparing the results to these below:
eth0      Link encap:Ethernet   HWaddr 00:48:54:54:FF:9C
             inet addr:24.16.243.123 Bcast 24.26.243.255 Mask:255.255.0.0
             UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
             RX packets:547245 errors:0 dropped:0 overruns:0 frame:0
             TX packets:928805 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:100
             RX bytes:130382433 (124.3 Mb) TX bytes:743890952 (709.4 Mb)
             Interrupt:10 Base address:0xf00

Note! Your values may vary however if you have an IP address up then you're good to go!