稳定盈利的期货交易方法-量化趋势交易

alantop -专业量化投资者

爱好:量化投资,逆向工程,渗透
随笔 - 595, 文章 - 0, 评论 - 921, 引用 - 0
数据加载中……

ubuntu 15.10 配置网卡和路由

手动设置服务器的路由

route add -net 192.168.4.0/24 gw 192.168.4.1 dev eth0

注意:手动添加的路由,服务器重启后不生效;可以把上面的语句添加到开机自启动文件中/etc/rc.local;

vim /etc/network/interfaces


auto eth0
iface eth0 inet static
address 61.129.111.222
netmask 255.255.255.248
gateway 61.129.111.221

auto eth1
iface eth1 inet static
address 192.168.10.144
netmask 255.255.255.0
gateway 192.168.10.254


 

posted on 2016-01-23 11:31 AlanTop 阅读(246) 评论(0)  编辑 收藏 引用 所属分类: ubuntu


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理