Sponsored Content
Operating Systems Linux Is possible to bridge wlan0 and eth0 using network manager?How to for wpa? Post 303015902 by Linusolaradm1 on Monday 16th of April 2018 07:06:50 AM
Old 04-16-2018
Is possible to bridge wlan0 and eth0 using network manager?How to for wpa?

I have created a bridge with nmcli between eth0 and wlan0

I use this procedure

Code:
sudo nmcli con add ifname br0 type bridge con-name br0
sudo nmcli con add type bridge-slave ifname eth0 master br0
sudo nmcli con add type bridge-slave ifname wlan0 master br0
sudo nmcli con modify br0 bridge.stp no
sudo nmcli con down eth0
sudo nmcli con down wlan0
sudo nmcli up br0

The bridge works,i can ping is ipv4 address..but..how to do for wpa2?
I prefer to use nmcli.
 

8 More Discussions You Might Find Interesting

1. AIX

AIX and HP Network Node Manager

We are using hp's network node manager and would like to monitor quite a few of our aix boxes. It appears that nnm does not have AIX mibs by default. Does anyone know where i can find mibs for aix to load into nnm? Thanks (0 Replies)
Discussion started by: zuessh
0 Replies

2. Windows & DOS: Issues & Discussions

WPA crash vista???

Okay. I need help since I barely use M$ any more, the last time I used it for something other than school, work, or AIM was back in the days of WIN98. I was just reading the article on this site, Is Microsoft about to release a Windows “kill switch”? | Ed Bott's Microsoft Report | ZDNet.com, and... (0 Replies)
Discussion started by: Texasone
0 Replies

3. Shell Programming and Scripting

Need help: Script to edit the hosts, network and eth0 file

Hello all :) I am new to scripting. I need somebody to help me write a script that can edit the files. For eg: if i say ./script <ipadd> <hostname> then it should change the ipaddress and hostname in the following files: 1. /etc/hosts 2. /etc/sysconfig/network 3.... (1 Reply)
Discussion started by: Shaikjaveed
1 Replies

4. Red Hat

[tip] network route-eth0

hi, i would like to share this /etc/sysconfig/network-script/route-eth0 GATEWAY0=XXXXXX NETMASK0=XXXXXX ADDRESS0=XXXXXXX a delete route command with "route del -net xxxx...." will work but if the above exist and you reboot the linux then old route will be invoke on that config-route. ... (0 Replies)
Discussion started by: itik
0 Replies

5. UNIX for Dummies Questions & Answers

smc2582w-b bridge and solaris 10 wireless network

Hellow, I have a smc2582w-b brigde/acces point whom i configured on my windows vista pc and it works i have wireless acces to my network. Then i plugged it in to my 420r enterprise and it doesn't give any link activity on the lan piece of my server and my bridge/AP when i plug the cable... (3 Replies)
Discussion started by: chelle007
3 Replies

6. Red Hat

Unable To Activate Ethernet Network Device in RHEL 5.5 - e100 device eth0 does not seem to be presen

Hi All, Could anyone please help to resolve the below problem. I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error. I spent 2 days for the above and go through with several suggestion found by googling. But no luck. ... (0 Replies)
Discussion started by: Tanmoy
0 Replies

7. Linux

Network bandwidth Manager

Dear Engineer, Can anyone please inform me some application name like (CBQ) to control network bandwidth and please provide me the url to configure it. With Best Regards, Md. Abdullah-Al Kauser (0 Replies)
Discussion started by: makauser
0 Replies

8. Red Hat

Network bandwidth Manager

Dear Engineer, Can anyone please inform me some application name like (CBQ) to control network bandwidth and please provide me the url to configure it. With Best Regards, Md. Abdullah-Al Kauser (1 Reply)
Discussion started by: makauser
1 Replies
IFCFG-BRIDGE(5) 					       Network configuration						   IFCFG-BRIDGE(5)

NAME
ifcfg-bridge - ethernet bridge interface configuration SYNOPSIS
/etc/sysconfig/network/ifcfg-br* CONFIGURATION
To setup a bridge interface you need a configuration file ifcfg-<interface-name> with the usual network settings. But you must add addi- tional variables: BRIDGE <yes|no> This option must be set to 'yes' to identify this interface as a bridge interface. BRIDGE_PORTS <interface1 interface2 ... interfaceN> This variable contains a space-separated list of N interfaces which take part in the bridging. OPTIONAL VARIABLES
BRIDGE_AGEINGTIME <time> This option sets the ethernet address ageing time, in seconds. After <time> seconds of not having seen a frame coming from a certain address, the bridge will delete that address from the forwarding database. Setting ageing time to zero makes all entries permanent. BRIDGE_FORWARDDELAY <time> Forwarding delay time is the time in seconds spent in each of the listening and learning states before the forwarding state is entered. This delay is so that when a new bridge comes onto a busy network it looks at some traffic before participating. BRIDGE_HELLOTIME <time> Periodically, a hello packet is sent out by the root bridge and the designated bridges. Hello packets are used to communicate information about the topology throughout the entire bridged local area network. BRIDGE_MAXAGE <time> If a another bridge in the spanning tree does not send out a hello packet for a long period of time, it is assumed to be dead. This timeout can be set with this variable. BRIDGE_PATHCOSTS <costs1 costs2 ... costsN> This is a space-separated list of costs corresponding to the interfaces in BRIDGE_PORTS. Each interface in BRIDGE_PORTS could have a different speed and this value is used when deciding which link to use. Faster interfaces should have lower costs. BRIDGE_PORTPRIORITIES <prio1 prio2 ... prioN> This is a space-separated list of priorities corresponding to the interfaces in BRIDGE_PORTS. The priority value is an unsigned 8-bit quantity (a number between 0 and 255), and has no dimension. This metric is used in the designated port and root port selec- tion algorithms. BRIDGE_PRIORITY <priority> This option sets the bridge's priority to <priority>. The priority value is an unsigned 16-bit quantity (a number between 0 and 65535), and has no dimension. Lower priority values are 'better'. The bridge with the lowest priority will be elected 'root bridge'. BRIDGE_STP <on|off> Multiple ethernet bridges can work together to create even larger networks of ethernets using the IEEE 802.1d spanning tree proto- col. This protocol is used for finding the shortest path between two ethernets, and for eliminating loops from the topology. The spanning tree protocol can also be turned off (for those situations where it just doesn't make sense, for example when this linux box is the only bridge on the LAN, or when you know that there are no loops in the topology.) EXAMPLE
Minimal example for a bridge interface on eth0 and eth1, the bridge interface itself is configured via dhcp: ifcfg-br0 STARTMODE='auto' BOOTPROTO='dhcp' BRIDGE='yes' BRIDGE_PORTS='eth0 eth1' BRIDGE_PORTPRIORITIES='50 20' ADDITIONAL INFORMATION
For additional and more general information have a look into <http://linux-net.osdl.org/index.php/Bridge>. BUGS
Please report bugs at <https://bugzilla.novell.com/index.cgi> AUTHOR
Stefan Scheler <sscheler@suse.de> -- ifup-bridge SEE ALSO
ifcfg(5), ifup(8), brctl(8). sysconfig December 2005 IFCFG-BRIDGE(5)
All times are GMT -4. The time now is 08:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy