You are not logged in.

#1 2016-11-13 12:22:53

andros705
Member
Registered: 2016-05-12
Posts: 24

Trying to create bridge. RTNETLINK answers: Operation not supported

Hi I am trying to create a bridge on my laptop from my wifi to virtual machine.

According to: https://wiki.archlinux.org/index.php/Network_bridge

I am trying this:
ip link add name xenbr0 type bridge
ip link set xenbr0 up
ip link set wlp3s0 master xenbr0

But I see:
RTNETLINK answers: Operation not supported

And bridge doesn't have internet.

Last edited by andros705 (2016-11-13 12:23:15)

Offline

#2 2016-11-13 12:26:00

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Trying to create bridge. RTNETLINK answers: Operation not supported

I have always used netctl to do this... same errors for you?
https://wiki.archlinux.org/index.php/Op … figuration
https://wiki.archlinux.org/index.php/Bridge_with_netctl

Last edited by graysky (2016-11-13 12:26:31)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2016-11-13 13:34:35

andros705
Member
Registered: 2016-05-12
Posts: 24

Re: Trying to create bridge. RTNETLINK answers: Operation not supported

So I've created two network profiles: wlp3s0 and xenbr0.

Content of wlp3s0:
  Description='Connect to the wifi network'
  Interface=wlp3s0
  Connection=wireless
  Security=wpa
  ESSID=<MY_ESSID>
  Key=<MY_KEY>
  IP=dhcp

Content of xenbr0:
  Description="Xenbr0"
  Interface=xenbr0
  Connection=bridge
  BindsToInterfaces=(wlp3s0)
  IP=dhcp

Enabled and started both of them.

Result of 'ip link' command:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 2c:60:0c:e0:f2:41 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 30:52:cb:11:47:91 brd ff:ff:ff:ff:ff:ff
4: xenbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
8: vif4.0-emu: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master xenbr0 state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
9: vif4.0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master xenbr0 state DOWN mode DEFAULT group default qlen 32
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff

systemd:

UNIT                          LOAD   ACTIVE SUB       DESCRIPTION
netctl@wlp3s0.service         loaded active exited    Connect to the wifi network GET_AWAY_FROM_MY_WIFI
netctl@xenbr0.service         loaded failed failed    Xenbr0

I am not sure whether I've configured these profiles correctly. Should 'xenbr0' have 'IP=dhcp' specified or not?
Also from the 'ip link' output I see that wlp3s0 is not a master of xenbr0.

Last edited by andros705 (2016-11-13 15:23:16)

Offline

#4 2019-02-03 09:24:53

fvdb06
Member
Registered: 2019-02-02
Posts: 1

Re: Trying to create bridge. RTNETLINK answers: Operation not supported

I also have the same problem, ie:

muser@Cantara > firejail --net=tornet --noprofile
Parent pid 7935, child pid 7940
RTNETLINK answers: Operation not supported
Error: failed to run /usr/lib/firejail/fnet
Error ioctl: interface.c:98 net_if_up: No such device
Error: failed to run /run/firejail/lib/fnet
Error: proc 7935 cannot sync with peer: unexpected EOF
Peer 7940 unexpectedly exited with status 1

-----------------------------------------------
muser@Cantara > firejail --net=eth0 --noprofile
Parent pid 4489, child pid 4494
RTNETLINK answers: Operation not supported
Error: failed to run /usr/lib/firejail/fnet
Error ioctl: interface.c:98 net_if_up: No such device
Error: failed to run /run/firejail/lib/fnet
Error: proc 4489 cannot sync with peer: unexpected EOF
Peer 4494 unexpectedly exited with status 1

And until yet no solution..........

Offline

#5 2019-02-03 11:57:48

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: Trying to create bridge. RTNETLINK answers: Operation not supported

Please don't necrobump.

https://wiki.archlinux.org/index.php/Co … bumping%22

Check the firejail archwiki page for the problem you are experiencing.

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB