一个简单完整的实例 install cdrom key 2515dd4e215225dd lang en_US.UTF-8 keyboard us xconfig --startxonboot network --device eth0 --bootproto static --ip 192.168.100.8 --netmask 255.255.255.0 --gatew...
分类:
其他好文 时间:
2015-03-20 20:34:21
阅读次数:
223
Ubuntu修改网卡配置文件:
vim /etc/network/interfacescat /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.1.41
gateway 192.168.1.1
netmask 255.255.255.0
...
分类:
系统相关 时间:
2015-03-16 16:23:35
阅读次数:
132
a) 通过命令进行设置
在终端里敲:sudo ifconfig eth0 10.221.20.17 netmask 255.255.255.0
注意,eth0 的 “0” 为数字 “0”
10.221.20.17:ip地址
255.255.255.0:子网掩码
查看是否设置成功,在终端敲:ifconfig
b) 通过图形界面进行设置...
分类:
系统相关 时间:
2015-03-12 15:10:42
阅读次数:
178
1 DEVICE=eth0 2 BOOTPROTO=static 3 BROADCAST=10.128.255.255 4 HWADDR=52:54:00:2D:01:C8 5 IPADDR=10.128.1.132 6 NETMASK=255.255.0.0 7 NETWORK=10.128.0....
分类:
其他好文 时间:
2015-03-10 19:01:05
阅读次数:
128
增加一个虚IP: ifconfig eth0:1 192.168.0.1 netmask 255.255.255.0 删除虚IP: ip addr del 192.168.0.1 dev eth0 Linux查看进程的所有子进程和线程 得到进程的pid: ps -ef | grep process_name | grep -v "gr...
分类:
系统相关 时间:
2015-03-03 23:47:50
阅读次数:
433
(1)Ifconfig命令第一种使用ifconfig命令配置网卡的ip地址。此命令通常用来零时的测试用,计算机启动后ip地址的配置将自动失效。具体用法如下。Ipconfig ethx ipadd netmask x.x.x.x。其中ethx中的x代表第几快以太网卡,默认第一块为0.ipadd代表ip...
分类:
系统相关 时间:
2015-03-03 13:28:22
阅读次数:
165
配置ip地址四种方法,方便学习linux的朋友(1)Ifconfig命令第一种使用ifconfig命令配置网卡的ip地址。此命令通常用来零时的测试用,计算机启动后ip地址的配置将自动失效。具体用法如下。Ipconfig ethx ipadd netmask x.x.x.x。其中ethx中的x代表第几...
分类:
系统相关 时间:
2015-02-28 14:23:44
阅读次数:
160
ddns-update-style interim; //设置dhcp互动更新模式 ignore client-updates; //忽略客户端更新 #子网声明 subnet 192.168.12.0 netmask 255.255.255.0 { # --- default gateway opt...
分类:
其他好文 时间:
2015-02-20 22:00:51
阅读次数:
172
例1 ddns-update-style interim;
ignore client-updates; subnet 192.168.222.0 netmask 255.255.255.0 { # --- default gateway
option routers 192.168.222.1;
...
分类:
其他好文 时间:
2015-02-20 21:56:05
阅读次数:
176
修改/etc/sysconfig/network-scripts/ifcfg-eth0ip地址变量:IPADDR子网掩码变量:NETMASK如果本机和linux 网段不相同 如:192.168.8.101,而linux是192.168.9.100应该只查询后边两项,因此 子网掩码:255.255.0...
分类:
其他好文 时间:
2015-02-19 06:28:55
阅读次数:
142