Sponsored Content
Operating Systems Linux Issue with ethernet interface Post 302889454 by Perderabo on Thursday 20th of February 2014 04:58:00 PM
Old 02-20-2014
We have a terminology problem here. There must be (in general) one gateway per interface. However, there should only be a single default gateway. If there is only one interface and therefore only one gateway it will be the default gateway. If you have several interfaces with several gateways, you must anoint one as the default gateway by putting it in /etc/sysconfig/network. Meanwhile every interface must have its own gateway defined in the interface script.

cerco, suppose that you got your system to work with a single gateway. And assume that from some distant IP address I ping your box on the IP address on eth2. How do you respond? You can't send a packet out eth2, it doesn't know how to reach me (no gateway). Do you send the packet out eth0 to the only gateway you know? What to use for the source IP address? Do I ping one IP address and get and response from a different IP?

**edit**
I have some more time after all... my meeting just got canceled Smilie

So if you try to reach some distant IP address, with your setup, the default gateway will tell you which interface to use. But if you have decided to use the second interface, you need some gateway for it. If there are just a few hosts that you talk to on the second interface and they are all on the same subnet as your interface you should be ok with no gateway. But that does not seem like what you have.

If the system is using dynamic routing which means that gated is running you can dynamically switch default gateways. This allows the router (which is what your system would be at this point) to adapt to network outages and exploit redunant routes.

Last edited by Perderabo; 02-20-2014 at 06:21 PM..
 

10 More Discussions You Might Find Interesting

1. Programming

determine if a ethernet interface is up

Howto check if a ethernet interface is up? It's impossible to determine via the ipaddress i have learned, or? Can someone please give me a hint on howto do? Environment == Linux x86 GNU GCC. :D regards Esaia (2 Replies)
Discussion started by: Esaia
2 Replies

2. SCO

Issue with a ethernet card

Installed a replacement 3com pci card on an ibm PC 300 GL, running OpenServer 6.0 , brought up system, and recieved this message: Fsstat:/dev/boot mounted Mounted /stand filesystem System auditing is not enabled. Dlpid:Unable to open network adapter driver (/dev/mdi/r8e0) Dlpid:No such... (0 Replies)
Discussion started by: tazmss1
0 Replies

3. Solaris

Network Interface Issue

Hi all, Here im facing problem with NIC Interface with my X86 Version of Solaris Express, even after loading module for that Interface. So please check this below mentioned log for your use and get back to me ASAP. - - - -- --... (0 Replies)
Discussion started by: baraghun
0 Replies

4. Solaris

Ethernet card drivers issue...

I need to install ethernet card drivers on intel machine. How can i know which Ethernet card interface (sfe,rh,rtls...) is it? How can i know the speed of that card? How can i know network traffic ? If network traffic is more with that interface what should i do? Thanks in advance (2 Replies)
Discussion started by: younus_syed
2 Replies

5. Solaris

Network interface issue

Hi All, I want to configure network into my system. i tried following in to configure the interface to find the name of interface #prtdiag |grep net i got following 0 PCI-1 33 1 network-SUNW, hme then i tried following #prtconf -v |grep net network, instance #0 (6 Replies)
Discussion started by: kumarmani
6 Replies

6. Solaris

Sun Solaris ethernet interface

Hi, During the installation of solaris suppose I am configuring one ethernet interface that is primary but on my server there are 4 ethernet interfaces,because all other interface not configured, what is way to find out how many ethernet interfaces are there on Server, (6 Replies)
Discussion started by: manoj.solaris
6 Replies

7. IP Networking

Need a bridge from an ethernet interface to a serial interface

This is my situation DOS pc serial cable (sl0) Linux Pc eth1 192.168.0.10 <-------------------->192.168.0.2 <------------>192.168.0.1 (router) I connected the linux pc and the dos pc with a SLIP (serial line internet protocol), so they can communicate in the sl0 interface. ... (3 Replies)
Discussion started by: mghis
3 Replies

8. AIX

interface collisions on ethernet nic

Hi, is there any method to check the interface collisions on ethernet NIC in AIX. I know that in Solaris it's netstat -i but I've written that in AIX it doesn't show this. Thanks&regards, p (1 Reply)
Discussion started by: pitmod
1 Replies

9. IP Networking

Channel bonding Issue - Bond0 interface not getting up in on RHEL6

Hello, I am trying to set up Channel Bonding on a RHEL6 Virtual Box VM. I have 2 ethernet cards on the machine which are set up in Internal Network mode. I followed all the steps exactly as mentioned in the RHEL6 deployment Guide, but for some reason i think results are not correct. Here are my... (13 Replies)
Discussion started by: Rohit Bhanot
13 Replies

10. UNIX for Advanced & Expert Users

C program to detect duplicate ip address if any after assigning ip address to ethernet interface

Hi , Could someone let me know how to detect duplicate ip address after assigning ip address to ethernet interface using c program (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies
ripquery(1M)															      ripquery(1M)

NAME
ripquery - query RIP gateways SYNOPSIS
authkey] dest[time] gateway ... DESCRIPTION
is used to request all routes known by a RIP gateway by sending a RIP request or POLL command. The routing information in any routing pack- ets returned is displayed numerically and symbolically. is intended to be used as a tool for debugging gateways, not for network manage- ment. SNMP is the preferred protocol for network management. by default uses the RIP POLL command, which is an undocumented extension to the RIP specification supported by on SunOS 3.x and later and by 1.4 and later. The RIP POLL command is preferred over the RIP REQUEST command because it is not subject to Split Horizon and/or Poi- soned Reverse. See the RIP RFC for more information. Options Send the query as a version 1 packet. Send the query as a version 2 packet (default). Specifies the authentication password to use for queries. If specified, an authentication type of SIMPLE will be used, if is specified, an authentication type of MD5 will be used; oth- erwise the default is an authentication type of NONE. Authentication fields in incoming packets will be displayed, but not validated. Prevents the address of the responding host from being looked up to determine the symbolic name. Specifies that the query should be for the specified instead of complete routing table. The specification of the optional mask implies a version 2 query. Up to 23 requests about specific destinations may be include in one packet. Uses the RIP POLL command to request information from the routing table. This is the default, but is an undocumented extension supported only by some versions of unOS 3.x and later versions of If there is no response to the RIP POLL command, the RIP REQUEST command is tried. responds to a POLL command with all the routes learned via RIP. Used the RIP REQUEST command to request information from the gateway's routing table. Unlike the RIP POLL command, all gateways should support the RIP REQUEST. If there is no response to the RIP REQUEST command, the RIP POLL command is tried. responds to a REQUEST command with all the routes he announces out the specified interface. Due to limitations in the UDP interface, on systems based on BSD 4.3 Reno or earlier, REQUESTs respond about the interface used to route packets back to the sender. This can be avoided by running on the host being queried. Version information about is displayed before querying the gateways. Specifies the time in seconds to wait for the initial response from a gateway. The default value is 5 seconds. AUTHORS
Jeffrey C Honig. SEE ALSO
gated(1M), gdc(1M), ospf_monitor(1M), BUGS
Some versions of Unix do not allow looking up the symbolic name of a subnet. ripquery(1M)
All times are GMT -4. The time now is 08:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy