Solved

system default route compared to default routes on each interface in redhat

Posted on 2013-12-31
4
321 Views
Last Modified: 2014-01-01
I have always worked in an environment where we set a system wide default gateway.

  when would you and why would you use gateways per interface ( like you would do if you fully populated the system-config-network-tui interface )

Redhat 5/6
0
Comment
Question by:TIMFOX123
  • 3
4 Comments
 

Author Comment

by:TIMFOX123
ID: 39749292
Also what is the result of setting you dns per interface ?
0
 
LVL 34

Accepted Solution

by:
Duncan Roe earned 500 total points
ID: 39749345
You can only usefully set one default route for 0.0.0.0 (0/0). If you set more than 1, the 1st one will always be used. But if, for instance, you have a network 10 VPN on the non-default interface, you might configure a different gateway for 10.0.0.0 (10/8). The VPN would have its own DNS, so you would configure a DNS in the 10/8 network as well as your regular DNS in network 0/0. Both DNS addresses would appear in /etc/resolv.conf and a gethostbyname() call would try both of them.
0
 

Author Comment

by:TIMFOX123
ID: 39750000
great answer, I am going to keep this open for a little longer to see what else is posted.
0
 

Author Closing Comment

by:TIMFOX123
ID: 39750353
thx
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question