[操作疑難] 開機時起唔到DHCP Server

本帖最後由 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

  1. getway 192.168.8.3
複製代碼
https://help.ubuntu.com/community/NetworkConnectionBridge
洗唔洗 set gateway?
gateway point to the same address ?

TOP

NO PAIN NO GAIN,CHING 加油,我自己都要努力做另一D野

TOP

最奇就係等到可以log-in時, 自己log-in 再人手start dhcp就完全正常

TOP

TOP

pchai 發表於 2017-3-1 11:07

答案2至5都試過,結果都係唔得

答案1話"add new task for the upstart"即係做D乜野?
佢講其他D "remove symlinks", "add config file" 我都做左,如果"add new task for the upstart" 即係果兩個步驟的話,呢個答案都係唔得

TOP

係你唔得既時候睇下netns 同iptable先

TOP

最奇就係等到可以log-in時, 自己log-in 再人手start dhcp就完全正常
Ultraman 發表於 2017-3-1 09:56


boot 機唔起因為未註冊服務

systemctl start dhcp ( 係手動起動 )
systemctl enable dhcp ( 設定boot機自己開 )

ps: 唔記得係 dhcp / dhcpd ,你自己試

TOP

boot 機唔起因為未註冊服務

systemctl start dhcp ( 係手動起動 )
systemctl enable dhcp ( 設定boot ...
archy 發表於 2017-3-15 02:00

Bingo
而家OK了, 謝謝

(即係Webmin做漏野!?)

TOP

相關文章