个人微信公共号可以做微网站么,织梦网站模版下载,ps网页设计流程,ui培训设计机构ip addr show 查看当前网络地址 ip link show 查看网络链接状态 ip -s link show 查看网卡统计信息 ip addr add 192.168.0.154 添加ip地址 ip link dev eth0 down 禁用ip地址 网卡的配置文件/etc/sysconfig/network-scripts/ifcfg-ethx 自动专用地址#xff1a;169.254.*.* … ip addr show 查看当前网络地址 ip link show 查看网络链接状态 ip -s link show 查看网卡统计信息 ip addr add 192.168.0.154 添加ip地址 ip link dev eth0 down 禁用ip地址 网卡的配置文件/etc/sysconfig/network-scripts/ifcfg-ethx 自动专用地址169.254.*.* 仅用于实现本网段内的通信不能路由 给网卡取一个别名 ipconfig eth0:0 172.16.0.1/16 cat /etc/sysconfig/network-scripts/ifcfg-eth1-range0 DEVICEeth2 IPADDR_START192.168.53.1 IPADDR_END192.168.53.30 NETMASK255.255.255.0 CLONENUM_START1 添加路由 route -n 查看当前路由表 netstat -r n 查看当前路由表 ip route 查看当前路由表 手动添加静态路由 route add -host 到目标主机的路由 TARGET/mask gw -net 到目标网络的路由 添加一条到达主机的路由 确保路由条目永久生效在/etc/sysconfig/network-scripts/手动编辑配置文件 Hostname 改变当前主机名hostname linna.com sysctl -w kernel.com echo linna.com gt; /proc/sys/kernel/hostname 永久生效修改/etc/sysconfig/network文件 HOSTNAMElinna.com 修改/etc/hosts设置主机别名 gethostip www.linna.com 获得某一主机的IP地址 netstat -t 查看所有tcp连接 -u 查看所有udp连接 -r 查看路由信息 -n 以数字方式显示不显示主机名称 -l 显示所有正在侦听的地址 -p 由哪个进程正在监听 nmap 扫描在线主机强大的探测工具 tcpdump -i eth0 抓包工具 wireshark 协议分析软件 netcat 黑客工具 Ethernet Channel Bonding 加载模块 modprobe bonding /etc/sysconfig/network-scripts/ ifcfg-bond0 DEVICEbond0 ONBOOTyes IPADDR192.168.0.2 GATEWAY192.168.0.1 NETMASK255.255.255.0 BONDING_IPTSmode1 miimon50 // mode 0 轮询 负载均衡1 热备 BOOTPROTOstatic ifcfg-eth0 ifcfg-eth1 DEVICEeth0 DEVICEeth1 MASTERbond0 MASTERbond0 SLAVEyes SLAVEyes ONBOOTyes ONBOOTyes 本文转自 490999122 51CTO博客原文链接http://blog.51cto.com/lyp0909/489276如需转载请自行联系原作者