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

19
votes
1answer
4k 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
4k 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
3k 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
9k views

How to set a static IP address?

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
8k 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
801 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
1k 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
115 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
5k 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
7k 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
1answer
86 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
511 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
163 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
290 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
261 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
408 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
1k 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
3k 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
732 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
382 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
470 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
4k 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
126 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
56 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
22 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
123 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
125 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
717 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
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
4k 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
381 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

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
133 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
44 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
123 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!!
1
vote
1answer
113 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
3k 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 ...
1
vote
2answers
6k 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 ...
1
vote
1answer
2k views

Adding IP address to OpenVZ VPS (OpenVZ Web Panel)

I apologise if I sound at all dumb. This is my first dedicated server having used a VPS for over a year and I'm trying to setup a VPS on this new server. I purchased a subnet from my hosting provider ...
1
vote
1answer
2k views

Setting up a mail server to send mail from IP

I have a fixed LAN IP, but no domain name. I'd like to be able to send emails within the LAN, and receive mails sent to my IP (user needs to send an email to username@10.xx.xx.xx). I've tried the ...
1
vote
1answer
20 views

What's my public IP over a Tor?

I'm attempting to figure out how to obtain the IP address that represents my connection over a tor network. What do I type into a terminal to see this information. Ultimately, I'm attempting to create ...
1
vote
1answer
50 views

Multiple IPs on different subnets on one interface

I have managed to configure two IPs from different subnets on the same card. I changed /etc/network/interfaces to have: auto eth0 iface eth0 inet static address 172.16.4.254 netmask ...
1
vote
1answer
85 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 ...
1
vote
1answer
97 views

Ubuntu 12.04 secondary IP externally inaccesible

I have added a secondary IP to my virtual server, Ubuntu 12.04 running in OpenVZ virtual host. I used ip addr add xx.xxx.168.95/32 label venet0:1 dev venet0. When I do ifconfig the IP shows up below ...
1
vote
1answer
47 views

Login IP's file location

I like to know where the log files that store the SSH logins are located, the last login IP is shown when logged in via SSH so I'm sure they are kept somewhere, can anyone shed som light on this? ...
1
vote
1answer
63 views

Long waiting List for Internet: What are these IP addresses?

I am having a problem of slow Internet Browsing speed. When I checked it with NetHogs there was a huge list waiting for Internet. What are these IP addresses ? How can I find them ? Is it due to ...
1
vote
2answers
2k views

problems maintaining interent connection with static IP

I have been attempting to set up Ubuntu 12.04 with a static IP (with information provided by my university) as well as the local cycling IP on a workstation with two ethernet ports. However, I've had ...