DHCPDISCOVER & no DHCPOFFER received - how can I turn this off?
Hi this question is in regards to a Ubuntu server I am running.
This server is command line only, there is no GUI and no control panels, etc. The server has 2 interfaces, eth1 which is connected to a 192.168.1.0 network and eth0 which is used to connect to a ADSL modem as ppp0. All Internet connections on the LAN go throught the server from eth1 to ppp0. Everything works fine except for this message in my syslog: Code:
May 16 09:58:46 proxy dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 ifconfig: Code:
eth0 Link encap:Ethernet HWaddr 00:10:18:24:C9:4B |
Please post your /etc/network/interfaces file.
|
/etc/network/interfaces:
Code:
auto lo eth1 |
Thank you.
Quote:
... and your modem does not seem to be running a dhcp server because in your syslog it says "No DHCPOFFERS received." Somehow your eth0 is getting an IPV6 address: inet6 addr: fe80::210:18ff:fe24:c94b/64 Scope:Link Maybe that is set up with the ppp0 business ? Can you be more exact about your setup / can someone else help? |
lol
I'm confusing you because I myself am confused. What I mean is my eth0 is PHYSICALLY connected to an ADSL modem. When I type "pon" it connects to my DSL connection and a new interface ppp0 is created. My DSL provider assigns me a IP address for my connection from its DHCP server. I do not know what this means for my eth0 interface, but it seems to be polling the 192.168.1.0 network for an address, I don't know why, it has already got one from the Internet Provider. Also, the interface eth1 provides DHCP addresses for all the computers on my network EXCEPT eth0, I don't know why it does this either. So either eth0 needs a DHCP address from eth1, and isn't getting it, or it doesn't need one and is making a lot of noise for nothing. Either way, I need to get rid of this message. I don't know about the ipv6 address. It's always been like that. |
Quote:
Quote:
/etc/network/interfaces has no work to do for eth0 (because pon has already done the work), but it is currently trying to get an address with dhcp, which it doesn't need, and cannot be provided anyway because your modem isn't running a dhcp server. Your options: 1] Ignore the error messages - they are harmless 2] Try commenting out the references to eth0 in your interfaces file (I think this will work for you) Background: Your ISP is giving your modem an internet IP address. You are connecting to your modem with ppp. There is some IP masquerading / forwarding going on that allows your intranet LAN (192.168.1.*) to access the internet. It is working. The last time I used ppp was when I has a USB DSL modem. It was a complete PITA, and I got myself a proper ADSL ethernet modem / router / switch / firewall (search through my previous posts for details). It saved me a load of configuration troubles. I like to know what is going on with my networking configuration, and I mistrust the GUI ("idiot-proof") tools. So I have everything set up manually, and it is stable and functions well. Hope this helps |
All times are GMT -5. The time now is 01:07 AM. |