This is a discussion on Two Network cards within the Linux Networking forums, part of the Linux Forums category; On Mar 22, 4:45 am, Geoff Lane <datemasde....@gishpuppy.com> wrote: > If one has two network ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Mar 22, 4:45 am, Geoff Lane <datemasde....@gishpuppy.com> wrote:
> If one has two network cards connected to a computer (eg one ethernet > and one wifi) and both are connected to the internet is there a priority > for outgoing traffic or can this cause problems. This will cause problems. If the two cards are both connected to the same network and you are not bridging, you have an illegal configuration -- you cannot route between two interfaces on the same network. If the two cards are connected to different networks, you may send a response packet to a gateway that considers the source address to be possibly spoofed and drops the packet. Outbound connections will likely work, as the operating system can choose the source address and will typically choose the address assigned to the interface it transmits the packets on. Inbound connections will be hit or miss. DS |
|
|||
|
Geoff Lane wrote:
> If one has two network cards connected to a computer (eg one ethernet > and one wifi) and both are connected to the internet is there a priority > for outgoing traffic or can this cause problems. > > Geoff Lane > Followup-To: comp.os.linux.networking Just as long as you make sure you have only 1 default route, everything will be fine. Though having two nics in the same net is generally not advised. (Think about broadcasts and stuff like that). Is one adapter used as a failover for the other? If so, you might want to try setting up a failover setup that activates the other adapter upon failure of the first one. -R- |
|
|||
|
Jurgen Haan wrote:
> Is one adapter used as a failover for the other? If so, you might want > to try setting up a failover setup that activates the other adapter upon > failure of the first one. How does one do this? -- Timothy Murphy e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland |
|
|||
|
Timothy Murphy wrote:
> Jurgen Haan wrote: > >> Is one adapter used as a failover for the other? If so, you might want >> to try setting up a failover setup that activates the other adapter upon >> failure of the first one. > > How does one do this? > Uhm.. I would do it with custom scripting or something like that. Perhaps a heartbeat package or something. Generally used for loadbalancer failover. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|