Am 4 modemuri USB Huawei o interfață ethernet.portul ethernet are acces la internet, iar modemul este folosit doar pentru SIM-ul său. Acest lucru a creat probleme la accesarea internetului. ubuntu încearcă să acceseze internetul folosind modemuri USB în loc de porturi ethernet.
Ce am încercat înainte
conectarea conexiunii folosind bridge-utils
setarea manuală a valorilor la interfață
route del default gw
route add default gw
Nici unul dintre cele de mai sus nu a funcționat. Folosesc ubuntu 20 cli.
Adresa IP
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue stare UNKNOWN grup implicit 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 pentru totdeauna preferred_lft pentru totdeauna
inet6 ::1/128 scope host
valid_lft pentru totdeauna preferred_lft pentru totdeauna
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 18:03:73:b6:f1:9e brd ff:ff:ff:ff:ff:ff
altname enp0s25
inet 192.168.1.201/24 brd 192.168.1.255 scope global dynamic noprefixroute eno1
valid_lft 449sec preferred_lft 449sec
inet6 fe80::a0b1:e67f:5aad:4306/64 scope link noprefixroute
valid_lft pentru totdeauna preferred_lft pentru totdeauna
3: enx582c80139263: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state NECUNOSCUT grup implicit qlen 1000
link/ether 58:2c:80:13:92:63 brd ff:ff:ff:ff:ff:ff
inet 192.168.9.100/24 brd 192.168.9.255 scope global dynamic noprefixroute enx582c80139263
valid_lft 84765sec preferred_lft 84765sec
inet6 fe80::5154:9077:c55:80e8/64 scope link noprefixroute
valid_lft pentru totdeauna preferred_lft pentru totdeauna
4: enx52bcf381a41c: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:bc:f3:81:a4:1c brd ff:ff:ff:ff:ff:ff
inet 192.168.5.100/24 brd 192.168.5.255 scope global dynamic noprefixroute enx52bcf381a41c
valid_lft 84802sec preferred_lft 84802sec
inet6 fe80::39a6:f0ea:f120:d4a0/64 scope link noprefixroute
valid_lft pentru totdeauna preferred_lft pentru totdeauna
7: enx9ac29bee4cd9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 9a:c2:9b:ee:4c:d9 brd ff:ff:ff:ff:ff:ff
inet 192.168.7.100/24 brd 192.168.7.255 scope global dynamic noprefixroute enx9ac29bee4cd9
valid_lft 84739sec preferred_lft 84739sec
inet6 fe80::2530:a4db:74d1:9739/64 scope link noprefixroute
valid_lft pentru totdeauna preferred_lft pentru totdeauna
8: br0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue stare JOS grup implicit qlen 1000
link/eter c2:a3:67:53:c4:56 brd ff:ff:ff:ff:ff:ff
9: enxc271b7f9e4f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_code state UP group default qlen 1000
link/ether c2:71:b7:f9:e4:f6 brd ff:ff:ff:ff:ff:ff
inet 192.168.6.100/24 brd 192.168.6.255 scope global dynamic noprefixroute enxc271b7f9e4f6
valid_lft 84704sec preferred_lft 84704sec
inet6 fe80::fd92:2ab6:f154:c755/64 scope link noprefixroute
valid_lft pentru totdeauna preferred_lft pentru totdeauna
10: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state NECUNOSCUT grup implicit qlen 1000
link/ether 58:2c:80:13:92:63 brd ff:ff:ff:ff:ff:ff
inet 192.168.10.100/24 brd 192.168.10.255 scope global dynamic noprefixroute eth0
valid_lft 81427sec preferred_lft 81427sec
inet6 fe80::29d:8f26:1370:75b7/64 scope link noprefixroute
valid_lft pentru totdeauna preferred_lft pentru totdeauna
Traseul IP
implicit prin 192.168.1.1 dev eno1
implicit prin 192.168.1.1 dev eno1 proto dhcp metric 50
169.254.0.0/16 dev eno1 scope link metric 50
192.168.1.0/24 dev eno1 proto kernel scope link src 192.168.1.201 metric 50
192.168.1.0/24 dev eno1 proto kernel scope link src 192.168.1.201 metric 104
192.168.5.0/24 dev enx52bcf381a41c proto kernel scope link src 192.168.5.100 metric 109
192.168.6.0/24 dev enxc271b7f9e4f6 proto kernel scope link src 192.168.6.100 metric 106
192.168.7.0/24 dev enx9ac29bee4cd9 proto kernel scope link src 192.168.7.100 metric 107
192.168.9.0/24 dev enx582c80139263 proto kernel scope link src 192.168.9.100 metric 108
192.168.10.0/24 dev eth0 proto kernel scope link src 192.168.10.100 metric 105
IP nechează
1.1.1.1 dev eno1 FAILED
192.168.1.1 dev eno1 lladdr 48:8f:5a:a4:5d:db ACCESIBIL
192.168.1.243 dev eno1 lladdr f4:8e:38:91:d6:b4 STALE
192.168.5.1 dev enx52bcf381a41c lladdr 00:0d:87:8e:4b:ac ACCESIBIL
192.168.7.1 dev enx9ac29bee4cd9 lladdr 00:0d:87:8e:4b:ac ACCESIBIL
192.168.10.1 dev eth0 laddr 58:2c:80:13:92:08 ACCESIBIL
192.168.6.1 dev enxc271b7f9e4f6 lladdr 00:0d:87:8e:4b:ac STALE
192.168.9.1 dev enx582c80139263 lladdr 58:2c:80:13:92:08 ACCESIBIL
192.168.1.200 dev eno1 lladdr 98:90:96:a7:61:45 STALE
8.8.8.8 dev eno1 FAILED