Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bridging
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
umka69
n00b
n00b


Joined: 31 Mar 2013
Posts: 61

PostPosted: Fri Oct 04, 2013 10:00 pm    Post subject: bridging Reply with quote

Hi. I have wire and wireless interfaces on a laptop. I like to set up bridge and make a kind of router. Is it possible? How can i do this?
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8592

PostPosted: Fri Oct 04, 2013 10:46 pm    Post subject: Reply with quote

This may be possible, depending on what you want. Which interface will serve clients and which interface will be the upstream connection?
Back to top
View user's profile Send private message
umka69
n00b
n00b


Joined: 31 Mar 2013
Posts: 61

PostPosted: Sat Oct 05, 2013 9:43 am    Post subject: Reply with quote

Uplink will be wired interface.Client interface is going to be wireless.
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8592

PostPosted: Sat Oct 05, 2013 2:25 pm    Post subject: Reply with quote

This may or may not work. Some vendors ship wireless cards that are incapable of acting in this mode. Please post the lspci -nn lines for your network cards.
Back to top
View user's profile Send private message
umka69
n00b
n00b


Joined: 31 Mar 2013
Posts: 61

PostPosted: Sat Oct 05, 2013 3:50 pm    Post subject: Reply with quote

Ok. My network controllers are:

Code:
~ # lspci -nn
...
03:00.0 Network controller [0280]: Atheros Communications Inc. AR9485 Wireless Network Adapter [168c:0032] (rev 01)
04:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet [1969:1083] (rev c0)
...


What do you think?
Back to top
View user's profile Send private message
AngelKnight
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2003
Posts: 118

PostPosted: Tue Oct 08, 2013 8:54 pm    Post subject: Reply with quote

umka69 wrote:
Ok. My network controllers are:

Code:
~ # lspci -nn
...
03:00.0 Network controller [0280]: Atheros Communications Inc. AR9485 Wireless Network Adapter [168c:0032] (rev 01)
04:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet [1969:1083] (rev c0)
...


What do you think?


Might work. Have a similar device (vendor 168c sub 0030) that's in bridging mode, using the ath9k driver, as your device will. The extra support needs to be in the firmware and driver for the wireless device.
Back to top
View user's profile Send private message
umka69
n00b
n00b


Joined: 31 Mar 2013
Posts: 61

PostPosted: Fri Oct 11, 2013 1:09 pm    Post subject: Reply with quote

I need help... Please guys...
How can I do it? As I now it must be bridging. What net configs must be like for?
Back to top
View user's profile Send private message
AngelKnight
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2003
Posts: 118

PostPosted: Wed Oct 16, 2013 10:10 am    Post subject: Reply with quote

Reading through /usr/share/doc/openrc-${VERSION}/net.example.bz2 may get you started; search for the sections that describe how to set up ethernet bridges and the comments should point you in the right direction.
Back to top
View user's profile Send private message
BHReach
n00b
n00b


Joined: 24 Jan 2012
Posts: 14

PostPosted: Sun Oct 20, 2013 4:14 am    Post subject: Reply with quote

umka69 wrote:
I need help... Please guys...
How can I do it? As I now it must be bridging. What net configs must be like for?


I do something similar using iptables. I have a WAN on subnet 192.168.1 and LAN on subnet 192.168.5

I use my firewall to do the bridging. It is very simple.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum