Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: tariqf on April 11, 2007, 10:13:17 PM
-
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)
-
Moving this topic to the SME Server 7.x forum, it is more appropriate there. Thanks!
-
I've got 3 nics in my sme 7.1.3 box.
FYI - SME Server 7.x doesn't support 3 network cards.
-
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;
How often are they repeating. It is just saying that eth0 is not listening to anything (which is correct)?
How have you defined your interfaces in the console (ie. eth1=external, bond0=internal)? If you have eth0 defined as internal, smeserver WILL be expecting it to be 'connected'.
You may want to give some more information about your non-standard setup so that we can help..... :-)
-
Hi thanks for you reply's I came in this morning and restarted dhcpd to find the errors have gone and dhcpd is working perfect on bond0 now with my change above.
Adding this to my growing list of sme7 howto's which I'm putting online very soon at www.yourproblemsolved.com
Thanks
-
Hi thanks for you reply's I came in this morning and restarted dhcpd to find the errors have gone and dhcpd is working perfect on bond0 now with my change above.
Adding this to my growing list of sme7 howto's which I'm putting online very soon at www.yourproblemsolved.com
Thanks
Bro, how you setup the bond in SME7. May I have the howto's?
-
Bro, how you setup the bond in SME7. May I have the howto's?
I subscribe this.. Tariqf, could you please create an howto in the wiki?
thank you in advance
-
Adding this to my growing list of sme7 howto's which I'm putting online very soon at www.yourproblemsolved.com
Please ensure that your HOWTOs have a suitable license, so that they may be copied elsewhere. Otherwise they will be lost to the community if/when www.yourproblemsolved.com disappears or changes content.
Or better yet, put them in the wiki, where they may be improved or kept up to date by others.
-
Moving this topic to the SME Server 7.x forum, it is more appropriate there. Thanks!
Probably not, since this involves significant modifications of the standard install.
-
# 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.
That's not the appropriate way to start dhcpd in SME server. dhcpd is supervised in SME server. Search here if you are unfamiliar with 'supervised' and 'runit'.
-
Probably not, since this involves significant modifications of the standard install.
Quite right.
Moving this topic to the SME Contribs 7.x forum, it is more appropriate there. Thanks!