Edit the file
1 |
/etc/dhcp/dhclient.conf |
Look for the line that says
1 |
#prepend domain-name-servers 127.0.0.1; |
Remove the # character and add your nameservers there.
Edit the file
1 |
/etc/dhcp/dhclient.conf |
Look for the line that says
1 |
#prepend domain-name-servers 127.0.0.1; |
Remove the # character and add your nameservers there.
Not Permanent
1 |
echo 1 > /proc/sys/net/ipv4/ip_forward |
or
Permanent
1 2 3 4 |
Uncomment net.ipv4.ip_forward=1 /etc/sysctl.conf # Uncomment the next line to enable packet forwarding for IPv4 net.ipv4.ip_forward=1 |