本帖最後由 Ultraman 於 2017-2-27 10:47 編輯
試黎試去都係唔得 ,請師兄們指點一下
OS: ubuntu server 16.10
h/w config:
on-board lan: enp7s0
PCIE 4-port lan card: enp4s0f0 enp4s0f1 enp5s0f0 enp5s0f1
s/w config:
isc-dhcp-server.conf
INTERFACES="br0"
dhcpd.conf
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.8.255;
option routers 192.168.8.3;
subnet 192.168.8.0
netmask 255.255.255.0
{
range 192.168.8.100 192.168.8.199;
}
interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# The external network interface
auto enp7s0
iface enp7s0 inet dhcp
# The internal network interfaces
auto br0
iface br0 inet static
address 192.168.8.3
netmask 255.255.255.0
broadcast 192.168.8.255
network 192.168.8.0
getway 192.168.8.3
bridge_ports enp4s0f0 enp4s0f1 enp5s0f0 enp5s0f1
bridge_stp off
bridge_fd 0
bridge_waitport 0 |