Questions tagged [ip]
IP or Internet Protocol. Use this tag for questions about IP addresses or configuration, or the protocol as applied to Ubuntu.
569
questions
2
votes
2
answers
11k
views
Adding a Xerox Printer to Ubuntu 16.04
Good Morning,
I am trying to add a Xerox 7125 printer to Ubuntu 16.04 LTS.
I have downloaded and extracted the PPD from Xerox's Website, which is just a generic PPD, I added the printer by IP and ...
2
votes
3
answers
22k
views
How to change your Local IP?
While I order a hp server for my Ubuntu server, I am currently temporarily using my laptop as a server instead. I installed Ubuntu 13.10 and other programs like Webmin, etc, etc while being connected ...
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 ...
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 ...
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? ...
2
votes
1
answer
3k
views
Display IP address in panel ubuntu
I need to display my ip address in my ubuntu panel and it's doable when you install giplet, but from what I understand, giplet is no longer supported by GNOME3.
Is there another way to display my ip ...
2
votes
1
answer
15k
views
find out external ip and use to access ssh server
I would like to scp some large files from my lubuntu laptop to windows desktop. The ip address retrieved with ip -a command however only allows me connect from the laptop to itself. Router or modem is ...
2
votes
1
answer
2k
views
Is there a way to show external IP in top bar using GNOME 3.28.2 in Ubuntu 18.04
Using some answers I found here: Add a custom text to GNOME panel
I have tried making my own applet but I have not succeeded.
Does someone know of an application that works in Ubuntu 18.04?
There ...
2
votes
1
answer
3k
views
iptable rule to route only outbound traffic through VPN
I have a server at myserver.com and I want people on the Internet to be able to access that server using its name, but I want all the outgoing traffic that isn't a direct response to incoming traffic ...
2
votes
1
answer
10k
views
netplan or /etc/network/interfaces?
Is wireless networking better handled through /etc/network/interfaces as so:
thufir@doge:~$
thufir@doge:~$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
...
2
votes
1
answer
689
views
Newer versions of traceroute have limited functionality
Running traceroute 1.9.4 on 8.8.8.8 shows
traceroute -m 30 -q 1 -w 3 -A 8.8.8.8
traceroute: invalid option -- 'A'
Try 'traceroute --help' or 'traceroute --usage' for more information.
However the ...
2
votes
2
answers
2k
views
Apt update fail and keep connecting to an weird IP
It's weird that no mater I update or crawl anything from web. There is always a connection timeout error.
when update
kevin@KevinChen:/etc/apt/apt.conf.d$ sudo apt-get update
[sudo] password for ...
2
votes
1
answer
172
views
How to add large ranges to UFW in Xubuntu 16.04
I know how to add all from a 111.222.63.xx:
sudo ufw allow from 111.222.63.0/24
But say I want to allow all from 111.222.xxx.xxx so all from 111.222.1.X all from 111.222.2.x, etc. How would would I ...
2
votes
1
answer
188
views
nmap search for specific IP range
How can I search with nmap in a specific range of IPs?
Like only IPs in 10.{1-99}.{1-99}.1.
Thanks.
2
votes
1
answer
1k
views
Show IP/MAC-address , running time/DNS server and logged in user name on desktop screen
Is there a way to show the following things on the Desktop? Not like a warning but like text in the right top corner, not where the hour and network connections are in the panel, but really on the ...
2
votes
1
answer
744
views
ip netns monitor not working in a script
I'm trying to use ip netns monitor in a script to react to the creation of new network namespaces, eg:
ip netns monitor | while read ACTION NETNS; do
echo 'handling it!'
done
However I never see ...
2
votes
2
answers
542
views
How to use multiple mobile Broadband, one for browsing and one for downloading, at the same time
I have two mobile broadband to connect to the internet. When they connected to the computer both are accessible from the network manager, but only one can be connected at the same time. Currently I ...
2
votes
2
answers
41k
views
How to configure eth1
I need to set up eth1 using these :
ip 10.5.15.200
netmast 255.255.255.128
mac address AA:6F:78:UI:34:34
and must be set up before eth1 starts
and default gateway must be the first usable address ...
2
votes
1
answer
2k
views
What is Ubuntu's IP reassembly timeout?
I've been told the IP reassembly timeout is 30 seconds, but I just need some clarification please
It'll be great if it was from Ubuntu too, as I need to reference it!
Thanks
2
votes
1
answer
3k
views
ip tuntap add gives "open: No such file or directory"
I'm inside a dockerized ubuntu 20 and trying to run the command below, but I get this error:
sudo ip tuntap add dev tun0 mode tun user `id -un`
open: No such file or directory
tried this: https://...
2
votes
1
answer
2k
views
restart needed for changing static IP to be applied
sometimes on Ubuntu, I need to restart the system in order to static IP that I have set to be applied.
I mean it should be changed once I have selected the network interface and bring it down and ...
2
votes
1
answer
900
views
Can't etablish connection with Owncloud and Docker
I created a cloud with owncloud run in docker. I download and extract this :
https://github.com/owncloud-docker/server
I open terminal in the folder and I type this :
sudo docker-compose up
So ...
2
votes
1
answer
3k
views
Hotspot Access Point under Ubuntu / LUbuntu 16.04 with DHCP Server
My goal is to set up an Access Point under Lubuntu 16.04, which assigns IPs to clients dynamically via DHCP. No internet connection sharing or stuff like that. Just the Lubuntu machine which runs e.G. ...
2
votes
2
answers
6k
views
Run service in its own ip netns namespace on Ubuntu 16.04
I used to run services in 14.04 by executing
ip netns exec namespacename service start servicename
But I realized that this doesnt work anymore on 16.04. The service starts in normal namespace.
I ...
2
votes
2
answers
6k
views
Where is the "automatic (DHCP) addresses only" option in network?
I am trying to change my DNS to Google Public following these steps.
However, my IPv4 settings lack this option. Why is it missing?
2
votes
1
answer
1k
views
How to resolve an internet IP Address into its FQDN
We are trying to use etherape to see what http traffic is going through our network but, when running, most external nodes are displayed with their IP address and not their fqdn even though etherape ...
2
votes
1
answer
907
views
Why is my ubuntu ip always changing?
I have my ubuntu running in a hyper-v vm instance which I access the default apache website from the windows 10 host.
everything works great but very often the ubuntu ip is changing I dont know why......
2
votes
1
answer
2k
views
IP address changes in vmware?
I am using Ubuntu 13.10 in vmware on my Windows PC. So the problem is: when I see my IP using ifconfig command then it shows 198.168.33.180, but when I see my IP on whatismyip.com (on Ubuntu), it ...
2
votes
1
answer
1k
views
can I use bind9 as a DNS to resolve to an external IP?
Question says it all. I have a digital ocean IP address and I want to know if I can use bind9 to resolve a registered domain on a completely different network/IP? If not, what can I use?
Thanks!
2
votes
1
answer
3k
views
Why does my static IP address change itself every 24 hour period?
I'm using Ubuntu as a server running tomcat for a web application and my static IP changes every 24 hour period from xxx.xxx.xxx.100 to xxx.xxx.xxx.102 and because of that I have to restart my session....
2
votes
2
answers
10k
views
Can ping but cannot wget with server name
I have a problem. with the help from the people at this forum I managed to setup my network. To recapitulate i have two computers comp1 and comp2 connected like this
comp2(eth0) -> comp1(eth1)
...
2
votes
1
answer
12k
views
I can ping IP address but can not ping hostname
My address:
user@pc1:~$ ifconfig eth0 |grep "inet "
inet addr:192.168.2.10 Bcast:192.168.2.255 Mask:255.255.255.0
I can ping this address
user@pc1:~$ ping -c 1 192.168.2.11
PING 192.168....
2
votes
1
answer
7k
views
Samba share not accessible from Windows 7 (on domain) via hostname
I have spent several days attempting to solve this- none of the answers on this forum or any other were able to help. I tried everything. I read the entire Samba manual. Nothing worked.
Happily, I ...
2
votes
1
answer
2k
views
How to send packets via a pptp vpn tunnel?
I'm trying to send certain port traffic through my ppp0 interface it's a pptp vpn tunnel,
First, I'm using a wireless usb interface, I connect up to my access point, then I initiate my vpn, there is ...
2
votes
1
answer
879
views
How to make some Virtual IP Address?
I want to make some Virtual IP Addresses for my network adapter or wireless adapter, so that I can connect to network with more than one IP address from one computer or laptop.
How can I do it? (I ...
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 ...
2
votes
1
answer
106
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 ...
2
votes
1
answer
5k
views
How to configure ip static in Ubuntu Server 16.04 running in Hyper-V
I've configured a Static IP in Ubuntu Server, but when I do an ifconfig -a I don't see the new IP.
I must reload the new IP?
My configuration:
sudo nano /etc/network/interfaces:
auto eth0
iface ...
2
votes
1
answer
532
views
Why does all of my internet traffic go through one interface?
Why does all of my internet traffic go through one interface?
I have three interfaces that have their own public IP address on my server.
For example, when I ping the IP of venet0:3 then I see zero ...
2
votes
1
answer
1k
views
Multi gateway routing in ubuntu
I want to setup Multi gateway on my Ubuntu Machine. 1 for ethernet and another for USB tethering. After browsing, from the below reference
https://www.thomas-krenn.com/en/wiki/...
2
votes
1
answer
857
views
Finding all used IP addresses within a LAN without assigning an IP address to your NIC?
Is there any way that you can find all the IP addresses within a LAN without assigning a IP address to you NIC?
I know most of the tools like angryipscanner, arp-scan, nmap and others can mostly ...
2
votes
1
answer
2k
views
Vpn connection not use default gateway
Can I configure a VPN connection, such that after the VPN connect I can still use internet on local machine?
On Windows I can resolve this by unchecking the following box in ip config:
2
votes
0
answers
798
views
I can't access port externally. What can I do?
(Ubuntu 20.04)
I have ufw disabled, and I can't seem to access my game server externally with the public IP and port (1848). I can however, connect locally, just not externally.
When I run: netstat -...
2
votes
1
answer
643
views
Why does the Ubuntu Server installer ask for both a subnet and IP address?
When installing a new Ubuntu server instance, the installer asks for a subnet in CIDR notation and then it asks for an IP address without CIDR notation.
Why can't I just specify the IP address in CIDR ...
2
votes
0
answers
1k
views
netplan doesn't support loopback routes eg: ip route add local default dev lo table 100
I need to route everything with mark 1 to loopback address. With
ip rule add fwmark 1 table 100
and
ip route add local default dev lo table 100
It works fine. But I want to make it permanent with ...
2
votes
0
answers
713
views
Ubuntu Server 18.04.2 randomly stops responding to PING
So I have been having an issue with a new Ubuntu Server 18.04.2 LTS. I've re-installed the OS multiple times and it has the same problem. I feel like I'm just missing something. Any help you can ...
2
votes
2
answers
1k
views
Routing IP addresses in Ubuntu 18.04
I have been scratching my head about this all day. Basically, I have several servers on a private network, each with a private IPv6 address assigned and a public IPv4 and IPv6 assigned. I want the ...
2
votes
0
answers
8k
views
traceroute is not showing ip's instead it showing stars
I have installed traceroute in my ubuntu 18.04. Now when I want to trace a website's ip route then in the first line it shows a ip (may be my ip address) but in the fext following address it prints ...
2
votes
0
answers
107
views
VM (created through Vagrant) is not listing the inet in eth1
I created a VM through vagrant with the following in vagrant file:
config.vm.box = "ubuntu/trusty64"
......
.....
..
config.vm.network "public_network"
Note the warnings here :
...
2
votes
0
answers
219
views
Interfaces with non-physical interfaces
I found a rather big difference between some boxes I have (some are debian... some ubuntu), and I'm not sure why... or what the fix might be.
Essentially... if I create an "iface" entry in interfaces ...