You are not logged in.

#1 2011-03-09 08:37:17

kolbycrouch
Member
Registered: 2008-07-18
Posts: 218

Sharing Connection

Ok I've tried to search for this, but I don't even know what to search for really.

I have 1 desktop with 2 network cards.
1 is wlan0 which is recieving a connection from my router
2 is eth0 which isnt doing anything at all.

I have 1 laptop with no wireless card and 1 eth0.

What I want to know is if there is some way to bridge wlan0 and eth0 on desktop so that I can run a cable from the laptops eth0 to the desktops eth0 and get a connection?

I've search around on making a dhcp server and bridging my connections, but I havnt found anything so far that applies to my situation, that I could tell.

Sorry for the ignorance, Im in no way adept at networking.

Offline

#2 2011-03-09 11:02:02

jakobm
Member
Registered: 2008-03-24
Posts: 132

Re: Sharing Connection

See Internet Share - ArchWiki.

kolbycrouch wrote:

I've search around on making a dhcp server [...]

As described in the wiki article, a static configuration is more appropriate for such a simple setup.

Offline

#3 2011-03-10 18:28:23

sironitomas
Member
From: Cordoba, Argentina
Registered: 2009-11-28
Posts: 174
Website

Re: Sharing Connection

I've had exactly the same problem a few days ago.

Following the link on the wiki jakobm provided you, the process is straight forward. Just consider the name of the cards of course, and use logic, always.

And, if you still want to setup a dhcp server, it is recommended that you read this link: http://tldp.org/HOWTO/DHCP/x369.html

Regards!

Last edited by sironitomas (2011-03-10 18:30:02)

Offline

#4 2011-03-10 22:56:37

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: Sharing Connection

It would arguably be simple to create an actual bridge between the 2 cards, then your laptop can talk directly to the router rather than having your desktop act as a second router.
https://wiki.archlinux.org/index.php/Op … dge#Bridge (ignore the part about "/etc/conf.d/openvpn-tapdev")

Offline

#5 2011-03-11 03:09:10

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Sharing Connection

fukawi2 wrote:

It would arguably be simple to create an actual bridge between the 2 cards, then your laptop can talk directly to the router rather than having your desktop act as a second router.
https://wiki.archlinux.org/index.php/Op … dge#Bridge (ignore the part about "/etc/conf.d/openvpn-tapdev")

Not sure if things have changed, but the last time I looked into that (admittedly a year or so ago) it wasn't really possible to actually bridge wlan and eth cards. My faintly-remembered Networking classes are something about level 2 or level 3 being incompatible.... OP would need to do his own research though.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#6 2011-03-11 04:58:46

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: Sharing Connection

ngoonee wrote:

Not sure if things have changed, but the last time I looked into that (admittedly a year or so ago) it wasn't really possible to actually bridge wlan and eth cards.

You may well be correct... I've never tried it.

Offline

Board footer

Powered by FluxBB