Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ OpenSUSE / Linux network configuration     - Prevent security threats caused Rootkit (Linux)

- Linux common network tools: Scan routing of mtr (Linux)

- Oracle common internal event tracking number (Database)

- Linux System Getting Started Learning: Linux common log file (Linux)

- Python implementation restart the router (Programming)

- Oracle 11R2 Grid Infrastructure execute root.sh script rootcrs.pl execution failed treatment (Database)

- To share Internet access through NAT mode under Virtual Linux VMware Workstation (Linux)

- How to network to share files between Windows, MAC and Linux (Linux)

- Linux to achieve a simple cp command (Linux)

- Linux Getting Started tutorial: Experience Xen Virtual Machine chapter (Linux)

- Ubuntu under Spark development environment to build (Server)

- Remove old kernel on Ubuntu (Linux)

- Python3 multi-thread download codes (Programming)

- Deploy Apache Spark cluster environment in Ubuntu (Server)

- VirtualBox virtual machine to install Linux (Linux)

- Oracle 11g + RAC + RHEL6.5 + udev + ASM + PSU installation summary (Database)

- Ubuntu 14.04 compile, install, configure, the latest development version GoldenDict (Linux)

- Install Ubuntu 14.04 and Windows 8 / 8.1 dual-boot in UEFI mode (Linux)

- C ++ inheritance and derived (induction principle) (Programming)

- Spark and Hadoop comparison (Server)

  OpenSUSE / Linux network configuration
  Add Date : 2017-08-31      
  Because of their work, come into contact with Linu server an OpenSUSE system, I began to think and CentOS as only need to configure a ifcfg-ethx file can be, but after the configuration found no network, then to query the network settings information, OpenSUSE system as follows:

First, modify the ifcfg-eth0 file (parameters can be modified as follows)
# Vi / etc / sysconfig / network / ifcfg-eth0
BOOTPROTO = static

Second, configure the gateway (route)
# Vi / etc / sysconfig / network / routes

Third, configure DNS
# Vi /etc/resolv.conf

Fourth, restart the network card
# /etc/init.d/network Restart

========================= Documents described ====================== ===
1: / etc / sysconfig / network / config
In this file, you can select the card management mode, as follows
NETWORKMANAGER = "yes" set by the user of the method networkmanage
NETWORKMANAGER = "no" by ipfu conventional Sets (recommended to choose this)

2: / etc / sysconfig / network / ifcfg-eth0
In this file, you can configure the IP address acquisition mode, IP address, subnet mask and other parameters, as follows
BOOTPROTO = 'static'
NAME = 'RTL-8139 / 8139C / 8139C +'
STARTMODE = 'auto'


3, / etc / sysconfig / network / routes
        In this file, you can default route (gateway) configuration, and thereby set the default gateway to route to a specific network or host. This file will be loaded when the network start

Configure the following format:

Example 1:

Add the Gateway:

The above command can also add:
# Route add default gw

The same instructions above can also be deleted:
# Route del -net

Example 2:
Configuring network from to port out of the net:

Use the command to add:
# Route add -net netmask gw

Use Delete command:
# Route del -net netmask

4, / etc / resolv.conf
In this file, you can configure DNS name resolution. Mainly has the following four parameters:
nameserver # defined DNS server IP address (required)
domain # define local domain name (optional)
search # custom domain search list (optional)
sortlist # sort the returned domain name (optional)

Examples are as follows:
domain linuxidc.com
search www.linuxidc.com linuxidc.com
- How to Use Nmap security scanner tool on Linux (Linux)
- Ubuntu 12.04 install RTL8723BE wireless network card driver (Programming)
- CentOS 6.5 installation Python3.0 (Linux)
- Nagios (centreon) monitoring LVS (Server)
- Ubuntu user use PPA to install Uget 2.0.5 (Linux)
- Java memory analysis tool uses detailed MAT (Programming)
- How to Install Sticky Notes on Ubuntu and Derivatives (Linux)
- Linux operating system security settings initial understanding (Linux)
- To install and configure the Jetty server and JDK under Ubuntu 14.04.2 (Server)
- Varnish configuration language VCL and its built-in variables (Server)
- Thunderbird 24.4.2 has been released for use with PPA updates (Linux)
- CentOS / Linux NIC set IP address configuration (Linux)
- Linux dd command applies amplification SWAP partition (Linux)
- Linux dual physical network card set to a virtual NIC (Linux)
- Linux raw socket (Programming)
- Timeout control related to Python threads and a simple application (Programming)
- Linux Basics Tutorial: create your own Vim IDE (Linux)
- Mhddfs: multiple smaller partitions into one large virtual storage (Linux)
- The ORA-01113 error is handled with BBED without archiving (Database)
- Zabbix monitors Nginx status (Server)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.