Answer the question
In order to leave comments, you need to log in
How to get DHCP settings from two different providers in Debian 6?
Good afternoon.
There is a router on Debian for a small organization.
There are two providers. They give settings on DHCP.
I would like to configure /etc/network/interfaces in such a way that changing the laces from different providers the Internet will automatically rise. Now for this you need to restart the server.
During the setup, I came to the conclusion that the whole thing is in dhclient.
Set up the interface like this:
auto eth1
allow-hotplug eth1
iface eth1 inet dhcp
hwaddress ether 00:22:64:54:6B:66
down "/usr/bin/killall dhclient"
up "/sbin/dhclient eth1"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question