Skip to main content

Questions tagged [ip]

IP or Internet Protocol. Use this tag for questions about IP addresses or configuration, or the protocol as applied to Ubuntu.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

what are the rules to write a 00-installer-config.yaml file when the server is connected via wifi?

I am sure I will look stupid but I could not find anything that works on the net. Any help will be appreciated, the objective is to have a static IP adress. ip -a gives this: 1: lo: <LOOPBACK,UP,...
Marc du Fayet 's user avatar
-3 votes
0 answers
49 views

ubuntu block access via ip [closed]

I want to ban IP access to my server from port 8080, but I want it to come like this: http://relaxsrv.xyz:8080. I just want it to respond to port 8080 with this DNS. Can you help me with this? Thank ...
Tülay Kurtay's user avatar
0 votes
1 answer
34 views

Where is the documentation that describes and explains the output of the ip link command?

Here is some fake/sample output of the ip link command. 2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 3: eno1: <NO-CARRIER,...
raul's user avatar
  • 131
1 vote
0 answers
60 views

When does ubuntu initiate a DHCP lease renewal?

After doing some research. I found out that some DHCP clients initiate a lease renew when 50% of the lease time has elapsed. And I need to know if this is valid for ubuntu 20 and later DHCP clients. I ...
jaafar Nasrallah's user avatar
0 votes
0 answers
38 views

ifconfig show unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 for usb modem

I am using Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal when I do ifconfig -a usb modem show following output wwan0: flags=4240<POINTOPOINT,NOARP,MULTICAST> ...
Mubashir's user avatar
1 vote
0 answers
101 views

Only IPv6 Link Local Address after Ubuntu update

Since recently running a software update on my Kubuntu laptop, I only have a Link Local address assigned for IPv6. The connection GUI IPv6 configuration looks normal and identical to my working ...
Dave's user avatar
  • 11
0 votes
0 answers
21 views

gateway is not pingable /etc/networ/interfaces

I have a raspberry pi and modem connected to the network. I add the following lines to /etc/network/interfaces source-directory /etc/network/interfaces.d/* auto eth0 iface eth0 inet static ...
Mubashir's user avatar
0 votes
0 answers
67 views

Additional IP-Address overwrites old one?

My hosting provider gave me an additional ip-address and now i am trying to add it to my netplan but somehow it is overwriting the main-ip. Here is my netplan: ### Hetzner Online GmbH installimage ...
IkonoDim's user avatar
0 votes
0 answers
91 views

ifconfig new ip address overwriting main ip

Today I tried adding a new, additional ip-address my hosting-service gave me. But I encountered a problem. I entered this command into the cmd: ifconfig enp35s0:1 167.235.117.188 netmask 255.255.255.0 ...
IkonoDim's user avatar
0 votes
0 answers
96 views

Camera ip with Ubuntu server

I'm new to this. I would like to know if it's possible to view an IP camera on Ubuntu server as if it were a Network Video Recorder (NVR), just for viewing. I want it to be visible on the same device ...
Edw's user avatar
  • 1
0 votes
1 answer
568 views

How to fix automatic apply of netplan config after reboot not working?

I am using ubuntu 22.04 and trying to apply the following netplan automatically at startup: network: version: 2 renderer: NetworkManager ethernets: enx00e04c680202: addresses: -...
Alex's user avatar
  • 821
1 vote
0 answers
117 views

Multipass on a Mac mini M2 failing to launch - no IPV4 address set

I have multipass working well on my macbook air M1 - I installed it naively and I've had no problems. I also had it working well on my Mac mini M2 - in the same way. It has stopped working, and I've ...
Peter Brooks's user avatar
0 votes
1 answer
51 views

Local addresses beginning with 127 not accessible via internet?

I am not running a firewall on Ubuntu 23.04. Is it safe to assume that the only ports I have accessible via the internet are 443, 80, and 22? netstat -lntu Active Internet connections (only servers) ...
user1643244's user avatar
1 vote
0 answers
92 views

How to add 500 IP address (Range of IP) in Network File for single interface

Ubuntu 20.04.4 LTS was what I was using. How can a single interface be configured with a 500 IP address ( Ranges of IP address) ? For example I need to configure 101.23.151.0/24 and 101.24.152.0/24 ...
Alvis Fabien's user avatar
0 votes
0 answers
204 views

Ubuntu 22.04.3 LTS to use an IP address of 192.168.1.x

Currently, my home server is using a static local IP of 192.168.70.16. It works fine for in-house use, but I can't send WoL packets to it or forward any ports for it because it's not on the 192.168.1....
Ralph El Massih's user avatar
0 votes
1 answer
91 views

How do I get Ubuntu in VirtualBox to give me a proper IP?

I recently set up a VirtualBox with Ubuntu in it in order to run a server for a game, which I need to access from my Windows on the same PC, where the game is kept. I have absolutely zero knowledge ...
sret's user avatar
  • 1
0 votes
1 answer
123 views

Something adds routes with metric being consecutive integers starting from 201

My home router is connected to the WLAN with enp2s0 and to the internal LAN with enp3s0 (192.168.10.0/24). After migration from Ubuntu 18.04 to Ubuntu 20.04 (done last week) something keeps adding and ...
Adam Ryczkowski's user avatar
-2 votes
3 answers
575 views

Two Ubuntu servers in same IP address

My case: I have Ubuntu server(20.04.3) installed in machine 1. This machine use 192.xxx.xx.500. What I need: I have another Ubuntu server in another machine and want to have same ip adress on machine ...
Trooller's user avatar
1 vote
0 answers
24 views

iMac IP address for remote access to server

I need to provide IP address for iMac desktop for remote access to server; could you please suggest which IP address should I provide? Admins-iMac-3:~ 3052$ ifconfig | grep -E "([0-9]{1,3}\.){3}[...
bioinfonext's user avatar
0 votes
0 answers
24 views

Can't transport Ubuntu to another machine - fails dhcp connection

I have an application running under Ubuntu 18.04 server which I've always been able to clone and move to another machine. When I create a 20.04 drive, I can move it to another machine with the same ...
SES-Energy's user avatar
1 vote
1 answer
549 views

How to unblock my IP from Ubuntu Server 22.04?

Here is the output of iptables -L -v in Ubuntu 22.04: https://pastebin.ubuntu.com/p/47ysNrXCcN/ Chain DENYIN (1 references) pkts bytes target prot opt in out source ...
Tofazzal haque's user avatar
0 votes
1 answer
183 views

How to set Ubuntu 2 interface to LAN and Proxy Internet

I have 2 interface ens3-192.168.100.10 and ens8-10.100.0.10. Both get via dhcp. ens3 is for lan access and ens8 is for proxy to internet and to run apt update. Problem is now I have to 2 default ...
chenoi's user avatar
  • 101
0 votes
1 answer
382 views

Get up address of all devices connected to a Netgear switch

I have a Netgear switch that has 8 Ethernet ports. I connected 4 devices to that switch and then I connected the switch to my Ubuntu 22.04 PC using Ethernet cables. Now, I see only the IP address of ...
Zillur Rahman's user avatar
0 votes
2 answers
102 views

Can I configure Ubuntu Desktop network using ip command?

I have Ubuntu 22.04.1 desktop installed. Can I change my network settings using the ip command while NetworkManager is running?
Hendré's user avatar
  • 759
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 ...
jim's user avatar
  • 1
0 votes
0 answers
42 views

Hostname address

How can I change my IP address on Ubuntu VMware ESXi? When I use if config not working you told me It have to be installed, and I can’t installed it becuase I have no network access. I want to change ...
Abeer Zahrani's user avatar
0 votes
2 answers
852 views

Same IP but for two different interfaces netplan

I have an ubuntu server 22.04 installation on a laptop with two interfaces wlp3s0 (wireless) and enp3s0 (ethernet). Wireless connection is used at home, ethernet connection is used at the office. The ...
llesh's user avatar
  • 149
0 votes
0 answers
125 views

Discover new IP address by calling MAC address

I have two devices that is located on a remote network: A Raspberry Pi running Ubuntu 20.04. Let us call it Alex. Raspberry Pi Pico Wireless running my code only. Let us call it Bob. Alex acts as a ...
Lasse Michael Mølgaard's user avatar
0 votes
1 answer
4k views

ubuntu 22.04 routing using netplan

Hi I have a new ubuntu server with 2 interfaces and i wrote a netpaln config for it like this: network: version: 2 renderer: networkd ethernets: ens160: dhcp4: no addresses: - ...
pumper's user avatar
  • 3
0 votes
0 answers
281 views

Ubuntu Server 22.04.2 - Changed IP, but DNS Server still pointing to old IP

I have a Ubuntu 22.04.2 server that I setup with a static IP and joined to a Windows Domain. The IP was configured on /etc/netplan/00-installer-config.yaml and /etc/netplan/01-netcfg.yaml. From other ...
Carsten's user avatar
  • 101
2 votes
1 answer
2k views

Assign multiple Static IP address to one NIC

Please, I need help on to assign multiple static IP's with different on one NIC for 2 different IP like 192.168.xx.xx/24 and 172.16.xx.xx/24. Any idea of how to configure it on Ubuntu Server 22.04. I ...
jesushova's user avatar
1 vote
1 answer
212 views

How to reset `ip a` index to start at `1` and end at `number of devices`

The command ip a shows list of network ports and also shows an index. For example, 1 for lo and 2 for enp5s0 here: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group ...
ItzMe's user avatar
  • 23
3 votes
1 answer
15k 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'...
PietroPutelli's user avatar
1 vote
0 answers
84 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 ...
Zach's user avatar
  • 11
0 votes
0 answers
662 views

etc/init.d/bind9: No such or directory

I can't find the bind9 file in the init.d directory I have installed bind9 many times, and nothing happens etc/init.d/bind9
ADEMONEX's user avatar
-1 votes
1 answer
82 views

Connect 2 server

Hi guys i need tunnel my server to another server My country block to much website. example I have server from iran And have from Germany I need tunnel my iran server to Germany Please i need help ❤️ ...
Amirhossein's user avatar
0 votes
2 answers
1k views

Temporarily add multiple ip addresses to interface in 22.04

I need to temporarily, dynamically add and remove ip addresses from the netplan.conf (/etc/netplan/myNetplanConfig.conf). In earlier versions the ip command could be used to temporarily add ip ...
eDonkey's user avatar
  • 103
0 votes
1 answer
150 views

ip addr shows mutiple interfaces and multiple IPs... Which is the right IP address in the output?

I just want to find my PC's IP address... ip -c addr I can't... For the life of me decypher what this output is... 19: eth0: <> mtu 1500 group default qlen 1 link/ether a4:4c:c8:33:f1:9b ...
Ivan's user avatar
  • 155
0 votes
1 answer
879 views

Unreachable network after restart

I have a machine with duel boot windows loads network perfectly ubuntustudio 22.04.1 LTS Don't however I could use sudo netdiscover to see my router ip browsers can't open it's page or surfe the ...
Abd-Elaziz Sharaf's user avatar
0 votes
1 answer
537 views

Disable VPN for certain local devices, such as an embedded Linux board I need to ssh into (Allow local (LAN) access when using VPN)

I have the Cisco Annyconnect VPN on my Ubuntu 18.04 machine. I also have an embedded Linux board plugged in that I need to connect to over ssh. Whenever I connect to my VPN, however, I can no longer ...
Gabriel Staples's user avatar
2 votes
1 answer
112 views

ubuntu 20.04 wrong ip in LAN

After updating Ubuntu 20.04 and installing wireguard I'm facing an issue. My machine wasn't reachable via ssh and pings anymore. ping 192.168.178.42 (the LAN ip of the ubuntu machine) outputs: $ ping ...
bj4rne's user avatar
  • 23
0 votes
0 answers
54 views

tp-link wireless usb adapter doesn't have IP

I've added a new TP-LINK TL-WN722N to my 20.04.1-Ubuntu, but when I run ifconfig I don't get an IP for it, only the MAC address: wlxb4b02434988b: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ...
el_noobito's user avatar
2 votes
1 answer
16k views

how to set/change a static IP in "Ubuntu on Windows" (WSL)

I have installed ubuntu on my PC (Windows) but I can not set an IP... It seems there is a default IP(eth0) and we are not able to change it... 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc ...
Luis Aguilar's user avatar
0 votes
1 answer
171 views

Ubuntu DNS connect domain to IP of name server

I have a VPS on ubuntu. Also I configured DNS (ns1.example.com, ns2.example.com) and connected 2 test domains to those NS (I wrote those NS in record in domain registration site for 2 example domains)....
Regular User's user avatar
0 votes
0 answers
786 views

How to disallow connection by ip country except one?

I want to disallow incoming connection from all country except one. I know https://www.ip2location.com/free/visitor-blocker and what files I have to download and allow and select 1 country. Then how ...
J.Col's user avatar
  • 1
1 vote
0 answers
435 views

Auto assign link-local IP address if DHCP not present?

In Ubuntu 22.04 network settings I have the option to manually choose to use a link-local address (which will be configured automatically if I do). I'm looking for the equivalent of the link-local ...
Andreas's user avatar
  • 921
0 votes
2 answers
562 views

Fail2Ban, ban all ip except for myself

I am trying to whitelist ONE ip (myself) from accessing a device via ssh. How do I ban ALL ip except myself (1 ip that i am using?) Context: I saw there are 500 ip attacks yesterday, I just wanna make ...
user3222184's user avatar
1 vote
1 answer
2k views

Ubuntu server behind a firewall

I have a problem regarding a server behind a firewall, essentially, the whole internet is blocked, and I can't use the "add-apt-repository", problems like "X user or team does not exist&...
Yahya Ahmad's user avatar
0 votes
0 answers
16 views

Where to find ip.h file on ubuntu server? [duplicate]

I am using ubuntu server 22.04.1 LTS on raspberry pi 4. I want to know where ip.h file is located inside it. And where would I find the source codes for traceroute and ifconfig on the ubuntu server as ...
div_01's user avatar
  • 3
0 votes
1 answer
164 views

Install a CDN on a subdomain in a different IP: error 523

HAPPY MONDAY I have Ubuntu running on 2 servers: Server1: Docker, Cloudflare-OZNU-API and Nginx Proxy Manager, wildcard for: domain.app and *domain.app. Server2: Apache2 - PHP7.2, Certbot for DNS-...
Debbie's user avatar
  • 101

1
2 3 4 5
12