Tag: nic

无法在Ubuntu上设置静态IP

我最近安装了Ubuntu Desktop 13.10,我试图通过更改/etc/network/interfaces文件来设置静态IP: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback iface eth0 inet dynamic 至: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback iface eth0 inet static address 192.168.1.70 netmask 255.255.255.0 broadcast 192.168.1.255 network 192.168.1.0 gateway 192.168.1.1 dns-nameservers 8.8.8.8 使用我从这些FAQ / Tutorial […]

Ubuntu服务器路由表

我有一个带3个网卡的ubuntu服务器(13.04)。 这是我的路由表: Destination Gateway Genmask Flags Metric Ref Use Iface default vodafone.statio 0.0.0.0 UG 0 0 0 p1p1 192.168.8.0 * 255.255.255.0 U 0 0 0 p2p2 192.168.17.0 * 255.255.255.0 U 0 0 0 p2p1 服务器位于interet上并看到2个子网。 我的PC在子网17.xxx上,我可以ping子网8.xxx上的所有PC,但我无法上网。 如何配置路由表以在Web上重定向我的请求?

使用一个网关设置两个IP地址?

我想问一下,是否可以通过一个网关从同一个子网设置两个静态IP? 如果是这样的话? 我感兴趣的是这里描述多个上行链路/提供商的路由 ,但在我的情况下,我有两个来自一个提供商的IP地址,两个都在同一个子网上,当然我在两者上都有互联网接入。 我有两个网卡,但如果可以的话,我不介意选择一个网卡。 任何想法都表示赞赏!

ubuntu 18.04下的多个网卡

如何翻译我们必须做的事情,使用新的netplan.io + systemd-networkd在2个或更多NIC接口上拥有2个独立的流量流? auto ens2 iface ens2 inet static address 192.168.5.100 netmask 255.255.255.0 gateway 192.168.5.1 dns-nameservers 1.1.1.1 auto ens3 iface ens3 inet static address 192.168.3.15 netmask 255.255.255.0 up ip route add default table 102 dev ens3 via 192.168.3.1 up ip rule add from 192.168.3.0/24 lookup 102 down ip rule del from 192.168.3.0/24 down ip route […]

在Mac Mini上安装Ubuntu Server时没有检测到网络接口

我有一个新的Mac Mini(MacMini6,12012年),我想安装Ubuntu Server 13.04( ubuntu-13.04-server-amd64+mac.iso )。 但似乎Ubuntu Server无法检测到我的网络接口,因为我收到消息: 未检测到网络接口 我该如何解决这个问题? 我可以为此添加任何模块或驱动程序吗? 我现在尝试使用build-essentials包安装Ubuntu Server,并按照答案中的建议将源代码下载到tg3-driver。 但是在编译时(使用make命令)我得到错误: … cc1: some warnings being treated as errors make[2]: *** [/home/jonas/tg3-3.129d/tg3.o] Error 1 make[1]: *** [_module_/home/jonas/tg3-3.129d] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-19-generic` make: *** [default] Error 2 有什么建议?

TL-WN722N无法识别

我对Linux比较陌生。 我在我的笔记本电脑(Dell Inspiron 5520 15R)上运行Ubuntu GNOME(4.8.0-36-generic)。 我用Atheros AR9271芯片组购买了TP-LINK TL-WN722N usb无线适配器,但我的电脑无法识别该设备。 我在Windows上试用了这个设备(在同一台笔记本电脑上),它的开箱即用效果非常好。 这是lsusb的输出 Bus 002 Device 003: ID 8087:07da Intel Corp. Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 004: ID 0c45:644a Microdia Bus 001 Device 003: ID […]