Linux Nmap不显示DHCP服务器,没有错误
我最近试着进入Ubuntu的东西(最新版本),但我有一个DHCP服务器的问题。根据我的学生用书,我配置了文件Linux Nmap不显示DHCP服务器,没有错误,linux,ubuntu,dhcp,Linux,Ubuntu,Dhcp,我最近试着进入Ubuntu的东西(最新版本),但我有一个DHCP服务器的问题。根据我的学生用书,我配置了文件/etc/network/interfaces和/etc/dhcp/dhcpd.conf,但似乎不起作用。Nmap根本不显示我的DHCP,所以我假设它根本没有打开,但仍然-当我使用以下设置启动/重新启动deamons和服务时,绝对没有错误: 接口文件: auto lo iface lo inet loopback auto eth1 iface eth1 inet static addr
/etc/network/interfaces
和/etc/dhcp/dhcpd.conf
,但似乎不起作用。Nmap根本不显示我的DHCP,所以我假设它根本没有打开,但仍然-当我使用以下设置启动/重新启动deamons和服务时,绝对没有错误:
接口
文件:
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet static
address 192.168.0.110
gateway 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option domain-search "example.com";
option domain-name-servers 192.168.0.100;
option time-offset -18000; # Eastern Standard Time
range 192.168.0.150 192.168.0.160;
}
dhcpd.conf
文件:
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet static
address 192.168.0.110
gateway 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option domain-search "example.com";
option domain-name-servers 192.168.0.100;
option time-offset -18000; # Eastern Standard Time
range 192.168.0.150 192.168.0.160;
}
Ifconfig:
eth1 Link encap:Ethernet HWaddr e0:3f:49:7f:f6:20
inet addr:192.168.0.110 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::e23f:49ff:fe7f:f620/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1046758 errors:0 dropped:0 overruns:0 frame:0
TX packets:647564 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1381761035 (1.3 GB) TX bytes:88156037 (88.1 MB)
Interrupt:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:45940 errors:0 dropped:0 overruns:0 frame:0
TX packets:45940 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3127593 (3.1 MB) TX bytes:3127593 (3.1 MB)
请让我知道有什么问题 这个网站是为编程问题。我们不是通用软件/操作系统/网络技术支持。对不起。我只是看到了一些linux问题的答案,并认为这将是好的。我想这个网站会更适合你:,但你准备你的问题很好!只需按原样将其放在那里(可能在此处删除)