Wlan0 and pnet0 in bridge

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
Zeriche
Posts: 1
Joined: Wed Feb 21, 2018 3:29 pm

Wlan0 and pnet0 in bridge

Post by Zeriche » Wed Feb 21, 2018 3:39 pm

Hello!

My question is, how do I join a wifi interface and pnet0 bridge. There is a working configuration with eth0 and pnet0, but there was a server with Wi Fi and a wire pull problem. Decided to connect via Wi-Fi.

Just a wi-Fi connection works. Can there is have someone config?

Now such settings:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface

auto wlan0
iface wlan0 inet static
address 192.168.221.176
netmask 255.255.255.0
gateway 192.168.221.1
dns-nameservers 77.88.8.8 77.88.8.1
wpa-driver wext
wpa-ssid DLT-WiFi
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk 12b10d6b1fda6c67082e146411974ff79e2623275dedf3b4633d19df9201ce13

auto pnet0
iface pnet0 inet manual
bridge_ports wlan0
bridge_stp off

# Cloud devices
iface eth1 inet manual
auto pnet1
iface pnet1 inet static
bridge_ports eth1
bridge_stp off

...

drkumar
Posts: 5
Joined: Thu Jun 08, 2017 6:19 pm

Re: Wlan0 and pnet0 in bridge

Post by drkumar » Tue Jan 15, 2019 10:24 am

Do we have solution for this ? I face the same problem of mapping wlan0 to pnet0 ?

Thank you in advance


Regards
Durai

Uldis (UD)
Posts: 5080
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Wlan0 and pnet0 in bridge

Post by Uldis (UD) » Tue Jan 15, 2019 6:46 pm

make proper interface changes sir... literally

example for ethernet, same must be for wlan

root@eve-ng:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
iface eth0 inet manual
auto pnet0
iface pnet0 inet static
address 172.22.7.18
netmask 255.255.255.0
gateway 172.22.7.1
dns-domain eve-ng.net
dns-nameservers 8.8.8.8 8.8.4.4
bridge_ports eth0
bridge_stp off

# Cloud devices
iface eth1 inet manual
auto pnet1
iface pnet1 inet manual
bridge_ports eth1
bridge_stp off

Post Reply