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

20
votes
1answer
5k 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 ...
10
votes
6answers
4k 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
3answers
6k 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
2answers
4k 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 ...
4
votes
2answers
11k 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
1k 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
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
2k 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
60 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
126 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
6k views

Issue with setting up multiple IP addresses on ubuntu server installation

I want to setup 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 IP's added through ...
3
votes
1answer
8k 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
0answers
4k 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 ...
2
votes
3answers
210 views

Displaying IP address on eth0 interface

How can I display the IP address shown on eth0 using a script ?
2
votes
4answers
4k 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
138 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
568 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
3answers
30 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
246 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
203 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
323 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
311 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
600 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
2k 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
4k 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
797 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
435 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
491 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
374 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
6k 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
1answer
1k 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 ...
2
votes
0answers
109 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
25 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
155 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
133 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
1k 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
2answers
910 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
2k 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
129 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
2k 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
3answers
5k 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
1answer
418 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
30 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 ...
1
vote
1answer
96 views

Able to access web by ip, but not by dns name

I'd like to post a solution to a problem I've encountered in my university. The issue is closely related to this post. I asked the user whether or not he found a solution but he never responded. In ...
1
vote
2answers
79 views

Is there a better way to programatically get the networking parameters from Linux OS?

I am writing some scripts which need to programatically get a lot of networking parameters from Linux OS. For example, the names of all network interfaces, ip address, netmask, MAC address. For ...
1
vote
1answer
144 views

Whitelist IPs for ufw

I have set some rules in ufw to rate limit connections, as such: -A ufw-user-input -p tcp --dport 25 -m state --state NEW -m recent --set -A ufw-user-input -p tcp --dport 25 -m state --state NEW -m ...
1
vote
1answer
2k 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: ...
1
vote
1answer
68 views

How to block ips similar to editing the HOSTS file on windows

I have recently switched to Ubuntu and need to block a few Ips for gaming. Previously, I could simply add a line to the File in C:\Windows\System32\Drivers\etc\HOSTS but I am unsure how to do this on ...
1
vote
1answer
131 views

Ubuntu Server 12.04 stops responding soon after assigning a static IP manually

I know there's a lot written about this issue but no response seem to answer my question. So I am wondering my problem is with the most recent version of Ubuntu. I have just installed an Ubuntu 12.04 ...
1
vote
1answer
4k 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 ...