Quantcast
Channel: iT邦幫忙
Viewing all articles
Browse latest Browse all 15645

Linux dhcpd.conf設定問題

$
0
0
請問Linux dhcpd.conf內可以設定同一個MAC在不同網段同時存在嗎?
因為USER會拿NB到不同網段連無線網路需要配發到固定IP可以對外,
而像這樣編寫後我發現我重啟服務會無法啟動,拿掉後就又正常了!!
因此想詢問一下有無解法?如何實做?

subnet 192.168.123.0 netmask 255.255.255.0 {
host MIKE-LIN-L {
hardware ethernet AA:BB:CC:DD:EE:FF;
fixed-address 192.168.123.151;
}
option broadcast-address 192.168.123.255;
option subnet-mask 255.255.255.0;
option routers 192.168.123.254;
range 192.168.123.100 192.168.123.150;
}
subnet 192.168.124.0 netmask 255.255.255.0 {
host MIKE-LIN-L {
hardware ethernet AA:BB:CC:DD:EE:FF;
fixed-address 192.168.124.151;
}
option broadcast-address 192.168.124.255;
option subnet-mask 255.255.255.0;
option routers 192.168.124.254;
range 192.168.124.100 192.168.124.150;
}

Viewing all articles
Browse latest Browse all 15645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>