DHCP response dari server akan assign default gw.
Bagaimana nak elakkan OS dari gunakan gw ini.
File: /etc/dhcp3/dhclient.conf
interface "eth1" {
Bagaimana nak elakkan OS dari gunakan gw ini.
File: /etc/dhcp3/dhclient.conf
interface "eth1" {
request subnet-mask, broadcast-address, time-offset, interface-mtu;
}
ref: https://lists.isc.org/pipermail/dhcp-users/2011-April/013451.html
Better Solution
1) sudo aptitude install ifmetric
2) file: /etc/network/interfaces
allow-hotplug eth0
ref: https://lists.isc.org/pipermail/dhcp-users/2011-April/013451.html
Better Solution
1) sudo aptitude install ifmetric
2) file: /etc/network/interfaces
allow-hotplug eth0
iface eth0 inet dhcp
metric 1
allow-hotplug eth1
No comments:
Post a Comment
Terima kasih