Hi i'm running debian 12 on an i3 and an i5 and planning to use both for virtualization with qemu/kvm and bridged networking.
On the i5 (tethys) all is fine i used the following config in the /etc/network/interface:
note that the 2 tap are created by bridge helper for two specific vm launched from command line with a custom qemu-system-ppc for running IBM AIX 4.3/5.1.
th config is working perfectly and the VM are accessible throught al my LAN
I transferred the same config on the i3 (cecilie) changing the ip and the interfaces obviously according to the ones specific to the new machine
and nothing is working.
Assigning a simple static ip to the machine work fine, producing the following output
s you can see eno1 is present, wich is assigned a different ip, maybe with dhcp than the one i assigned to enp0s25, as you can see from ip addr output enp0s25
is the altname for eno1. I reconfigure for bridge in a similar way wich i did for tethys and after systemctl restart networking, noting was working, the situation is as follows and network is unreachable:
on a reboot the situation is similar, with nothing working
will be grateful for any help or suggestion
On the i5 (tethys) all is fine i used the following config in the /etc/network/interface:
Code:
azazel@tethys:~$ 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).source /etc/network/interfaces.d/*# The loopback network interfaceauto loiface lo inet loopbackauto enp2s0iface enp2s0 inet manualauto br0iface br0 inet static address 192.168.1.25 netmask 255.255.255.0 gateway 192.168.1.1 bridge_ports enp2s0 dns-nameservers 8.8.8.8the output of ip addr show followazazel@tethys:~$ ip addr show1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br0 state UP group default qlen 1000 link/ether 40:61:86:7b:2a:49 brd ff:ff:ff:ff:ff:ff3: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether a2:bb:44:15:e0:1b brd ff:ff:ff:ff:ff:ff inet 192.168.1.25/24 brd 192.168.1.255 scope global br0 valid_lft forever preferred_lft forever inet6 fe80::a0bb:44ff:fe15:e01b/64 scope link valid_lft forever preferred_lft forever4: tap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br0 state UNKNOWN group default qlen 1000 link/ether fe:90:06:09:32:49 brd ff:ff:ff:ff:ff:ff inet6 fe80::fc90:6ff:fe09:3249/64 scope link valid_lft forever preferred_lft forever6: tap1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br0 state UNKNOWN group default qlen 1000 link/ether fe:e8:b9:fe:ae:b8 brd ff:ff:ff:ff:ff:ff inet6 fe80::fce8:b9ff:fefe:aeb8/64 scope link valid_lft forever preferred_lft foreverazazel@tethys:~$ sudo ifconfig -a[sudo] password di azazel: br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.25 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::a0bb:44ff:fe15:e01b prefixlen 64 scopeid 0x20<link> ether a2:bb:44:15:e0:1b txqueuelen 1000 (Ethernet) RX packets 1089880 bytes 1052012702 (1003.2 MiB) RX errors 0 dropped 438 overruns 0 frame 0 TX packets 737030 bytes 50497945 (48.1 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 40:61:86:7b:2a:49 txqueuelen 1000 (Ethernet) RX packets 1100106 bytes 1068932549 (1019.4 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 752367 bytes 52003350 (49.5 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 34 bytes 3841 (3.7 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 34 bytes 3841 (3.7 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0tap0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6 fe80::fc90:6ff:fe09:3249 prefixlen 64 scopeid 0x20<link> ether fe:90:06:09:32:49 txqueuelen 1000 (Ethernet) RX packets 12473 bytes 1097505 (1.0 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 20786 bytes 1917975 (1.8 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0tap1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6 fe80::fce8:b9ff:fefe:aeb8 prefixlen 64 scopeid 0x20<link> ether fe:e8:b9:fe:ae:b8 txqueuelen 1000 (Ethernet) RX packets 2862 bytes 407768 (398.2 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 16558 bytes 1535643 (1.4 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
th config is working perfectly and the VM are accessible throught al my LAN
I transferred the same config on the i3 (cecilie) changing the ip and the interfaces obviously according to the ones specific to the new machine
and nothing is working.
Assigning a simple static ip to the machine work fine, producing the following output
Code:
azazel@cecilie:~$ 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).source /etc/network/interfaces.d/*# The loopback network interfaceauto loiface lo inet loopbackauto enp0s25iface enp0s25 inet static address 192.168.1.219 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 8.8.8.8azazel@cecilie:~$ ifconfig -a-bash: ifconfig: comando non trovatoazazel@cecilie:~$ sudo ifconfig -a[sudo] password di azazel:eno1: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500 inet 192.168.1.141 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::7627:eaff:fef3:4a1c prefixlen 64 scopeid 0x20<link> ether 74:27:ea:f3:4a:1c txqueuelen 1000 (Ethernet) RX packets 358 bytes 109760 (107.1 KiB) RX errors 0 dropped 13347 overruns 0 frame 0 TX packets 262 bytes 39149 (38.2 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 20 memory 0xf7c00000-f7c20000enp0s25: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500 inet 192.168.1.219 netmask 255.255.255.0 broadcast 192.168.1.255 ether 74:27:ea:f3:4a:1c txqueuelen 1000 (Ethernet) device interrupt 20 memory 0xf7c00000-f7c20000lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 28 bytes 3398 (3.3 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 28 bytes 3398 (3.3 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 azazel@cecilie:~$ ip addr show1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever2: eno1: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 74:27:ea:f3:4a:1c brd ff:ff:ff:ff:ff:ff altname enp0s25 inet 192.168.1.219/24 brd 192.168.1.255 scope global enp0s25 valid_lft forever preferred_lft forever inet 192.168.1.141/24 brd 192.168.1.255 scope global secondary eno1 valid_lft forever preferred_lft forever inet6 fe80::7627:eaff:fef3:4a1c/64 scope link valid_lft forever preferred_lft foreverazazel@cecilie:~$ ping 8.8.8.8PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.64 bytes from 8.8.8.8: icmp_seq=1 ttl=115 time=12.6 ms64 bytes from 8.8.8.8: icmp_seq=2 ttl=115 time=12.9 ms^C--- 8.8.8.8 ping statistics ---2 packets transmitted, 2 received, 0% packet loss, time 1002msrtt min/avg/max/mdev = 12.596/12.747/12.899/0.151 msazazel@cecilie:~$
is the altname for eno1. I reconfigure for bridge in a similar way wich i did for tethys and after systemctl restart networking, noting was working, the situation is as follows and network is unreachable:
Code:
zazel@cecilie:~$ 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).source /etc/network/interfaces.d/*# The loopback network interfaceauto loiface lo inet loopbackauto enp0s25iface enp0s25 inet manualauto br0iface br0 inet static address 192.168.1.219 netmask 255.255.255.0 gateway 192.168.1.1 bridge_ports enp0s25 dns-nameservers 8.8.8.8azazel@cecilie:~$ ip addr show1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever2: eno1: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 74:27:ea:f3:4a:1c brd ff:ff:ff:ff:ff:ff altname enp0s25 inet6 fe80::7627:eaff:fef3:4a1c/64 scope link valid_lft forever preferred_lft forever3: br0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether da:c1:e3:21:4f:09 brd ff:ff:ff:ff:ff:ff inet 192.168.1.219/24 brd 192.168.1.255 scope global br0 valid_lft forever preferred_lft foreverazazel@cecilie:~$ sudo ifconfig -abr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 192.168.1.219 netmask 255.255.255.0 broadcast 192.168.1.255 ether da:c1:e3:21:4f:09 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0eno1: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500 inet6 fe80::7627:eaff:fef3:4a1c prefixlen 64 scopeid 0x20<link> ether 74:27:ea:f3:4a:1c txqueuelen 1000 (Ethernet) RX packets 789 bytes 152317 (148.7 KiB) RX errors 0 dropped 30063 overruns 0 frame 0 TX packets 447 bytes 71061 (69.3 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 20 memory 0xf7c00000-f7c20000lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 237 bytes 40443 (39.4 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 237 bytes 40443 (39.4 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0azazel@cecilie:~$ ping 8.8.8.8PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.From 192.168.1.219 icmp_seq=1 Destination Host UnreachableFrom 192.168.1.219 icmp_seq=2 Destination Host UnreachableFrom 192.168.1.219 icmp_seq=3 Destination Host UnreachableFrom 192.168.1.219 icmp_seq=4 Destination Host Unreachable^C--- 8.8.8.8 ping statistics ---5 packets transmitted, 0 received, +4 errors, 100% packet loss, time 4042mspipe 4
Code:
azel@cecilie:~$ ip addr show1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 74:27:ea:f3:4a:1c brd ff:ff:ff:ff:ff:ff altname enp0s25 inet 192.168.1.141/24 brd 192.168.1.255 scope global eno1 valid_lft forever preferred_lft forever inet6 fe80::7627:eaff:fef3:4a1c/64 scope link valid_lft forever preferred_lft forever3: br0: <BROADCAST,MULTICAST,DYNAMIC> mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether da:c1:e3:21:4f:09 brd ff:ff:ff:ff:ff:ffazazel@cecilie:~$ sudo ifconfog -a[sudo] password di azazel:sudo: ifconfog: comando non trovatoazazel@cecilie:~$ sudo ifconfig -abr0: flags=-28670<BROADCAST,MULTICAST,DYNAMIC> mtu 1500 ether da:c1:e3:21:4f:09 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.141 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::7627:eaff:fef3:4a1c prefixlen 64 scopeid 0x20<link> ether 74:27:ea:f3:4a:1c txqueuelen 1000 (Ethernet) RX packets 225 bytes 94650 (92.4 KiB) RX errors 0 dropped 4095 overruns 0 frame 0 TX packets 184 bytes 32218 (31.4 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 20 memory 0xf7c00000-f7c20000lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 35 bytes 4012 (3.9 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 35 bytes 4012 (3.9 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Statistics: Posted by azazel71 — 2024-08-07 09:08 — Replies 10 — Views 152