I have two network cards. One is being fixed to a cable modem; the other is fixed to an ADSL modem for redundancy. My trouble is: As I have two ISP's I have two DNS values. How do I connect a exact DNS server with a exact card? Many Thanks!
I have two network cards. One is being fixed to a cable modem; the other is fixed to an ADSL modem for redundancy. My trouble is: As I have two ISP's I have two DNS values. How do I connect a exact DNS server with a exact card? Many Thanks!
In System --> Preferences --> Network Connections on wired tab you have the option to organize your network cards. Make use of the Add button to add a new interface, offer a connection name as well as insert the MAC address for the device, also below IPv4 Settings tab you can choose the method to get your IP address (Automatic (DHCP), Manual etc.). Also confirm the Connect automatically option along with optional Available to all users option (on the bottom side).
The ipconfig command in a terminal window will present you details regarding your wired cards (ethx and ethy - x,y numbers) like MAC address, IP address, network,as well as gateway.
With the command sudo dhclinet ethx as well as sudo dhclient ethy you can get the IP address from your modem. You can also add the name servers in /etc/resolv.conf file. Just edit it with a text editor as root (to be competent to save the change).
Good luck.
Bookmarks