2
I am trying to configure an interface to allow internet connection on a home server which runs Debian 6 x86.
The server is behind a router which has DHCP enabled. The router IP is 192.168.1.1
with netmask 255.255.255.0
.
I have so far tried configuring the connection via /etc/network/interfaces
using the official Debian docs.
My current /etc/network/interfaces
configuration looks like this:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
Once I saved this configuration, I ran /etc/init.d/networking restart
, however, it seems like dhclient
is unable to connect. The output given is:
DHCPRELEASE on eth0 to 192.168.1.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
The output of route -n
is empty. (not sure if that is relevant)
I also tried troubleshooting the connection by ensuring that the cable is connected to the server, as well as that the router isn't malfunctioning (no issues with the other devices connected to it). Any help would be greatly appreciated.
Assuming a completely bone-stock Debian 6 install with no firewall apps configured or IPTables rule changes, your router is probably busted or your cable is bad. – Magellan – 2014-11-22T15:44:11.050
@Magellan, the install isn't new, but I don't have firewall packages or any iptables rules. Regarding the hardware, I've tested both the cable and the router - they seem to work with other devices. All I remember is changing the router address from 10.0.0.0 to 192.168.0.0, but I don't think this could be the issue as other devices worked fine after that. – arnaudoff – 2014-11-22T16:19:39.437