View previous topic :: View next topic |
Author |
Message |
umka69 Tux's lil' helper
Joined: 31 Mar 2013 Posts: 124
|
Posted: Fri Oct 04, 2013 10:00 pm Post subject: bridging |
|
|
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 |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21619
|
Posted: Fri Oct 04, 2013 10:46 pm Post subject: |
|
|
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 |
|
|
umka69 Tux's lil' helper
Joined: 31 Mar 2013 Posts: 124
|
Posted: Sat Oct 05, 2013 9:43 am Post subject: |
|
|
Uplink will be wired interface.Client interface is going to be wireless. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21619
|
Posted: Sat Oct 05, 2013 2:25 pm Post subject: |
|
|
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 |
|
|
umka69 Tux's lil' helper
Joined: 31 Mar 2013 Posts: 124
|
Posted: Sat Oct 05, 2013 3:50 pm Post subject: |
|
|
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 |
|
|
AngelKnight Tux's lil' helper
Joined: 14 Jan 2003 Posts: 127
|
Posted: Tue Oct 08, 2013 8:54 pm Post subject: |
|
|
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 |
|
|
umka69 Tux's lil' helper
Joined: 31 Mar 2013 Posts: 124
|
Posted: Fri Oct 11, 2013 1:09 pm Post subject: |
|
|
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 |
|
|
AngelKnight Tux's lil' helper
Joined: 14 Jan 2003 Posts: 127
|
Posted: Wed Oct 16, 2013 10:10 am Post subject: |
|
|
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 |
|
|
BHReach n00b
Joined: 24 Jan 2012 Posts: 40
|
Posted: Sun Oct 20, 2013 4:14 am Post subject: |
|
|
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 |
|
|
|