作者:荒唐中带着正经_638 | 来源:互联网 | 2014-05-27 21:08
cat/etc/network/interfaces#Thisfiledescribesthenetworkinterfacesavailableonyoursystem#andhowtoactivatethem.Formoreinformation,seeinterfaces(5).#Theloopbacknetwo
cat /etc/network/interfaces
# This file describes the network interfaces available on your
system
# and how to activate them. For more information, see
interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#allow-hotplug eth0
#iface eth0 inet dhcp
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.254
bridge_ports eth0
能正常启动
关于网桥,在 Linux基金会的网站上有个详细的说明
http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge