Two Network cards

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 ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 03-25-2008
David Schwartz
 
Posts: n/a
Default Re: Two Network cards

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
Reply With Quote
  #12 (permalink)  
Old 03-26-2008
Jurgen Haan
 
Posts: n/a
Default Re: Two Network cards

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-
Reply With Quote
  #13 (permalink)  
Old 03-26-2008
Timothy Murphy
 
Posts: n/a
Default Re: Two Network cards

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
Reply With Quote
  #14 (permalink)  
Old 03-28-2008
Jurgen Haan
 
Posts: n/a
Default Re: Two Network cards

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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:22 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0