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
2k views

How can I find the IP of my NTP server on Ubuntu 22.04?

I tried to do both of the methods [here][1] to find the IP of my NTP server, but I was unable to do so successfully. In fact, the second method does not list the NTP server. Ironically, I need to find ...
MRSchwob's user avatar
1 vote
1 answer
2k views

Why would `dig +short myip.opendns.com @resolver1.opendns.com` output nothing?

I am trying to find out what is my public IP address and stumbled upon the above utility but it outputs nothing. By the way, I am trying to ssh to my Ubuntu server outsite my private network but ...
Samuel Nihoul's user avatar
0 votes
1 answer
849 views

Ubuntu gets/has wrong private IP address

When I log in via SSH to my Ubuntu server (current LTS 20.04), I get a greeting message with the eth0 private IP. I now needed to change my IPs in my home network from the default 192.168.178.0/24 to ...
User123456789's user avatar
1 vote
1 answer
1k views

podman container ip address should remain same with disconnect and connect

Assume podman network net1 and container cont1. I connect podman network to a container during creation with --net net1. Also use podman network disconnect/connect net1 cont1 commands to dis-and-...
ItzMe's user avatar
  • 23
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....
maksim2112's user avatar
0 votes
0 answers
103 views

connecting to ssh on different network

I want to be able to connect to my server when I am not home, but when I try connecting with my public IP, it shows the message: 'ssh: connect to host ...** port 22: Connection refused' I have ...
ilia a's user avatar
  • 1
0 votes
1 answer
510 views

Remmina RDP - Issues with IP range on VPN

I've recently switched to ubuntu after many year using windows 10. After this switch, I couldn't remote connect to my work server (over VPN - OpenVPN). The error in Remmina was "Couldn't connect ...
vmisq's user avatar
  • 421
0 votes
0 answers
383 views

How to have a same static IP address in all the networks

Imagine, I have an application at office which is bound to use 10.x.x.x IP address once it is installed. The gateway of this address will be 10.x.x.1 and this IP is set as static. So, when I move the ...
Abhijith H R's user avatar
0 votes
0 answers
127 views

iptable rules to allow downloading stuff while default policy is on DROP

I was trying to install bind and for some reason I was getting issues most likely due to my iptable rules , I can ping google.ca anybody have any reccomndations down below are my current rulesets ...
Zak A's user avatar
  • 1
4 votes
3 answers
5k views

How to disable temporary dynamic ipv6 addresses in Ubuntu 21.10?

By default Ubuntu 21.10 (should be the same for 20.04) does generate temporary/privacy IPV6 addresses. I would like to disable this behavior in order to make my computer into a server, and to do so I ...
user2491400's user avatar
0 votes
0 answers
109 views

Setting up Mail Server for multiple domains mapped to different ip addresses

We have taken dedicated hosting and using it for hosting multiple domains. The different domains are mapped to different ip addresses. for example example1.com mapped to 1.0.0.1 and example2.com ...
Gurpreet Singh's user avatar
0 votes
1 answer
362 views

Connection logs from previous day

I have a problem. I have a vps running Ubuntu server that got ddossed yesterday and I would like to know what ip address it was coming from. We have an ip that we think might be the ddos, but we don’t ...
Ruubbie's user avatar
0 votes
1 answer
553 views

How to setup netplan/networkd to detect an IP conflict being putting networking online?

We've hit an issue where our Ubuntu 20.04 systems seem to bring networking up without verifying there's no IP conflict that will occur. Our Red Hat based systems check for any collision and if ...
Ron Rossman Jr's user avatar
0 votes
2 answers
56 views

HPLIP Catch-22: Need IP to install printer / need to install to get IP

I'm installing an HP Officejet 4155. There are no usb ports on it, and HPLIP can't find it on the wifi without having the IP address first. Of course, to get the IP, I need to access from a computer. ...
Patrick's user avatar
-1 votes
1 answer
383 views

How to cut electricity to USB dongle

is the Huawei E3372 LTE USB stick unlocked, I have a sim inserted in the dongle. The thing is to completely turn off the device to change the external IP of the sim. When I unplug and plug again the ...
Luis Flores Ferri's user avatar
0 votes
0 answers
204 views

How to access HTTP service by typing IP address in Firefox?

My ip is 192.168.142.128. But I can't access it. I'm running Ubuntu in Virtualbox. How can I fix this?
user8314628's user avatar
0 votes
2 answers
904 views

Raspberrypi 21.10 Server static IP but boots with 2 IP (one from DHCP?)

Set up pi with a static IP (10.0.0.180/24) following https://ubuntu.com/tutorials/how-to-install-ubuntu-on-your-raspberry-pi Raspberrypi4 -4 with 8g At boot it displays eth0 IP 10.0.0.180 eth0 IP 10.0....
Berniek's user avatar
  • 11
1 vote
0 answers
2k views

Temporary failure in name resolution Ubuntu 20.04.3 LTS

I have a brand new machine and get this error after every reboot. $ ping google.com ping: google.com: Temporary failure in name resolution $ cat /etc/resolv.conf nameserver 8.8.8.8 nameserver 8.8.4.4 ...
pigfox's user avatar
  • 131
0 votes
1 answer
3k views

What's the difference between address 0.0.0.0, [::] and *?

If you run something like ss -tunlp (or netstat -tunlp) you get a list of listening ports. The standard format should be <host>:<port>, eg. 127.0.0.3:5000. But you also see 0.0.0.0:<...
étale-cohomology's user avatar
6 votes
4 answers
5k views

is it possible to alias a port number?

I want to run a service on a custom port (e.g. jenkins on 8080) and I prefer to access it via browser with a name I can remember, e.g. http://localhost:jenkins which will be an alias for http://...
CIsForCookies's user avatar
0 votes
0 answers
240 views

Disable ipv4 for a specific process

Is it possible to disable IPv4 on a per-process basis? I would like that a specific process only uses IPv6 for resolving DNS and then for making TCP connections, but without disabling IPv4 for the ...
Enrico Detoma's user avatar
1 vote
0 answers
170 views

Some Websites/Pings return network unreachable 20.04

I am a fairly new user working through the set-up of a dual boot on my PC. The Windows OS is able to reach all websites, and I am using the same connection. (Ethernet into a wireless adapter). The ...
Crutio's user avatar
  • 11
0 votes
0 answers
363 views

server address and ip in ubuntu 20.04

I have not used ubuntu much, only when I have to deploy a web. Right now I am trying to deploy a python django web, but I have an issue with ip address. So, I tried python manage.py runserver at first,...
beginnercoder's user avatar
0 votes
1 answer
413 views

Multiple IP addresses assigned to the same physical interface AND unable to access internet

Skip this paragraph if you don't want to hear about me. I am not a network engineer, I am not a software engineer. I am a video editor. I maintain a small network of storage servers, and have for ...
Wes's user avatar
  • 1
1 vote
2 answers
2k views

ubuntu server 18.04 set dns server name without change after reboot

I am new in ubuntu. When installing Ubuntu, I set the network settings manually and manually set up the IP and DNS server in installation wizard , but now I after installation complete can not change ...
Amir133's user avatar
  • 155
0 votes
1 answer
599 views

How can I make Lamp Web Server Stack discoverable to others devices in LAN?

I've followed official Canonical Community tutorial about setup basic Lamp Web Server stack to host WordPress sites (For local development). I tweaked it so it could work well with files permissions. ...
AtomX's user avatar
  • 441
0 votes
0 answers
202 views

I am trying to restrict Azure NSG outbound internet traffic and allow only traffic for ubuntu updates for a VM. Do we have static IP for update server

We are checking if there is static public IP which is not changed frequently for the ubuntu automatic updates in Azure VM to configure the same in allowed outbound traffic in NSG.
Parames Waran's user avatar
1 vote
1 answer
461 views

PXE server - broadcast port restriction on boot client demand

I would like to setup my PXE server to attribute a correct IP-address, only for clients requesting network boot. Therefor I've configured my network adapter with 2 IP addresses on a different range. ...
user avatar
0 votes
1 answer
960 views

Logged into remote server with key but can't upload file with scp

New to Ubuntu, I logged into my institution's remote server having generated a private/public key pair. I was set up with a username after sending the administrator the public key. I should have been ...
Michael Smith's user avatar
1 vote
1 answer
1k views

Where is the Internal IP address stored in Ubuntu?

Is there some file in the Linux-Ubuntu filesystem that contains the internal IP of the machine running it? Ideally, is the output provided by the following command hostname -I saved somewhere in the ...
AndrewSpan's user avatar
0 votes
0 answers
164 views

Network Connectivity Problem after changing IP

I have a weird problem I have two networks (Site A) and (Site B) connected via a cisco router Site A has pcs like A1, A2, A3 Site B has pcs like B1, B2 (Windows Server) , B3 (Ubuntu 18.04.5) All pcs ...
user9082746's user avatar
0 votes
1 answer
342 views

vsftpd LAN and WAN access configuration

I'm using Ubuntu Server 20.04 LTS baremetal, with the latest version of vsftpd. I have a very small FTP server at home, but I'm facing the following issue: If I set the local IP on pasv_address (...
John Balak's user avatar
0 votes
1 answer
127 views

NetworkManager is supossed to create a file everytime it connects to a wireless connection?

Here is the NetworkManager.conf NetworkManager.conf [main] plugins=ifupdown,keyfile [ifupdown] managed=false [device] wifi.scan-rand-mac-address=no My question is why the constant reconnection to ...
dudupreto1's user avatar
0 votes
0 answers
161 views

Can't ping or access specific website

I have tried pinging this website: www.epfl.ch or accessing it in my browser on ubunut but I can't. I know as a fact that the website is running since I can access it from my android phone. Also if I ...
KFkf's user avatar
  • 109
0 votes
0 answers
848 views

Confused about Linux virtual interfaces

I have some misunderstandings about Linux virtual interfaces. I managed to find which interfaces are virtual and physical : ls -l /sys/class/net/ total 0 lrwxrwxrwx 1 root root 0 Sep 30 2020 bond0 ...
AlexP's user avatar
  • 103
0 votes
1 answer
91 views

Bad internet access after defining fix ethernet IP-address

I have assigned a fix IP address to my ethernet connection for some project. Since then, my Wifi is extremely slow and sometimes I can't even access webpages. As I'm not specialist into this, so I ...
Joachim Bsh's user avatar
1 vote
1 answer
2k views

Old static IP address returns after reboot (Ubuntu 20.04)

I have Ubuntu server 20.04 running on my home network as a media server and for storage. I changed ISP's recently (I live in the country and am limited on my ISP choices) and they don't allow me to ...
Kelly Gafford's user avatar
1 vote
1 answer
1k views

How to assign the same static IP to a wired and wireless NIC?

I have a machine (18.04, will be 20.04 at some point) that has a wired NIC as well as a USB card with a wireless one. It is usually connected by cable, but sometimes the cable is disconnected (...
WoJ's user avatar
  • 1,315
2 votes
1 answer
5k views

Why can't two interfaces belong to the same subnet?

I have a setup in which I have two hosts (A and B) connected between them. Each host has got a 4-port Network Interface Card (NIC). When I configure all eight interfaces to belong to the same subnet ...
anmomu92's user avatar
0 votes
0 answers
1k views

Is there an equivalent ip command parameter to the ifup "--force" argument?

As ipconfig is depricated, I am looking at the ip command. As ip can up/down interfaces, I am also looking to change ifup etc. But I do not see an ip equivilent to the likes of: ifup --force wlan0 Or ...
irdroid3's user avatar
0 votes
0 answers
266 views

how can I do ip forwarding with one NIC?

I have two computers and each has one NIC . is it possible to forward IP through one NIC? or I need at least 2 NIC in one of my computers? EDITE: I need ip forwarding in my local zone. for example ...
SeAlGhz's user avatar
  • 43
0 votes
1 answer
6k views

Need Software to view and record ip camera

I have a Zmodo camera that is no longer supported. The app I have for it is 32 bit from windows Xperia days. I don’t use windows and would like to find an ip camera app that supports h264 format for ...
David Brown's user avatar
0 votes
0 answers
1k views

IP forwarding but getting ARP requests

I have an issue with ip forwarding. Basically I have two interfaces: eth0 - 192.168.9.2 - Routes to internal network (192.168.20.0) eth1 - 192.168.8.100 - Routes to internet pi@raspberrypi:~ $ ...
Brian Farris's user avatar
0 votes
0 answers
28 views

Ubuntu 18 with 2 externals and one internal NIC, I can only acces my server from one external NIC at a time

Internal network : 192.168.10.X External network : 149.58.60.X Here are my interface : eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 00:...
Ghislain Bergeron's user avatar
1 vote
3 answers
2k views

Command for determining my public IP? (old question)

Command for determining my public IP? According to "Michael K" who answered the question my computer won't know the public Ipv4 address but it somehow knows the public ipv6 address. Why is ...
Ethan Brown's user avatar
0 votes
0 answers
36 views

Need to set my ubuntu server 18.04

I want to assign my ubuntu server 18.04 set with a static ip 192.168.0.225 could you please tell me what I should put in my 00-installer-config.yaml file. Thank you Does this help? root@unbuntuserver2:...
cal's user avatar
  • 41
2 votes
2 answers
2k views

Setup Weylus using USB tethering

Being behind corporate firewall, I need to make Weylus works via USB Tethering. The README says it's possible but doe not provide step-by-step instruction. How can I have it working via USB Tethering? ...
robertspierre's user avatar
0 votes
2 answers
2k views

netplan using wrong backends

Background I have a netplan .yaml configuration file in /etc/netplan/. The first few lines are as follows: network: version: 2 renderer: networkd ethernets: # ...and so it continues... When I ...
Jake Levi's user avatar
  • 111
0 votes
1 answer
4k views

Access to a VMware VM Ubuntu server via SSH from the internet with public IP

I'm using Ubuntu Server 20.04.2 which is fully functional inside my home network. The server is a VM inside VMware Workstation Pro and I can access it via SSH using its IP address 192.168.42.135 Now, ...
NicoCaldo's user avatar
  • 139
-1 votes
1 answer
58 views

Shell script to execute command if a file contain an ip adress

Is there a way to verify a file and confirm existence of an IP address to execute a command upon ip add confirmation within the file? thank you
grimdex's user avatar
  • 41

1
2
3 4 5
12