How do i set up 2 ethernet cards?

How do i set up 2 ethernet cards?

Post by frogbo » Mon, 17 Apr 2000 04:00:00



I bought 2 lilnksys fasteithernet cards 10/100 and i can only get 1 to
work by itself, not both. when i installed both cards the kernel
recodnized them and i was able to configure them, but they would not
pass traffic. one by itself worked great.
is there any doccumentation avalible on this issue?

thanks
-frogboy

please remove nospam

 
 
 

How do i set up 2 ethernet cards?

Post by Allan Sadd » Mon, 17 Apr 2000 04:00:00



> I bought 2 lilnksys fasteithernet cards 10/100 and i can only get 1 to
> work by itself, not both. when i installed both cards the kernel
> recodnized them and i was able to configure them, but they would not
> pass traffic. one by itself worked great.

I'm not too clear on what the problem is, but since you say both cards
are recognized and they both work individually, I'm guessing you want to
route packets from one interface to the other.

You need to enable packet forwarding. To do this, issue:

  sysctl -w net.inet.ip.forwarding=1

But packet forwarding will only be enabled until you reboot. To enable
packet forwarding all the time:

  1. Edit /etc/rc.conf
  2. Add the line:

       gateway_enable="YES"

Quote:> is there any doccumentation avalible on this issue?

This is basically what I mentioned:
  http://www.freebsd.org/FAQ/networking.html#AEN2678

This has a little blurb about dual-homed hosts:
  http://www.freebsd.org/handbook/routing.html

HTH.

--
Allan Saddi                         "The Earth is the cradle of mankind,

http://www.philosophysw.com/asaddi/  forever." - K.E. Tsiolkovsky

 
 
 

How do i set up 2 ethernet cards?

Post by David Malo » Mon, 17 Apr 2000 04:00:00



>I bought 2 lilnksys fasteithernet cards 10/100 and i can only get 1 to
>work by itself, not both. when i installed both cards the kernel
>recodnized them and i was able to configure them, but they would not
>pass traffic. one by itself worked great.
>is there any doccumentation avalible on this issue?

Do you mean that traffic was not routed between interfaces, or that
the second interface didn't work? If you want to act as a gateway/router
then you probably want to add:

        gateway_enable="YES"

to /etc/rc.conf.

        David.

 
 
 

1. how to set up Internet gateway/how to set up two ethernet cards on Linux

I need to set up one of my two Linux boxes as an Internet gateway for my
two-machine LAN.  First off, I have both machines each using an Ethernet
card for NFS.  Now, how can I put in another card in each to run a TCP/IP
network between both machines and then the Internet (which must have
another Ethenet card in it to connect to the Internet *breathe*) - I mean
Linux can only handle one Ethernet card!   To top it off, the router
handling Internet traffic is connected via a SCSI controller!!
(Morningstar SnapLink routers).

I really need a Ethernet-pro out there to contact me!! I am in a real
mess here!!!

- Thanks!

--
[ Atul Varma               |    Sysop, StarBase Mintaka BBS (614)442-7779 ]

[ Columbus, Ohio, U.S.A.   |    Raytraces, Fractals, and graphics demos   ]
[ MACINTOSH SUCKS!!        |    500 MB online, 300-14.4k BPS, SHS BBS 3.2 ]

2. checking online state of ippp0 with a C-program

3. Shape Ups,Men's Shape Ups,Men's Skechers Shape Ups - new styles!

4. ps on sparc20 SunOS 4.1.3_U1 problem [help]

5. OT: Are Cardbus Fast Ethernet cards REALLY FASTER than PCMCIA Fast Ethernet cards

6. HP-UX and init(1M)

7. 3COM ethernet card and NE2000 ethernet card

8. Linux consultation

9. Ethernet Card Drivers for AIXwindows for DOS

10. Using an ethernet card under dos services

11. Ethernet card: CNET OEM E2000Cplus (Linux no, DOS,NT yes)

12. How to make pcmcia ethernet card that works with Linux work with dos? . .

13. Doing net install with 2 ethernet cards in place?