Jump to content

Wlan and Ethernet cards in the same machine


josk
 Share

Recommended Posts

My question is how to bridge two network cards in Mandriva?

 

Like this way:

 

 

MANDRIVA ---- WLAN CARD--->| . . . . . | WLAN ACCESS POINT--->260Gb Network drive

L I N U X ---- ETHERNET CARD---->ADSL---->INTERNET

 

So my computer would use ethernet card for internet connection and wlan card for to get access to the wlan access point which is connected to the 260Gb network drive that contains all my photos, music etc...

 

I only found solution to the winblows but not to the Mandriva linux :(

windows solution: http://www.homenethelp.com/web/howto/windo...ridge-setup.asp

Edited by josk
Link to comment
Share on other sites

I don't know the details, but basically, your two network interfaces are on different networks.

Let's assume your PC with the big disk is 10.0.0.10, and the AP is 192.168.1.1, then you should

- add a net route to 10.X.X.X using wlan0,

- add a net route to 192.168.1.X using eth0,

- add a default route (internet) to gateway 192.168.1.1.

 

I know it is not very detailed. I hope it helps nonetheless...

 

Yves.

Link to comment
Share on other sites

I don't know the details, but basically, your two network interfaces are on different networks.

Let's assume your PC with the big disk is 10.0.0.10, and the AP is 192.168.1.1, then you should

- add a net route to 10.X.X.X using wlan0,

- add a net route to 192.168.1.X using eth0,

- add a default route (internet) to gateway 192.168.1.1.

ADSL connection is DHCP based so my IP changes always when I reboot my machine. What configuration files I have to edit? And how? Hope someone can help me with this problem.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...