Page 1 of 1
poweredge 1650
Posted: Tue Jun 01, 2010 7:01 pm
by admsjas
i'd like to setup the dell with amahi to serve all computers behind it & possibly as a public facing server if possible. attached is a diagram of my network setup. can anyone tell me how to setup the dhcp server so eth1 is listening for dhcp requests & eth0 will get its ip address from the rg?
Re: poweredge 1650
Posted: Tue Jun 01, 2010 11:07 pm
by moredruid
hmmm not sure but I don't think the dhcpd is bound to a specific interface, so it might just work (tm).
I can't find anything specific to NICs in the dhcpd config. I'd say test it (either in a VM or in real life) to be sure.
hmm
this is an old RedHat doc but still valid I think, it says it'll listen on all interfaces by default.
Re: poweredge 1650
Posted: Wed Jun 02, 2010 5:29 am
by admsjas
no, dhcp is not working, i followed the instructions on the page to have dhcp listen on eth1 but to no avail. is fedora a requirement or can centos be used. i had centos running before i tried this
Re: poweredge 1650
Posted: Thu Jun 03, 2010 12:14 am
by moredruid
http://docs.fedoraproject.org/en-US/Fed ... erver.html explains this very well
basically:
add the following to /etc/sysconfig/dhcpd
Re: poweredge 1650
Posted: Sat Jun 05, 2010 1:34 pm
by admsjas
that didn't work, im pasting a copy of my results from ifconfig & route -v commands
[admsjas@adamscentral ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0F:1F:9D:68:2C
inet addr:192.168.1.64 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20f:1fff:fe9d:682c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3062 errors:0 dropped:0 overruns:0 frame:0
TX packets:2574 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3041331 (2.9 MiB) TX bytes:242458 (236.7 KiB)
eth1 Link encap:Ethernet HWaddr 00:0F:1F:9D:68:2D
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20f:1fff:fe9d:682d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:111 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8916 (8.7 KiB) TX bytes:12688 (12.3 KiB)
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:16436 Metric:1
RX packets:3959 errors:0 dropped:0 overruns:0 frame:0
TX packets:3959 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1137177 (1.0 MiB) TX bytes:1137177 (1.0 MiB)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.8.0.1 P-t-P:10.8.0.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[admsjas@adamscentral ~]$ route -v
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.8.0.2 * 255.255.255.255 UH 0 0 0 tun0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 1002 0 0 eth0
link-local * 255.255.0.0 U 1003 0 0 eth1
default h254.adamscentr 0.0.0.0 UG 0 0 0 eth0
[admsjas@adamscentral ~]$
i hope this helps someone, atm im not sure what to do but abandon this whole idea & go back to windows as much as i hate it at least it works
Re: poweredge 1650
Posted: Sun Jun 06, 2010 12:50 pm
by moredruid
you've configured your network cards in different subnets. dhcpd is only configured to serve 1 subnet.
change the IP configuration for your eth1 in the same subnet as your eth0.