Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ CentOS 6.5 dual card configuration, one of the external network, a local area network connection     - Linux Oracle delete archived logs (Database)

- Depth understanding of JavaScript new mechanism (Programming)

- Windows Ubuntu dual system a key Ghost, grub rescue prompt solution (Linux)

- The compiler installed Kaldi under Ubuntu 12.04 (Linux)

- C ++ pointer two third memory model (Programming)

- Advanced network security tips Linux backdoor Technology and Practice (Linux)

- Linux kernel likely and unlikely to resolve macro definitions (Linux)

- Linux automatically install service components and optimize the kernel parameters (Linux)

- GitLab Guide installation under Ubuntu 14.04 (Server)

- Echo Command Examples (Linux)

- Stucts2 values on the page and how the attribute values corresponding to the Action (Programming)

- EXP-00091: Exporting questionable statistics Processing Method (Database)

- CentOS7 Minimal minimize installation and then install the GNOME graphical interface (Linux)

- Linux simple commands (Linux)

- CentOS install pip (Linux)

- Linux beginners to develop the seven habits (Linux)

- Using the Linux VNC service (Server)

- Use Oracle Data Guard to complete cross-platform database migration cases (Database)

- Setting grep Highlight Matches (Linux)

- BusyBox build root file system (Linux)

  CentOS 6.5 dual card configuration, one of the external network, a local area network connection
  Add Date : 2017-04-13      
  CentOS 6.5 on a dual-NIC configuration external network a LAN connection

1, configure DNS

Modify the corresponding network card DNS configuration files
# Vi /etc/resolv.conf
Modify the following, you can set up multiple:



2, the configuration of the gateway external network card
Modify the configuration file of the gateway
[Root @ centos] # vi / etc / sysconfig / network

Modify the following
NETWORKING = yes (indicate whether the system is using the network, usually set to yes. If set to no, you can not use the network, and many system services will not start)
HOSTNAME = centos (set the host name of the machine, where you want to set the hostname and / etc / hosts in the host name corresponding to the set)
GATEWAY = (Note: This must be configured as a gateway external network card)

3, configure the IP address

Modify the configuration file corresponding to the IP address of the network card
# Vi / etc / sysconfig / network-scripts / ifcfg-eth0

Modify the following

DEVICE = eth0 # description of the card corresponding device alias, such as ifcfg-eth0 file it eth0, Dell servers generally: em1, em2
BOOTPROTO = static # set the card to obtain ip address ways possible options for static, dhcp or bootp, corresponding to the specified static ip address, obtained by the dhcp ip protocol address, obtained by the protocol ip address bootp
BROADCAST = # corresponding subnet broadcast address
HWADDR = 00: 07: E9: 05: E8: B4 # corresponding to the physical address of the network card
IPADDR = # If the card is set to obtain ip address is static manner specified, this field specifies the network card on the corresponding ip address

GATEWAY = # Note: The network card must be empty here, otherwise the two network cards at the same time not enabled on the external network
NETMASK = # netmask corresponding card
NETWORK = # NIC corresponding network address
ONBOOT = yes # When the system is set to start this network interface is set to yes, when the system starts to activate this device

4, restart the network configuration
# Service network restart
# /etc/init.d/network Restart
- Oracle RAC node on the expulsion of the inspection process on OEL6.3 (Database)
- How to enable curl command HTTP2 support (Linux)
- Android 4.2 compilation notes (Programming)
- RedHat command line and graphical interface switching (Linux)
- Management Linux Container with Docker in Ubuntu (Linux)
- To install Oracle Database Details and FAQ Summary under CentOS (Database)
- MySQL log from the library than the main library (Database)
- Linux System Getting Started Tutorial: Installing Git on Linux (Linux)
- AngularJS notes --- Scope and controller (Programming)
- 10 really interesting Linux command (Linux)
- Getting Started with Linux system to learn: how to use tcpdump to capture TCP SYN, ACK and FIN packets (Linux)
- The AWK use Cygwin tools mysql binlog log viewer (Database)
- To compile and install OpenCV-2.3.1 FFmpeg-2.1.2 under CentOS (Linux)
- PHP generates a random password several ways (Programming)
- Linux disk virtualization (Linux)
- Build and verify MongoDB3.0.7 version (shard + replica) Cluster (Database)
- PHP file upload methods exist in the database (Programming)
- Install the free open source financial software GnuCash 2.6.6 under Ubuntu (Linux)
- Inject script commands manually annotated summary (Linux)
- apt-get install openstack pkg Troubleshooting (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.