让我说实话。 除了添加用户,更改密码,安装软件包等外,您不知道关于Debian的任何信息。我使用KVM和使用virt-manager的Debian。
我的服务器有这个IP:88.198.52.250。
我有两个IP用于我的两个客人(Windows):
我find了这个简单的指南: http : //blog.elsobrino.org/2008/03/08/howto-setup-a-network-bridge-under-debian/
但是,只要插入bridge0(br0)的数据后重新启动服务器就无法访问。
如果你们能把我指向正确的方向,我会非常高兴。 请,如果您需要更多的信息,请让我知道!
提前致谢!
数据:
的/ etc /networking/接口
# Loopback device: auto lo iface lo inet loopback # device: eth0 auto eth0 iface eth0 inet static address 88.198.52.250 broadcast 88.198.52.255 netmask 255.255.255.224 gateway 88.198.52.225 # default route to access subnet up route add -net 88.198.52.224 netmask 255.255.255.224 gw 88.198.52.225 eth0
brctl显示
空
IP地址列表
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNO WN qlen 1000 link/ether 40:61:86:2b:83:d2 brd ff:ff:ff:ff:ff:ff inet 88.198.52.250/27 brd 88.198.52.255 scope global eth0 inet6 fe80::4261:86ff:fe2b:83d2/64 scope link valid_lft forever preferred_lft forever
ip路由显示
88.198.52.224/27 via 88.198.52.225 dev eth0 88.198.52.224/27 dev eth0 proto kernel scope link src 88.198.52.250 default via 88.198.52.225 dev eth0
这个问题正在这里回答 。
/ etc / internet /接口就这样结束了:
# Loopback device: auto lo iface lo inet loopback # device: eth0 auto eth0 iface eth0 inet manual # device: br0 auto br0 iface br0 inet static address 88.198.xxx.xxx broadcast 88.198.xxx.xxx netmask 255.255.255.224 gateway 88.198.xxx.xxx bridge_ports eth0 # default route to access subnet up route add -net 88.198.xxx.xxx netmask 255.255.255.224 gw 88.198.xxx.xxx br0