dhcp is used even if the NIC is set to static ip address in /etc/network/interfaces
I have a linux gateway running Ubuntu 9.10. There's 2 NIC. The WAN interface, eth0, is configured using DHCP (cable modem). The LAN interface, eth1, is configured with a static IP address:
# Interface WAN
auto eth0
iface eth0 inet dhcp
# Interface LAN
auto eth1
iface eth1 inet static
address 10.0.0.1
netmask 255.255.255.0
The server is running a DHCP server for the LAN but dhclient always try to configure eth1 with the DHCP server that is running on the server:
Nov 15 11:55:32 yoda dhclient: DHCPREQUEST of 10.0.0.21 on eth1 to 10.0.0.1 port 67
Nov 15 11:55:49 yoda dhclient: DHCPREQUEST of 10.0.0.21 on eth1 to 10.0.0.1 port 67
Nov 15 11:56:08 yoda dhclient: DHCPREQUEST of 10.0.0.21 on eth1 to 10.0.0.1 port 67
Nov 15 11:56:19 yoda dhclient: DHCPREQUEST of 10.0.0.21 on eth1 to 10.0.0.1 port 67
Nov 15 11:56:31 yoda dhclient: DHCPREQUEST of 10.0.0.21 on eth1 to 10.0.0.1 port 67
Nov 15 11:56:40 yoda dhclient: DHCPREQUEST of 10.0.0.21 on eth1 to 10.0.0.1 port 67
Nov 15 11:56:48 yoda dhclient: DHCPREQUEST of 10.0.0.21 on eth1 to 10.0.0.1 port 67
This problem appeared after I installed karmic. It was running jaunty but I had to reinstall it.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask xmaximex for more information if necessary.