Score:0

routing connection trough bridge to a gsm modem

ar flag

I have a linux box with gsm modem on interface wwan0 which is managed by network manager, and I want to give it a static ip, the idea is to use a bridge and a veth interface with set ip address.

I'm unsure on how to setup routes so that packet will go trough vlnk1 and out of wwan0.

the overall goal is to connect to contact a server on the internet.

Currently what I have looks like this:

linux <- vlnk1 --- vlnk0 - app-br0 - wwan0 -> internet
.        vlan      vlan    bridge    gsm modem

vlnk1 has ip 192.168.69.69

These are commands for creating this monstrosity:

nmcli connection add type bridge ifname app-br0
nmcli con modify bridge-app-br0 bridge.stp no

nmcli con modify netplan-cdc-wdm0 connection.master "app-br0" connection.slave-type "bond"

ip link add dev vlnk0 type veth peer name vlnk1

ip link add 

ip link set dev vlnk0 up
ip link set vlnk0 master app-br0

ip addr add 192.168.69.69/24 dev vlnk1

ip link set dev vlnk1 up

linux is 5.4.0-1056-raspi #63-Ubuntu aarch64

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.