Linux(debian)网络配置
来源:互联网 发布:iphone自动读书软件 编辑:程序博客网 时间:2024/05/19 18:37
Linux网络配置(debian)
1.设置IP地址、网关等
vi /etc/network/interfaces# The primary network interface auto eth0 # 开机自动连接网络 allow-hotplug eth0 iface eth0 inet static # static表示使用固定ip,dhcp表述使用动态ip address 192.168.21.166 # 设置ip地址 netmask 255.255.255.0 # 设置子网掩码 gateway 192.168.21.2 # 设置网关
2.设置DNS
vi /etc/resolv.conf# 添加:nameserver [dns的ip地址]
3重启网卡
service networking restart
阅读全文
0 0
- Debian Linux网络配置
- Linux(debian)网络配置
- Debian linux系统网络配置步骤
- Debian linux配置网络IP地址
- debian网络配置
- debian网络配置
- debian 网络配置
- Debian网络配置
- Debian 修改网络配置
- debian 命令行配置网络
- Debian Linux Gateway配置
- 在Debian中配置网络
- [转载]Debian Linux 网络设置
- Linux/Debian 基本配置日记
- Linux/Debian 基本配置日记
- Debian Linux tftp服务器配置
- debian linux 安装smb 配置
- DEBIAN LINUX 配置静态IP
- LightOJ 1173 The Vindictive Coach(DP计数)
- 8月10日相约阿里云数据库MySQL金融版线上发布会!
- YII2学习
- 云架构下的性能分析两实例
- POJ 3626 Mud Puddles(bfs)
- Linux(debian)网络配置
- jQuery与js绑定事件的几种写法(以单击事件示例)
- ViewPager fragment android tab选项卡的使用
- 31.Next Permutation 下一个排列
- 集成极光推送之后报错 Manifest merger failed with multiple errors, see logs
- 第四章 基于TCP的服务器端/客户端(1)
- 缓冲区溢出漏洞攻击演示实验(CProxy 6.2缓冲区溢出漏洞)
- 求解集合内相同元素个数的C#解法
- HHHHHH