network config

ifcfg-ens32

 1 --static
 2 TYPE=Ethernet
 3 BOOTPROTO=static
 4 DEFROUTE=yes
 5 IPV4_FAILURE_FATAL=no
 6 IPV6INIT=yes
 7 IPV6_AUTOCONF=yes
 8 IPV6_DEFROUTE=yes
 9 IPV6_FAILURE_FATAL=no
10 NAME=ens32
11 UUID=62fdc2e9-3be7-4558-a846-f6ba391d8db7
12 ONBOOT=no
13 IPADDR=1.1.13.5
14 PREFIX=24
15 GATEWAY=1.1.13.2
16 DNS1=1.1.13.2
17 DOMAIN=1.1.13.3
18 HWADDR=00:0C:29:A0:B6:EC      //must be same with the mac in $(ip add)
19 IPV6_PEERDNS=yes
20 IPV6_PEERROUTES=yes
21
22 --dhcp
23 HWADDR="00:0C:29:67:DB:91"
24 TYPE="Ethernet"
25 BOOTPROTO="dhcp"
26 DEFROUTE="yes"
27 PEERDNS="yes"
28 PEERROUTES="yes"
29 IPV4_FAILURE_FATAL="no"
30 IPV6INIT="yes"
31 IPV6_AUTOCONF="yes"
32 IPV6_DEFROUTE="yes"
33 IPV6_PEERDNS="yes"
34 IPV6_PEERROUTES="yes"
35 IPV6_FAILURE_FATAL="no"
36 NAME="ens32"
37 UUID="b394a05c-51c4-4dc6-adef-10463ae0287d"
38 ONBOOT="yes"
时间: 2024-12-16 10:20:42

network config的相关文章

Debian Redhat network config

For  Debian Linux # dhcp auto eth0 iface eth0 inet dhcp # static auto eth0 iface eth0 inet static address 10.16.3.99 netmask 255.255.255.0 network 10.16.3.0 broadcast 10.16.3.255 gateway 10.16.3.1 /etc/init.d/networking restart For Redhat Linux 临时修改网

network config - centos7

OS: v7.5 Platform: VMware 14.1 When we complete the minimum installation, the network card configuration. 1. show status #nmcli d 2. Alter cfg #cd /etc/sysconfig/network-scripts/ The native example is ens32. #vi ifcfg-ens32 Modify the “ONBOOT” value

openSuSE DNS SERVER CONFIG

system:openSuSE 12.3(much better and frendly than the 12.1 in network config)1,network config,attention the Domain Name,site is the zone name,linux-johv is mac name2,dns config by yast2a)NS Records of 211.168.192.in-addr.arpa and site.test.com are sa

Network Basic Commands Summary

Network Basic Commands Summary set or modify hostname a)     temporary ways hostname NEW_HOSTNAME, but if you reboot your system, it will disabled. b)    permanent ways: edit "/etc/sysconfig/network" HOSTNAME, then restart system, it will effect

docker network

前言:前面的部分一直都是单机跑docker,但实际生产环境不可能只用一台来跑.肯定会用到多台,因为他们都是内部私有ip,那么多台主机之间的容器如何通信?这个是个很头疼的问题!目前主流几种方法如下: 1.使用路由机制打通网络 2.使用Open vSwitch(OVS)打通网络 3.使用flannel来打通网络 4.使用Quagga来实现自动学习路由 第一种:使用路由机制打通网络 使用linux的路由来打通网络 优点: 常规路由技术 使用传统网络技术 简单 高性能 缺点: 与现有网络融为一体 灵活性

Centos7上安装Kubernetes集群部署docker

一.安装前准备 1.操作系统详情 需要三台主机,都最小化安装 centos7.3,并update到最新 cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core)  角色主机名IP Master      master192.168.1.14 node1    slave-1192.168.1.15 node2slave-2192.168.1.16 2.在每台主机上关闭firewalld改用iptables 输入以下命令,关闭fire

OSPF 基本配置

实验 OSPF 基本配置[实验名称]OSPF 单区域基本配置.[实验目的]掌握在路由器上配置 OSPF 单区域.[背景描述]假设校园网通过 1 台三层交换机连到校园网出口路由器,路由器再和校园外的另 1 台路由器连接,现做适当配置,实现校园网内部主机与校园网外部主机的相互通信.本实验以两台路由器.1 台三层交换机为例.S3550 上划分有 VLAN10 和 VLAN50,其中 VLAN10 用于连接 RA,VLAN50 用于连接校园网主机.[需求分析]需要在路由器和交换机上配置 OSPF 路 由

基于CentOS7.2安装Kubernetes-v1.2

摘要 使用swarm构建docker集群之后我们发现面临很多问题 swarm虽好但是还处于发展阶段功能上有所不足 我们使用kubernetes来解决这个问题 kubernetes 与swarm 比较 优点 复制集与健康维护 服务自发现与负载均衡 灰度升级 垃圾回收 自动回收失效镜像与容器 与容器引擎解耦 不仅仅支持docker容器 用户认证与资源隔离 缺点 大而全意味着 复杂度较高 从部署到使用都比swarm 复杂的多 相对而已swarm比较轻量级 而且跟docker引擎配合的更好 从精神上我是

devstack screen 详解

n my previous blog i discussed how to install devstack based openstack. Now if I need to restart individual services of openstack, in a typical openstack install I would restart the service of each component, example nova-network service, horizon etc