/srv/irclogs.ubuntu.com/2022/09/03/#ubuntu-server.txt

=== axsuul_ is now known as axsuul
=== scoobydoo_ is now known as scoobydoo
=== Linux is now known as Unix
=== Unix is now known as UNIX
yurtesenahasenack Hi, I wanted to say thanks for help in fixing the tomcat package. Unfortunately I was away on July/August so I could not test it yet.17:16
utkarsh2102\o/18:36
SamuelMarkshi19:11
jafahi guys, I am trying to set up a br0 interface with no physical interfaces so I can give it an ip address and ip forward to this virtual interface. The br0 interface comes up ok but reports no-link so nothing works22:46
jafacan I configure br0 to show link up?22:47
rbasakjafa: "ip link set up dev br0" I think?22:49
rbasakI'm not sure if you need an interface connected to a bridge or not, but IIRC that should work unless I've got the syntax wrong.22:50
rbasakIf you really need something connected to it, maybe create a dummy interface and add that to the bridge?22:50
jafano change to the link state with that command22:51
jafadummy interface - is that something else? every webpage I see talking about dummy interfaces uses a bridge22:52
jafathat might be due to netplan22:53
rbasakYes dummy is separate to bridge. See ip-link(8)22:53
rbasakSomething like "ip link add dummy0 type dummy"22:54
rbasakThen set that up, and add it to the bridge?22:54
rbasakThe problem you describe sounds odd though. What are you actually trying to achieve?22:54
jafathe server is a router (two public interfaces) and I want to run a service on it with its own routable ip22:56
jafanormally this is easy with a lan-side NIC having an IP address22:56
jafabut in this case I am trying to do a LAN side network of just local services, no physical lan22:57
rbasakThat sounds like a regular bridge configuration to me.22:58
rbasakYou shouldn't need anything special for this. I think you must therefore have some kind of misconfiguration for a basic bridge setup.22:59
rbasakYou might want to pastebin your configuration to get more help on that.22:59
rbasakBut sorry, I have to go now.22:59
jafanetplan creates the bridge and assigns the IP ok22:59
jafathanks for your help22:59
rfmjafa, what do you mean nothing works? I just set up a minimal bridge with no connected interfaces but an address, and I could ping the address using -I br123:12
jafaifconfig doesn't show as running, ip link reports no-carrier, and ip route reports linkdown23:20
jafaadding a dummy interface brought it up as rbasak suggested but that shouldn't be necessary23:21
jafaok, this is weird... if I create a linode vm and add a bridge in netplan it shows link up and works by default23:42
jafabut the same netplan yaml on the real server doesn't show link up on the bridge by default23:43

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!