Questions tagged [router]

A router is a device that forwards data packets between computer networks, creating an overlay internetwork

Filter by
Sorted by
Tagged with
3 votes
1 answer
14k views

Authenticator provider $SSH_SK_PROVIDER did not resolve SSH Connection ubuntu server

Hi everyone I'm using an Ubuntu server and I want to allow the access through any network in the world. I configured the static ip address. I have mapped the port 22-22 in the router configuration I'...
0 votes
0 answers
66 views

Handling DNS Resolution Failure after Releasing the Primary Public IP on Linux Machine with Multiple IPs

I am encountering an issue on my Linux machine with multiple network interfaces and IP addresses. Specifically, after releasing the primary public IP (let's call it 112. * .* .1) on the ens3 interface,...
0 votes
1 answer
34 views

ip addr does not chage

I am trying to change my wifi router. The old one (zz-home-tm) uses subnet 192.168.12.*, the new one (zz-home) - 192.168.0.*. At the moment both routers are running. Even if I switch to zz-home, the ...
3 votes
1 answer
907 views

Mounting samba folder from a Samba server 1.9 in Ubuntu 16.4LTS

I have just bought a router ZTE F680 that is using a Samba server 1.9. I want to share a usb hard disk using the SMB protocol. In the router, the disk is correct attached and the path is: /mnt/...
1 vote
2 answers
1k views

cannot connect to a specific Wi-Fi (Ubuntu 22.04 LTS)

I previously bought a modem router and then I could connect to it via wifi, but for some time now I can't connect to it, every time I try to connect to the modem router it just says "Wi-Fi ...
81 votes
6 answers
224k views

How can I make VirtualBox guests share the host's VPN connection?

Question When I start my VPN on my ubuntu desktop computer which acts as a router, the attached subnet loses internet connectivity, but is still accessible (LAN). Ideally, I would like to know how to ...
0 votes
1 answer
6k views

Link-local 169.254.x.x address assigned at boot despite static IP on 20.04 LTS [closed]

I have been struggling to setup my Ubuntu machine as a simple 2-NICs router with NAT, trying to stick to most recent recommended methods, namely netplan for the NICs and ufw for firewall and for ...
0 votes
1 answer
65 views

Can't ping router after assigning an IP to tap

I created a tap interface and added an IP using... sudo ip tuntap add mode tap tap0 sudo ip addr add 192.168.0.210/24 dev tap0 sudo ip link set dev tap0 up Beforehand I was able to ping my router at ...
0 votes
0 answers
37 views

Previously good WiFi fails to connect

My Sony Vaio (Ubuntu 22.04.3) has worked with my BT Hub for years, but it's now displaying 'Activation of network connection failed' and will not connect. The computer sees the network and attempts ...
0 votes
0 answers
21 views

Share internet from HOST to PC via router

I have HOST, which is connected to WAN and router; Also I have a PC, that connected to router; I can ssh from HOST to PC and vice versa; Both are ubuntu 20; How can I make internet availability on PC? ...
1 vote
1 answer
5k views

How to add direct routes(proto kernel scope link) to non-main table automatically

When I add an IP to interface,the kernel will add a direct route to main table,and if I delete the IP,the kernel will delete the direct route from main table.As follows: root@template:~# ip addr add ...
0 votes
0 answers
66 views

Unable to Configure Network on Homeserver Behind "Fritz Box" Home Router

Description: I've encountered a puzzling network issue with my homeserver setup and I'm seeking guidance to resolve it. Problem: My homeserver, behind a "Fritz Box" home router, experiences ...
-3 votes
1 answer
128 views

Router changing default gateway when creating a DNS

I'm using Ubuntu 20.04, and my router is TP-Link AXE-5400. I'm new to Ubuntu and Linux for that matter, but I managed to make some VM via Proxmox. Cloud server, gaming server, Plex and so on. I was ...
0 votes
2 answers
73 views

Universal Way to Know Router's Address

How can I know what the router's address is when I am on multiple interface? I know by using netstat -rn I can have the dominate interface's gateway, which is the router's address. But what about ...
0 votes
0 answers
145 views

why does ipforwarding not work?

I have installed Ubuntu 22.04 on my laptop which has a LAN and a WIFI network adapter. The laptop is connected to the Internet via WIFI. I have another PC with a LAN adapter card. I want to set my ...
0 votes
0 answers
41 views

No internet until Wi-Fi panel is opened

I have a curious problem with internet connection on Ubuntu 22.04. Often while I'm connected to my house Wi-Fi, internet does not work also if the system says the opposite. The only way I found to fix ...
0 votes
1 answer
105 views

Two network cards configured with the same network segment IP

I have a ubuntu server with two network cards. The IP of eth0 is 192.168.2.178/24, and the IP of eth1 is 192.168.2.179/24. This is my config with netplan: network: ethernets: eth0: ...
0 votes
1 answer
3k views

What is _gateway in my route table?

I just ran "route" on my laptop's terminal and see this line for the default entry in my route table: enter image description here In examples I am seeing in books and online, the default ...
0 votes
1 answer
123 views

PC cannot connect to internet using new cable modem

I got a new 2 port cable modem to replace the single port one that died recently. The Windows laptop connects to the internet fine, but the desktop PC running Xubuntu 20.04.6 LTS cannot get a network ...
1 vote
1 answer
588 views

UFW blocking port forwarding

I am running Ubuntu Server as a home network router, which works fine otherwise. I also have another server on the network which hosts all of my content and services. So let's say, for example, I'm ...
0 votes
1 answer
979 views

Ubuntu 22.04 While establishing connection for Ethernet, Wi-Fi drops for other devices such as phones, tablets and laptops

I am using Wired (Ethernet) connection on my Ubuntu 22.04 LTS installed on ZFS root.Just to be clear, my Network card doesn't supports wireless connection at all. When I am booting my Ubuntu or trying ...
0 votes
0 answers
92 views

UFW on ubuntu virtual router not blocking correct traffics

I have a virtual router running on Ubuntu Server 22.04. The virtual router has two ethernet interfaces enp1s0 and enp2s0. The interface enp1s0 is connected to the external network and the interface ...
0 votes
1 answer
127 views

Why can't Try Ubuntu connect to wifi (Broadcom driver enabled)

Dell Vostro 2520 Dell Wireless 1704 802.11b/g/n (2.4GHz) Ubuntu 22.04.1 LTS (Jammy Jellyfish) Windows 10 Ubuntu booted from the hard disk (sda5), recognises the Broadcom hardware and driver, and ...
0 votes
1 answer
39 views

about assigning ip's in a network

Ok I have the isp to a router called router 1 first ten ip's reserved so the dhcp pool is 10 an above. (hence network 1) then the network goes to a router 2 which is staticed to the first router with ...
4 votes
1 answer
5k views

Ubuntu as router; redirect traffic from 1 client (LAN) to VPN

I have a Ubuntu 14.04.03 router (iptables). Behind it there is a LAN with laptops, tablets, smart TVs, etc. I would like to use VPN on my TV, but there is no such option in the TVs software/firmware. ...
0 votes
1 answer
474 views

Netplan bridge multiple networks, Ubuntu 20.04 server

I have a robot with an onboard computer, that communicates via Ethernet to the base station (by way of radio, but the interface on the robot's computer is Ethernet). The Robot has a particular sensor ...
0 votes
0 answers
95 views

No internet access on Ubuntu server when connected to Trunk port

I have ubuntu server configured as a virtual router for routing traffic from the isolated VLANs 10.2.0.0/16 (VLAN 201), 10.4.0.0/16 (VLAN 401) and 10.6.0.0/16 (VLAN 601) to the external network 10.1.1....
1 vote
0 answers
77 views

How to route from an outside IP to an bridged interface?

edit: Just to clarify my topology, everything is local and behind my ISP gateway/router. The server and laptop both connect to the gateway on 192.168.1.0/24. GNS3 is hosted on the ubuntu server and is ...
0 votes
2 answers
2k views

Networking: 4 Separate Subnets Default Route Consistency Warning?

Just installed Ubuntu and one of my network card ports does not work and has no ping to it's IP - eno2. Netplan as configured during install: # This is the network config written by 'subiquity' ...
0 votes
0 answers
320 views

Ubuntu as router with netplan & dnsmasq - can't reach websites

I have setup Ubuntu 22.04 LTS as a router for the following scenario: Client (192.168.222.100) <--> Switch <--> Ubuntu Router eth0 (192.168.222.1) <--> Ubuntu Router enx2887ba778049 (...
0 votes
0 answers
85 views

Why can't my laptop connect to one specific wifi router?

I am trying to connect to my workplace network. The network and the wifi is working fine for all other devices. My laptop could also connect to it in the past, and it has no problem connecting to ...
2 votes
2 answers
205 views

What steps do I take to resolve wifi slowness on my Ubuntu 22.04.1 desktop?

I currently see very bad speeds on my Ubuntu 22.04.1 desktop: However, comparing that to the speed test directly on my router, you can see that high speed is coming into my router: Mac Mini ...
1 vote
1 answer
6k views

IP forwarding does not work

I have 2 Ubuntu systems , both have Ubuntu 20.04, one has server (5.4.0-42-generic) , the other has desktop (5.4.0-58-generic). I can get ip forwarding working on one system which has the server . But ...
0 votes
0 answers
70 views

How can I offer another interface IPv6 addresses?

I have two networks and their structures are as follows: (network A) ISP router --- (eth1) - Raspberry Pi - (eth0) --- other devices like PC, smartphone, etc. (network B) I want to assign IPv6 ...
1 vote
0 answers
205 views

O2 HomeBox 6742 network connection timeouts

Connecting to the internet via a specific router (O2 HomeBox 6742 connected to DSL), my Ubuntu laptop can hardly reach anything except for Google and its services, including YouTube, Spotify, and ...
0 votes
1 answer
858 views

routing for vlan

I'm trying to setup a virtual interface on a 20.04 instance that can route to the internet. vlan 66 is working and is accessible by other devices that are strictly on that vlan. VLAN 66's Gateway is ...
0 votes
1 answer
757 views

Ubuntu router - how to share strongswan VPN connection? Unable to ping LAN after VPN starts

I have Ubuntu Server 22.04 acting as a router. The router works fine with enp1 as WAN and enp2 connected to LAN switch. What I want is to use strongSwan to connect to my VPN provider and be able ...
0 votes
0 answers
128 views

How do I get ssh to start working?

I turn an unused laptop into an Ubuntu server and everything was working great. I connected to it through ssh on my Windows 10 computer and was able to set up and access Nextcloud to upload all my ...
5 votes
1 answer
12k views

How to fix this Wifi problem in Ubuntu 22.04?

I recently switched from Windows 10 to Ubuntu 22.04. When I try to connect to my router WIFI can't establish connection, but when I share from my Android phone, WIFI establishes the connection and it ...
0 votes
2 answers
256 views

Internet speed too slow in ubuntu

I am currently using ubuntu 22.04 (Issue was there on previous version also). The wifi speed is normal after turning on wifi, then after 2 or 3 minutes it is becoming too slow. But wifi is working ...
0 votes
1 answer
2k views

adb - unable to connect to <ip-address:port>: No route to host

I was trying to connect my phone with adb over wi-fi (I did tcpip to 5555), but not working since I bought a new router. It works fine when using my other phone as a hotspot. I was trying to ping to ...
1 vote
0 answers
485 views

Setting up TOR on a router

I've asked a much more complicated version of this question a week ago with many views but no responses, so I'm going to simplify the question here. I understand that there is a TOR browser that can ...
1 vote
2 answers
2k views

Forward packets from bonded LAN interface to WAN

I am not able to route packets between the lan side of my ubuntu server and the wan side. I'm looking for some assistance. I have 5 ethernet ports on my server - 1 onboard (eth0, used for wan) and 4 ...
0 votes
0 answers
51 views

Can't connect to wifi after changing the wifi router

I recently changed my router. The new router has 2g and 5g feature. I configured it with the same name. But there is an awkward situation here. My laptop can't find the 2g but it is working on 5g. ...
0 votes
0 answers
302 views

Killer Wi-Fi 6 AX1650i WiFi Very Slow Connections on Ubuntu 20.04, also through the cable, known solutions do not work

I know it's a known and very common issue. I had no problems with WiFi, but at some point my internet connection stopped working or it works very slowly. The same is, when I connect the router with ...
0 votes
2 answers
405 views

Increase security for ssh login via public / private key: use port forwarding in router or in server?

I want to access my Ubuntu server from the internet via SSH storing the client's public key on that server. In order to increase security I want to use a different port than 22 to reduce risk of a ...
0 votes
0 answers
204 views

Upgraded to Ubuntu 22.04 and now it keeps shutting off my modem/router

Upgraded my laptop to Ubuntu 22.04 from 21.10. It will connect to the internet slowly for a few minutes but then completely shuts off the router. My other devices work fine, but this one is making it ...
0 votes
0 answers
291 views

Connect openVpn

I'm trying to connect via openVpn. I have ubuntu 20.04. My client.ovpn: client dev tun proto udp remote vpn.stend1.vs.com 1194 resolv-retry infinite nobind persist-key persist-tun ca ca.crt cert n....
6 votes
4 answers
17k views

Script to monitor Internet connection stability

I would like it to be reported every time that the my router loses its internet connection. I would like to have my Ubuntu system send me an email every time that the router's system log displays the ...
3 votes
2 answers
7k views

Make route command persistent after reboot

Quick question: I want to make this command persistent after reboot: route add -net 10.0.8.0 netmask 255.255.255.0 gw 10.3.121.244 I tried playing with the netplan yaml files with no success, my ...

1
2 3 4 5
7