Code: Select all
isc-dhcp-serverCode: Select all
/etc/dhcp/dhcpd.confCode: Select all
isc-dhcp-serverCode: Select all
/etc/dhcp/dhcpd.confhormel09 wrote: I think I need to turn off the DHCP service in my modem/router,
Never mind, Dougie. Keep taking the tablets.DougieLawson wrote:Disable the server on your router.
My turn to be possibly idiotic. I would expect one address for the upstream (cable) interface, another for wired ethernet, and a third for wireless (more if it's multi-band). Others (including Dougie, when he is concentrating) will know better than I. You will have to use the correct MAC for the interface you are connecting to.hormel09 wrote:Static IP addresses are assigned inwith a MAC address. My router/modem seems to have two MAC addresses. One is a cable modem MAC address and the other is wireless interface MAC address. Any idea which I should use? Does it sound like I'm on the right track?Code: Select all
/etc/dhcp/dhcpd.conf
I think the OP (not me) knows that. Hence my too unsubtle dig at Dougie.asandford wrote:You'll need to disable the router's DHCP: how you acheive that depends on the make/model, which you haven't told us.
Althought the OP may know that they have to do it, they may not know *how to* (in which case giving us make & model will help).davidcoton wrote:I think the OP (not me) knows that. Hence my too unsubtle dig at Dougie.asandford wrote:You'll need to disable the router's DHCP: how you acheive that depends on the make/model, which you haven't told us.
In case anyone thinks otherwise, I respect and value Dougie's contributions here. I'm sure my posts have a higher rate of missing the point than his.
If I had any doubt about how to do it before, I don't now! I wound up breaking my network after turning its DHCP service off and the PI's DHCP service couldn't get my clients to connect to the internet. I had to hard reset my modem/router to get everything working again.asandford wrote: Althought the OP may know that they have to do it, they may not know *how to* (in which case giving us make & model will help).
(I'm not going to comment on any of the rest of your post)
Code: Select all
arp -aCode: Select all
option domain-name "mydebian";
# option definitions common to all supported networks...
option domain-name "mydebian";
option domain-name-servers 122.197.254.7, 122.197.254.10;
# Set up our desired subnet:
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.101 192.168.1.254;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.100;
option domain-name-servers home;
}
#assigned addresses
host router {
hardware ethernet e8:6d:52:69:de:be;
fixed-address 192.168.1.100;
}
default-lease-time 600;
max-lease-time 7200;
#only DHCP server in this network:
authoritative;Code: Select all
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.99
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.100
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
allow-hotplug wlan1Code: Select all
# Generated by resolvconf
nameserver 122.197.254.7
nameserver 122.197.254.10