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

22
votes
1answer
7k 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
5k 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 ...
5
votes
2answers
5k 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
10k 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
4answers
807 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).
4
votes
2answers
18k 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
2k 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
1answer
3k 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 ...
4
votes
1answer
8k 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
1answer
3k 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
1answer
157 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
145 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
3answers
8k 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 ...
3
votes
1answer
9k 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 ...
2
votes
3answers
1k views

Displaying IP address on eth0 interface

How can I display the IP address shown on eth0 using a script ?
2
votes
4answers
12k 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.
2
votes
1answer
353 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 ...
2
votes
2answers
835 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
459 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 ...
2
votes
1answer
90 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
44 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
2answers
4k 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: ...
2
votes
1answer
385 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
293 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 ...
2
votes
2answers
375 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
1answer
5k 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 ...
2
votes
2answers
13k 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
1answer
58 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
1answer
681 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 ...
2
votes
2answers
3k 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
5k 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
957 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
534 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
515 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
2answers
1k 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
7k 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 ...
2
votes
0answers
167 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 ...
2
votes
1answer
29 views

Why shell and browser return diffrent ip address?

I set global WebProxy by UBUNTU setting->network->networkProxy and then i open http://whatismyipaddress.com/ and i get my proxy ip address but when i use this command: wget -qO- ...
2
votes
0answers
216 views

Macvlan interfaces beyond first interface fail to connect.

I've been working on a project to build a set of macvlans on ubuntu. The process I'm using comes from here. In short, I run this set of commands to build and initialize an interface: ip link add link ...
2
votes
0answers
146 views

found someone lurking in my LAN, not sure what to do next

I have DD WRT router with internal numbers all falling within 192.168.1.0/24. I was looking on my firewall records this morning and found someone at 10.10.109.100 got blocked from accessing port 5353 ...
2
votes
0answers
2k views

Postfix cannot resolve local IPs from Name Server

I currently have a server running "Ubuntu Server 12.04.1 LTS" installed with Postfix Bind 9 (Slave) The postfix cannot seem to resolve my internal IPs to Name Server (PTR) entry I have within ...
1
vote
3answers
178 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 ...
1
vote
2answers
1k views

Can Ubuntu query the modem or router for the IP address given by his ISP and log that?

I am connected to Internet through an ADSL modem, my ISP gives me an IP address, does Ubuntu log this IP address somewhere? How can I configure Ubuntu to log the IP address?
1
vote
3answers
6k views

Setting a static IP address.

I'm trying to set a static IP address in 12.10. When I run ifconfig, I find that both lo and wlan0 have downloaded packets. In my /etc/network/interfaces file it says auto lo. Which should I be ...
1
vote
3answers
4k views

How do i make ubuntu request a specific ip address from a dhcp server?

So here's the deal. My router assigns ip addresses starting from 192.168.0.50. I have a couple of computers running ubuntu which i want the router to assign 192.168.0.50 and 192.168.0.51 every time ...
1
vote
2answers
255 views

How to find valid static IP address?

I am about to set up a pc with ubuntu server 14.04.1. I want to assign it a static ip address. How can I find a valid IP address that is not already being used? Is there a way to do that from ...
1
vote
3answers
4k views

Why does my IPv4 adress keep changing?

I am running many servers off of my computer and I need to port forward to do that. But recently my IPv4 Address keeps changing when I shut my computer off and turn it back on. I have no clue why ...
1
vote
1answer
516 views

can't /etc/hosts be set up automatically?

what I need is: automatically add mac-addresses to some file and manually add the hostnames assigned to them, and a script will then scan my home LAN for those mac-addresses and populate the ...
1
vote
2answers
60 views

How to have terminal repeat with different IP?

Would it be possible to get terminal to repeat nslookup starting from 192.168.1.2 through 192.168.1.20 to look at all the computers in the network without having to go into the server. Is this ...