I've got 3 nics in my sme 7.1.3 box. Have set like this
bond0 - 2 gigabit lan
eth0 - gigabit bond0 slave
eth1 - internet
eth2 - gigabit bond0 slave
All appears to be working fine and my lan accesses the server via bond0 however I get this repeating message in the logs;
No subnet declaration for eth0 (0.0.0.0).
Apr 11 21:04:17 sme dhcpd: ** Ignoring requests on eth0. If this is not what
Apr 11 21:04:17 sme dhcpd: you want, please write a subnet declaration
Apr 11 21:04:17 sme dhcpd: in your dhcpd.conf file for the network segment
Apr 11 21:04:17 sme dhcpd: to which interface eth0 is attached. **
Apr 11 21:04:17 sme dhcpd:
Apr 11 21:04:17 sme dhcpd:
Apr 11 21:04:17 sme dhcpd: Not configured to listen on any interfaces!
I have tried editing /etc/rc.d/dhcpd and forcing it to listen on bond 0 with
# Start daemons.
echo -n $"Starting $prog: "
#daemon /usr/sbin/dhcpd ${DHCPDARGS} 2>/dev/null
daemon /usr/sbin/dhcpd bond0 2>/dev/null
But still the error persists. How can I make sure that dhcp only listens on bond0 and get rid of this error? It's driving me nuts.
my ifconfig output is
bond0 Link encap:Ethernet HWaddr 00:0E:0C:D0:63:36
inet addr:10.145.81.1 Bcast:10.145.83.255 Mask:255.255.252.0
UP BROADCAST RUNNING ALLMULTI MASTER MULTICAST MTU:1500 Metric:1
RX packets:218631 errors:0 dropped:0 overruns:0 frame:0
TX packets:142166 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:54739200 (52.2 MiB) TX bytes:74640222 (71.1 MiB)
eth0 Link encap:Ethernet HWaddr 00:0E:0C:D0:63:36
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:187477 errors:0 dropped:0 overruns:0 frame:0
TX packets:139895 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:51564854 (49.1 MiB) TX bytes:72995125 (69.6 MiB)
Base address:0xa000 Memory:f4020000-f4040000
eth1 Link encap:Ethernet HWaddr 00:14:85:8F:BC:D3
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:61818 errors:0 dropped:0 overruns:0 frame:0
TX packets:25212 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:25232592 (24.0 MiB) TX bytes:3020746 (2.8 MiB)
Interrupt:185 Base address:0xe000
eth2 Link encap:Ethernet HWaddr 00:0E:0C:D0:63:36
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:31154 errors:0 dropped:0 overruns:0 frame:0
TX packets:2271 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3174346 (3.0 MiB) TX bytes:1645097 (1.5 MiB)
Base address:0xa400 Memory:f4040000-f4060000
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:20533 errors:0 dropped:0 overruns:0 frame:0
TX packets:20533 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6576598 (6.2 MiB) TX bytes:6576598 (6.2 MiB)