作者: Ultraman 時間: 2017-2-26 17:23 標題: 開機時起唔到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
作者: cal22cal 時間: 2017-2-27 14:00
- getway 192.168.8.3
洗唔洗 set gateway?
gateway point to the same address ?
作者: chue 時間: 2017-3-1 02:20
NO PAIN NO GAIN,CHING 加油,我自己都要努力做另一D野
作者: Ultraman 時間: 2017-3-1 09:56
最奇就係等到可以log-in時, 自己log-in 再人手start dhcp就完全正常
作者: pchai 時間: 2017-3-1 11:07
http://askubuntu.com/questions/5 ... wrong-startup-order
作者: Ultraman 時間: 2017-3-4 00:59
答案2至5都試過,結果都係唔得
答案1話"add new task for the upstart"即係做D乜野?
佢講其他D "remove symlinks", "add config file" 我都做左,如果"add new task for the upstart" 即係果兩個步驟的話,呢個答案都係唔得
作者: gakko 時間: 2017-3-15 01:54
係你唔得既時候睇下netns 同iptable先
作者: archy 時間: 2017-3-15 02:00
boot 機唔起因為未註冊服務
systemctl start dhcp ( 係手動起動 )
systemctl enable dhcp ( 設定boot機自己開 )
ps: 唔記得係 dhcp / dhcpd ,你自己試
作者: Ultraman 時間: 2017-4-5 16:48
boot 機唔起因為未註冊服務
systemctl start dhcp ( 係手動起動 )
systemctl enable dhcp ( 設定boot ...
archy 發表於 2017-3-15 02:00
Bingo
而家OK了, 謝謝
(即係Webmin做漏野!?)

