Configure Network Connection Oracle Linux

Configure Network Connection Oracle Linux

Configure Network Connection Oracle Linux

su to root

Editing ifcfg-eth0 in vi on Oracle Linux to set a static IP address for eth0

(or whatever NIC you are using, may be eth1, eth2,etc)

your config should look like so

ifcfg-eth0 with BOOTPROTO=static and ONBOOT=yes

make sure you change bootproto to static, and onboot to yes

append, IPADDR= and MASK= and then customize for your environment

Save + Quit

Editing /etc/sysconfig/network in vi on Oracle Linux to set the hostname and default gateway

from there add the gateway, and configure the hostname

/etc/sysconfig/network with HOSTNAME and GATEWAY set

Save + Quit

now issue the service network restart command to bring up network connection

service network restart bringing eth0 up

now let’s do a ping google.com

ping google.com succeeding from Oracle Linux

as you can see it can ping out to the internet, we are good!

to get a hosted Oracle Linux Server visit zwiegnet.com/go to get started today!

Related guides: Configuring Network CentOS 6 | Configure Bond Interface Oracle Linux 6

Leave a Reply

Your email address will not be published. Required fields are marked *