小编DLH*_*DLH的帖子

CentOS 与 Ubuntu

I had a web server that ran Ubuntu, but the hard drive failed recently and everything was erased. I decided to try CentOS on the machine instead of Ubuntu, since it's based on Red Hat. That association meant a lot to me because Red Hat is a commercial server product and is officially supported by my server's manufacturer. However, after a few days I'm starting to miss Ubuntu. I have trouble finding some of the packages I want in the …

ubuntu centos

104
推荐指数
8
解决办法
17万
查看次数

Ubuntu Server - 两个接口共存(完美和谐)

我们的服务器有三个以太网接口。我有一个插入电缆调制解调器(用于静态 ip),另一个插入路由器(用于访问工作网络的其余部分)。我很确定我在 Xubuntu 下同时运行了两个界面,但是在 Ubuntu Server 下我似乎无法做到这一点;如果我连接到工作网络,我的静态 IP 将停止工作。这种方式违背了拥有多个以太网接口的目的。怎样才能让这两个界面愉快的生活在一起呢?

route输出:
eth0 关闭

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
74.218.198.192  *               255.255.255.248 U     0      0        0 eth2
default         rrcs-74-218-198 0.0.0.0         UG    100    0        0 eth2
Run Code Online (Sandbox Code Playgroud)

eth0 up(在前两行之后挂起,所以我使用了route -n

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
74.218.198.192  0.0.0.0         255.255.255.248 U     0      0        0 eth2
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.2.1     0.0.0.0         UG    100    0        0 eth0
0.0.0.0         74.218.198.193  0.0.0.0         UG    100 …
Run Code Online (Sandbox Code Playgroud)

networking ubuntu ethernet interface

0
推荐指数
1
解决办法
4299
查看次数

标签 统计

ubuntu ×2

centos ×1

ethernet ×1

interface ×1

networking ×1