Re: [newbie] Routing question

2003-01-05 Thread John McQuillen
On Sun, 2003-01-05 at 00:21, [EMAIL PROTECTED] wrote:
 I have a routing question.
 
  I need to be able to relay information transparently from one network card to
  another.  I have wireless equipment
  that connects to an ethernet card, however it can only communicate with that
  card.  I need to be able to connect
  the wireless radio to one network card in a mandrake box, and a cat 5 cable to
  a nic in the same box.  I need the information to pass transparently from one
  card to the other (prefer with the same ip subnet)
 
  example
 
  these 2 cards installed on the same machine
  eth0   192.168.0.10
  eth1   192.168.0.20
 
  all information that comes in on eth0 is relayed to eth1 and
  all information that comes in on eth1 is relayed to eth0
 
  Any help will be appreciated.  Is this possible?
 
What you need to do is to create a bridge.

First check that your kernel config includes support for bridging:
cat /boot/config|grep -i bridge should return (CONFIG_BRIDGE=m or y )

Next, install the bridge-utils package: urpmi bridge-utils

Then create the bridge using the program brgctl from the bridge-utils
package: 'brctl addbr name' where name can be anything you like.

Then add the two interfaces to the bridge:
'brctl addif name eth0'
'brctl addif name eth1'

The bridge interfaces should have no ip address:
'ifconfig eth0 0.0.0.0'
'ifconfig eth1 0.0.0.0'

You can then assign an ip address to the bridge for management:
'ifconfig name IP Address'

Let me know if this setup works for you. If it does, create a small
script to execute on startup that creates the bridge for you every boot.

Kind regards,

John...


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Routing question

2003-01-05 Thread Todd
John McQuillen wrote:

 On Sun, 2003-01-05 at 00:21, [EMAIL PROTECTED] wrote:
  I have a routing question.
  
   I need to be able to relay information transparently from one network card to
   another.  I have wireless equipment
   that connects to an ethernet card, however it can only communicate with that
   card.  I need to be able to connect
   the wireless radio to one network card in a mandrake box, and a cat 5 cable to
   a nic in the same box.  I need the information to pass transparently from one
   card to the other (prefer with the same ip subnet)
  
   example
  
   these 2 cards installed on the same machine
   eth0   192.168.0.10
   eth1   192.168.0.20
  
   all information that comes in on eth0 is relayed to eth1 and
   all information that comes in on eth1 is relayed to eth0
  
   Any help will be appreciated.  Is this possible?
  
 What you need to do is to create a bridge.

 First check that your kernel config includes support for bridging:
 cat /boot/config|grep -i bridge should return (CONFIG_BRIDGE=m or y )

 Next, install the bridge-utils package: urpmi bridge-utils

 Then create the bridge using the program brgctl from the bridge-utils
 package: 'brctl addbr name' where name can be anything you like.

 Then add the two interfaces to the bridge:
 'brctl addif name eth0'
 'brctl addif name eth1'

 The bridge interfaces should have no ip address:
 'ifconfig eth0 0.0.0.0'
 'ifconfig eth1 0.0.0.0'

 You can then assign an ip address to the bridge for management:
 'ifconfig name IP Address'

 Let me know if this setup works for you. If it does, create a small
 script to execute on startup that creates the bridge for you every boot.

 Kind regards,

 John...

   
 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com

thanks  gonna work on it tonight



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Routing question

2003-01-04 Thread cooker
I have a routing question.

 I need to be able to relay information transparently from one network card to
 another.  I have wireless equipment
 that connects to an ethernet card, however it can only communicate with that
 card.  I need to be able to connect
 the wireless radio to one network card in a mandrake box, and a cat 5 cable to
 a nic in the same box.  I need the information to pass transparently from one
 card to the other (prefer with the same ip subnet)

 example

 these 2 cards installed on the same machine
 eth0   192.168.0.10
 eth1   192.168.0.20

 all information that comes in on eth0 is relayed to eth1 and
 all information that comes in on eth1 is relayed to eth0

 Any help will be appreciated.  Is this possible?

 Thank you in advance for your help

 Todd



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com