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

learn more… | top users | synonyms

24
votes
2answers
11k views

Public IP Address for LXC container

Ok, so I want to know how to do networking on LXC containers. Not just the sort of vague information you get from the other websites, but a true beginner's guide to making them work.. Since most ...
12
votes
6answers
6k views

How to control an Ubuntu PC from another Ubuntu PC over Internet, using mobile broadband connections?

There are two Ubuntu PCs called A and B. A and B are connected to the Internet using two separated Internet connections. (In my case, two mobile broadband connections ppp0 x2 ) Each connection has a ...
9
votes
2answers
9k views

Change IP address which is given by Tor using the terminal

Is there a way to change the IP address which is given by Tor from the terminal? I have the Tor service, and I want to change the IP address which Tor gives me from the terminal. Or in other words: ...
8
votes
4answers
10k views

How to show (just) the IP address of my router?

What command can I run to get just the IP address of my router? With this command I should have only IP of my router and not, for example, the whole routing table (as when I run route -n).
6
votes
7answers
9k views

Displaying IP address on eth0 interface

How can I display the IP address shown on eth0 using a script ?
5
votes
5answers
29k views

ping multiple IP's using bash?

I have 10 IP numbers which I have to ping daily for checking , How I can do that by using BASH script. So that I can automate that task by using cron. I want BASH script only. Thank you.
5
votes
2answers
6k views

'ip rule flush' breaks all connectivity

I'm configuring some network stuff, and every time I try something the connection breaks. Thinking that I must be configuring something incorrectly to break all connections, I did a bit of ...
5
votes
3answers
16k views

How can I hide or show a different IP to a website?

I'd like to watch BBC Iplayer...but it only works in the UK. I am currently living in Spain. Is there a way to hide my ID and make the bbc website believe that I have a UK IP or something?
4
votes
3answers
29k views

I need to reset my computer's ip address to dhcp from static

I have been running a file server on Ubuntu for a couple of years now. Recently I had to take the network down. When I brought it back up, my server lost its ip address from the router. I can't ...
4
votes
2answers
4k views

How can I find the IP of a NAS connected via SMB?

The question says it all. I have a NAS which was working quite well for quite some time. For some or other reason I started using smb instead of ftp. Now I can no longer access the configuration ...
4
votes
2answers
15k views

Ethernet connection not working after installing Ubuntu 14.04 LTS

EDIT: PROBLEM IS BACK.. I cant figure out a permanent and reliable way around the bug (have managed the bug to go away 2 times) my files keep duplicating themselves with a ~ after their name, so if I ...
4
votes
4answers
12k views

Issue with setting up multiple IP addresses on Ubuntu Server

I want to set up two IP addresses on my system for access through LAN. This is my config on my other system. Desktop Installation My desktop installation runs with multiple IPs added through ...
4
votes
1answer
26 views

Setting up a server with IPv6

I have just upgraded my internet and my ISP (Comcast) sent me a new modem/router in one. I have managed to set the static IP of the server but after searching all over I can't figure out how to do the ...
4
votes
2answers
8k views

eth0 NO-CARRIER, ifconfig shows no IP address

I left Ubuntu and came back after a while so I don't remember much. Now I'm trying to get my IP address. All I'm getting from running ifconfig is eth0 Link encap:Ethernet HWaddr 3c:97:0e:11:22:...
4
votes
0answers
263 views

LXC bridging with two NICs

I am setting up a server to host a number of LXC containers, for now just isolating web and db services. The server I am using has two NICs and I'd like to use one for host traffic and one for ...
4
votes
1answer
12k views

Install Network Printer Manually (Router : TP-Link TL-WR842ND)

Router Model No. : TL-WR842ND After reading this article, I carry on the installation but it does not work. This is the properties page : I have attempted to print test page but the status shows ...
4
votes
0answers
12k views

How to set a static IP address? [duplicate]

apt-get fail to resolve the mirror. I am using my server as a backup server to one of my website servers. So I had to initially set a static IP address... How can I do it?
4
votes
2answers
4k views

IP Messenger Error on Ubuntu 12.04

I installed IP Messenger (GNOME 2) from Ubuntu software center but its not working. It's always showing an error message on Ubuntu 12.04. FileName:ipmsg.c Function:create_lock_file Line:157 Can not ...
3
votes
3answers
4k views

Get current ssh session's originating IP without being superuser

I am trying to find out the current ssh session's originating IP address. I found the following to be useful, but it requires sudo: $ sudo netstat -tapen | grep ssh | awk '{ print $5}' | sed '/0.0.0....
3
votes
1answer
666 views

What are the possible threats if internal IP address is publicly revealed?

In many cases, people do not take enough care to remove their IP addresses from some output before posting it to help forums and Q&A sites like askubuntu. Considering one's IP address is revealed ...
3
votes
1answer
6k views

How to make a permanent configuration to eth1

I need to configure eth1 with: IP address: 10.5.15.200; Netmask: 255.255.255.128; MAC address: A2:BB:CC:DD:5:15; Gateway: 10.5.15.129. Mac address must be set up before eth1 is UP. I must use pre-...
3
votes
1answer
127 views

iproute2 and NetworkManager on Ubuntu15.04

Is there a way to "properly" configure a default route using the iproute2 suite of tools on an Ubuntu system? My desktop/server is connected via ethernet to a switch; when the system boots and ...
3
votes
1answer
226 views

Public IP address hides device from network

I have flashed a mini-image of Ubuntu 14.04.1 LTS onto my BeagleBone Black. (Find latest BBB image). The BBB is connected to my home Router via Cat5 AND USB cables. Understandably, I can directly SSH ...
3
votes
1answer
54 views

Iptables block all incoming IPs

Is it possible block all incoming IP addresses, allowing only one or two IP addresses access on Ubuntu server?
3
votes
1answer
172 views

What IP address does Ubuntu assign itself when it cannot reach a DHCP server?

When Windows is attached to a network but cannot reach a DHCP server, it defaults to an IP address of the form 169.254.XXX.XXX. Does Ubuntu do something similiar?
3
votes
1answer
12k views

Redirect requests mapped to a DNS IP Address

For this command lines: sysctl net.ipv4.ip_forward=1 iptables -t nat -A PREROUTING -p tcp --dport port -j DNAT --to-destination ip:port iptables -t nat -A POSTROUTING -j MASQUERADE I can reroute ...
3
votes
1answer
258 views

ip addr show is showing me two IP address on one interface

I am seeing two IP address on a single interface in a weird way. This is my output of ifconfig -a eth0 Link encap:Ethernet HWaddr b8:27:eb:26:b1:c8 inet addr:10.0.0.22 Bcast:10.255....
2
votes
2answers
1k views

Floating IP Address

What does 29 means in this floating ip range 192.168.1.0/29? I know it will give 6 usable floating ip but how can i know the what number other than 29 can I use to give me more range for my floating ...
2
votes
1answer
738 views

Multiple IPs for a single WIRELESS NIC

I would like to have both a static IP or two (different locally routable subnets) and a DHCP virtual interface on a single physical wireless NIC. Any suggestion on how to address that? Ubuntu 12....
2
votes
1answer
2k views

How to change the default TTL of TCP/IP packets?

I need to change the default TTL of TCP/IP packets sent from my Ubuntu computer. I found the solution for Windows: To make reg-file: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\...
2
votes
1answer
1k views

USB/IP Kernel modules are missing.

I wish to utilize the USB/IP project for school project, but I am having trouble starting the host. We are attempting to send signals from accessibility devices for children with extreme motor ...
2
votes
1answer
175 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
3answers
54 views

Script not having permission to write

Hello i have to write a script with the name setip that can be ran like this: ./setip ip mask ,and that must set the ip ip and the mask mask on the lo1 interface.this is the content of my script, but ...
2
votes
1answer
523 views

Send message computer same WIFI?

Am at school and they all use the same wifi .. I wanted to ask how can I send a message from terminal or something to a girl that I like! I only know the name of his computer nothing other!!
2
votes
3answers
406 views

Connecting Two Computers Together: Assigning IP doesnt work

I messed up. I have two network cards in one machine and one in the second. I tried to connect two computers together by setting a static IP on two machines like this: comp1: sudo ip ad add 10.0.0....
2
votes
2answers
422 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
2answers
20k 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
2answers
311 views

How to find ip address for the apache2 server on ubuntu?

I have downloaded ubuntu on virtualbox , and I installed apache2 on it ,i did configured the server and it works on "localhost" ,the problem is that i need the ip address of the server ,the command '...
2
votes
1answer
1k 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
1answer
870 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
2answers
4k 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
1answer
9k 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
1answer
6k 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
1answer
1k 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
1answer
667 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
1answer
548 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
1answer
343 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
1answer
340 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
2answers
3k views

How to get remote server's ip?

I've got the server's adress and I don't know how to get its ip adress. I have an access via ssh and I need it so bad, please help. (As for your information I've been looking for this for some time, ...
2
votes
1answer
75 views

No internet connection over cable (but wifi works) [closed]

I have Ubuntu Desktop 14.04 installed on MSI GT660. I am Linux newb. I can connect to internet using wifi but not over cable. contents of /etc/network/interfaces: # interfaces(5) file used by ifup(...