Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I type ifconfig,

I see wlan0 and eth0. I want to somehow bind these two together into one device.

How would I go about doing this?

share|improve this question

migrated from stackoverflow.com Jul 9 '10 at 2:20

This question came from our site for professional and enthusiast programmers.

    
Sounds like superuser.com/q/262329 – idbrii Mar 20 '12 at 15:38

You can actually do it, e.g. as root:

modprobe bonding
ifconfig bond0 up
ifenslave bond0 wlan0 eth0

then use your preferred method of getting an ip address and a default route for bond0

You can also include it in /etc/network/interfaces with proper config for bond0 and an if-post-up line for ifenslave

share|improve this answer

It sounds like you're after a bridge. It might not work with your wireless card (it depends on the model).

share|improve this answer

You must log in to answer this question.