Skip to content

February 10, 2017

Configure Networking in OpenSUSE Linux with manual IPv4

by linux

Here is a Quick Guide to configure networking in OpenSUSE Linux using manual IPv4.

First let’s see where config files are located.

# ls /etc/sysconfig/network/ifcfg-*
/etc/sysconfig/network/ifcfg-eth0  /etc/sysconfig/network/ifcfg-lo
linux-t003:/home/ovi #

Edit /etc/sysconfig/network/ifcfg-eth0 file and add:

BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='10.0.1.31/24'
MTU=''
NAME='82540EM Gigabit Ethernet Controller'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'

Edit /etc/sysconfig/network/routes file and add:

default 10.0.1.1 -	-

Edit /etc/resolv.conf and add:

nameserver 10.0.1.1

Then we need to restart network service:

service network restart
Read more from Linux Tutorials

Leave a Reply

required
required

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments