我尝试为KVMconfiguration桥接networking(请参考http://www.linux-kvm.org/page/Networking ),它适用于Guest OS,但是我的Fedora主机操作系统有两个问题: 1,我不能在主机上访问互联网 2,重新启动后网桥configuration丢失,需要再次执行“服务networking重启”才能启动 我在这里检查( KVMnetworking桥与公共静态IP为主机和来宾 )的第一个问题,它似乎不适合我。 任何build议表示赞赏! ifconfig -a eth0 Link encap:Ethernet HWaddr 48:5B:39:ED:EB:5A inet6 addr: fe80::4a5b:39ff:feed:eb5a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:231340 errors:0 dropped:0 overruns:0 frame:0 TX packets:413424 errors:0 dropped:0 overruns:0 carrier:1 collisions:0 txqueuelen:1000 RX bytes:15335606 (14.6 MiB) TX bytes:114755796 (109.4 MiB) Interrupt:44 lo Link encap:Local Loopback inet addr:127.0.0.1 […]
ISP ADSL —- Cisco 877路由器—- Cisco ASA 5505 我有上面的连接。 我想避免在Cisco 837路由器上使用NAT,并将ASA直接放在Internet上。 但是,我必须使用837连接到ISP – ASA没有ADSL接口。 我知道如何configurationASA来处理pppoe连接,但不知道如何configuration837作为ADSL和以太网之间的桥梁。 这就是所谓的RFC1483桥接? 下面的configuration是否允许ASA做所有的pppoe协商,而让877做的只不过是桥接以太网和ADSL? no ip routing interface Ethernet0 no ip address no ip directed-broadcast bridge-group 1 encapsulation aal5snap bridge-group 1 bridge 1 protocol ieee 不幸的是,这是我们唯一一个连接到互联网的800系列路由器的网站,所以我不是很熟悉它,直到我到达那里,我才能正确地testingconfiguration。
我想创build一个具有两个不同IP的KVM来宾,例如一个公共IP和另一个私有IP来访问同一个KVM来宾。 我的主机是210.xxx系列,Guest还configuration了220.xxx系列。 我可以configuration另一套IP系列,如172.xxx更多的IP?
我有一台Debian Wheezy机器,我试图用桥接networking来设置KVM。 不幸的是,这座桥似乎没有正确的转发stream量。 我的设置如下: 物理机器有一个eth0连接到IP地址为192.168.0.1的路由器。 这个eth0是网桥接口br0的成员,它被静态configuration为IP地址192.168.0.101。 虚拟机的networking接口是物理主机上的vnet0和虚拟机中的eth0 。 在虚拟机中,接口静态configuration为IP地址192.168.0.110。 从物理主机,我可以ping虚拟机和路由器: # ping 192.168.0.1 PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data. 64 bytes from 192.168.0.1: icmp_req=1 ttl=64 time=0.331 ms # ping 192.168.0.110 PING 192.168.0.110 (192.168.0.110) 56(84) bytes of data. 64 bytes from 192.168.0.110: icmp_req=1 ttl=64 time=0.417 ms 在虚拟机上,我可以ping物理机器: # ping 192.168.0.101: PING 192.168.0.101 (192.168.0.101) 56(84) bytes […]
我在Amazon EC2 VPC的Linux服务器上安装了桥接OpenVPN。 (花费在文档上的时间,阅读类似的问题,在这里,OpenVPN论坛,没有运气。) 桥接口已经启动,并且包含两个子接口: # brctl show bridge name bridge id STP enabled interfaces br0 8000.0e7c15e787b0 no eth0 tap0 VPN服务器上的路由显然是OK的; 我可以通过SSH进行ping,响应来自客户端的VPN请求: # netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 br0 10.0.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br0 我可以从Windows和Mac客户端ping到VPN服务器的IP,但不能到VPC子网上的任何其他IP。 (其他IP也可以,VPN服务器可以ping通) […]
我目前有一个运行多个OpenVZ Containers的Proxmox(debian)KVM主机用于一般用途,我正在研究创build一个KVM虚拟机,但是我无法联网到CentOS KVM Guest。 请从主机findnetworkingconfiguration: # ifconfig eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx inet6 addr: fe80::22cf:30ff:fe19:7b67/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:41861518 errors:0 dropped:0 overruns:0 frame:0 TX packets:23326041 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:16692957938 (xx.x GiB) TX bytes:16624094064 (xx.x GiB) Interrupt:47 Memory:fbfe0000-fc000000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: […]
我有两条DSL线路进入无线接入点,然后运行到RV082网关/网桥。 网关然后运行到一台交换机,它运行到多台PC和一台打印机(见下图)。 通常情况下,我会在网关后面build立无线接入点,但它们也是DSL的调制解调器。 我发现,如果连接到无线networking,则无法打印到networking打印机,但只有在连接到有线networking时才能打印。 如何configuration网关和AP(路由器),使PC和打印机都在同一个内部networking上? 我已经尝试closuresDHCP或在AP上redirect,并将其redirect到网关。 但是,这些都没有工作。 此外,我试图从AP上ping网关,但没有得到任何回应。
有什么办法可以在Windows中创build一个虚拟的networking适配器(它有自己的MAC地址,并且可以把它连接到另一个连接?所以最后它会像另一个连接到它自己的互联网的物理连接)。 我注意到VMware通过创build虚拟适配器并将其桥接到物理适配器来将其虚拟操作系统连接到互联网。 它有自己的mac地址。 我发现了一个叫做“微软Loopback Adapter”的东西,但我不这么认为,是吗? 我想能够桥接它,并有程序绑定到特定的适配器,但它仍然有自己的虚拟MAC地址。 -谢谢 / /交叉从social.technet.microsoft.com/Forums/en/w7itpronetworking/thread/6077c9d6-5562-43be-874f-0f4ebea3a45e(我不是原作者)
我想用一个linux-boxtesting一个networking,它应该得到100个不同的IP地址,每个IP地址都有一个自己的MAC,当与其他设备通信时,它应该被用作源MAC地址。 我已经写了这个: #!/bin/bash for i in `seq 0 10 `; do hex=`perl -e "printf ('%02X', $i)"` echo tap$i / $hex ip link add link eth0 address 00:00:13:37:00:$hex eth0-$i type macvlan done sleep 2 for i in `seq 0 10 `; do echo eth0-$i ip while ! ifconfig eth0-$i &>/dev/null; do sleep 1 done ii=`expr $i […]
我有一个物理接口eth0,我想创build两个虚拟接口,并用eth0桥接它们。 为此我做: #Create the virtual interfaces tunctl -t tap0 tunctl -t tap1 ifconfig tap0 up ifconfig tap1 up #Create the bridge brctl addbr br0 brctl stp br0 off brctl addif br0 eth0 brctl addif br0 tap0 brctl addif br0 tap1 #Turning up the bridge ifconfig br0 up 但是,我的问题是,如果tap的接口总是出现在网桥中禁用,并没有stream量stream向他们。 $brctl show br0 bridge name bridge id […]