/etc/network/interfaces broadcast problem
I'm using Debian to run a dhcpd server and it's not showing the correct information. This is what the interfaces file looks like:
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian installation
auto eth0
iface eth0 inet static
address 192.168.10.27
gateway 192.168.10.4
netmask 255.255.0.0
But when I do a ifconfig I get the following:
eth0 Link encap:Ethernet HWaddr 00:01:02:CA:F1:15
inet addr:192.168.10.27 Bcast:192.168.10.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:122619 errors:0 dropped:0 overruns:0 frame:0
TX packets:4985 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:11596387 (11.0 MiB) TX bytes:958794 (936.3 KiB)
Interrupt:9 Base address:0xdc00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:17 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1268 (1.2 KiB) TX bytes:1268 (1.2 KiB)
Notice on the second line that the Bcst:192.168.10.255 is not right. I thought it should be 192.168.255.255? Thanks.
|