the IP protocol and IP addresses

learn more… | top users | synonyms

2
votes
3answers
120 views

What's the difference between a machine's IP address and localhost

It is silly stupid question for you all. But until i know the answer , it is difficult for me. Doubt has raised from my another question Where if i give localhost to my path, it works. But it doesn't ...
1
vote
0answers
19 views

Is dynamic DNS the only possible way to establish a connection between two routers with temporally IPs?

the situation is as follows. My and my friends Pcs are connected within a WLAN with a local IP to a router, the router gets its global IP from different ISP with a limited pool of IPs, so the ISPs ...
1
vote
2answers
257 views

How to find MAC or IP address of a device connected to the same Ethernet bridge?

I have the following topology: DeviceX ------ | DeviceX bridge with two Ethernet cards (created with bridge-utils) ---------------- router | ...
0
votes
0answers
15 views

What's wrong with the mapping?

I am running two docker containers one is for hadoop basic services and other is for flume. Services are running successfully. I linked two containers env variables are automatically set by docker ...
1
vote
3answers
12k views

Changing the IP Address in Solaris 11

I am trying to change the IP address in Solaris, but am failing to do so. The IP address needs to be a fixed number, like 10.0.11.10 I have tried changing the IP address in /etc/hosts which I ...
1
vote
1answer
40 views

ifconfig made my server unreachable

I just got a second IP address for my Debian Squeeze root. I tried to add the address to my network but somehow I messed up. The command I executed: ifconfig eth0 [new ip address] mask ...
1
vote
2answers
93 views

Output only the IP addresses of the online machines with nmap

I know how to use nmap to find the list of hosts that are currently online. What I would like to do is get a list of just their IP addresses, now it displays extra information such as Nmap scan ...
3
votes
2answers
1k views

What is the simplest way to connect to wireless on a Debian system with nothing but essential?

I have a Debian Jessie system which, for reasons unrelated to this question, has nothing installed but the set of essential system packages. What is the simplest method for connecting to a wireless ...
1
vote
3answers
47 views

Can a Linux system have two IP's Simultaneously?

Recently I installed apache2 on Raspbian and after end of installation I entered the following cmd and got two IP's. $ hostname -I 192.168.1.17 192.168.1.24 Of this, I have been using the IP ...
3
votes
1answer
123 views

Strange ip command output

When I call ip addr show I get output with all interfaces and their IP addresses (look at eth7): 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback ...
3
votes
0answers
40 views

delay in IP route deletion

(Apologies if this is the wrong StackExchange for this question, but there does seem to be some confusion regarding appropriate targeting of IP networking questions) I am very much a network newbie, ...
1
vote
0answers
26 views

How to make sure to get the Main/External IP without regard to network device type/name

Hello, I need to make sure I have the external or at least the main IP address for a given machine, regardless to the device type/name. I quickly wrote that tiny script for that purpose, but I need ...
-1
votes
1answer
1k views

Static IP for Wifi Centos 7

Can someone explain to me how to setup a static ip for wifi on CentOs 7? This the configuration file I have for the network using DHCP: ESSID="Network name" MODE=Managed KEY_MGMT="key type" ...
0
votes
0answers
21 views

No DHCP OFFERS on several PCs in same network

I have different PCs and 2 of them don't get an IP-address (because they don't get a DHCP-offer) by the ISP, while the others do. I pluged them directly in my cable-modem, one after another. But when ...
1
vote
1answer
41 views

How can I have a bridge that uses DHCP?

I have set up a linux box (centos 7) to use for virtualizing some servers. I have set up a bridge, but I need to do it with DHCP, but it doesn't seem to like it. The reason I need DHCP is because ...
-1
votes
3answers
2k views

How does ifconfig find a machine's external IP address?

Normally when I want to check the external IP address of a given machine, I simply curl some external website that sends me a response telling me what my IP address appears to it. However, I've ...
9
votes
3answers
19k views

Why are my two virtual machines getting the same IP address?

I have two virtual machines both running on a Linux host (Fedora 16). I set both adapters as attached to NAT. When I boot them up they both have their default gateway set to 10.0.2.2. They also ...
3
votes
1answer
68 views
0
votes
1answer
100 views

Why can I connect to the IP of a network interface (on a server with multiple network interfaces) when the network cable is removed?

I have a Server with multiple (four) network interfaces running Arch Linux when I encountered something strange that I cannot explain. I have two interfaces configured to the the ip addresses ...
2
votes
0answers
129 views

Is Traffic control inside namespace on ports created by OpenvSwitch supported?

I am trying to limit the bandwidth of an interface inside a namespace using tc without much success. Seems it's not supported according to ...
1
vote
1answer
23 views

Connect to offline network on second interface

I would think there's likely a dupe of this around but I cannot find it. I have an offline router I'm using to connect a remote wireless device. The router cannot be configured as an access point, ...
1
vote
0answers
324 views

ping localhost sometimes fails with sendmsg: Operation not permitted

I have a problem with network adapter (i think) , look I trying to ping my self and got a error sometimes, how this can be ? First time in my life i see this. # ping 127.0.0.1 PING 127.0.0.1 ...
0
votes
1answer
91 views

ORACLE Weblogic IPV6 with oracle database on IPV4

I have one weblogic application currently working on IPv4 and jdbc connection to database is on IPv4. Since my machine has an additional Ethernet port that support IPv6, I am thinking to add an ...
-1
votes
2answers
75 views

How to find public ip for a freebsd system [duplicate]

Can someone tell me a command that will find my external ip for a freebsd 10 system.
3
votes
1answer
78 views

disable dhcp in initramfs

In Debian, how can I tell initramfs not to request an IP address via DHCP? I'm using initramfs-tools. I'd be okay with assigning a static IP address for the initramfs, but I can't find how to set ...
5
votes
1answer
172 views

bash_completion rule for resolving ip into hostnames

I am trying to create a bash_completion rule for my script rmpxe. This script takes <hostname> as its only argument. It then resolves this hostname into <ip_address> and removes the ...
3
votes
5answers
446 views

Why am I getting inconsistent IP values from icanhazip.com or curlmyip.com?

I wrote a bash script and appended to my crontab to query my IP address every minute, and if it is not the same with the previous query it sends me an e-mail to inform me for the IP address change. ...
0
votes
2answers
61 views

IP routing to domain

I have a remote device that sends data to an IP address through a specific port. The problem I want to solve is that I need it sends data to a domain, but device only allow set IP addresses. I want ...
5
votes
3answers
8k views

How can I restart a network interface?

How can I restart a network interface? I have a vm that doesn't update its IP address correctly when switching between home and work. The vm runs Ubuntu server and uses a bridged network adapter.
1
vote
0answers
56 views

Float MAC address in Heartbeat format

It's been about a month where I've been working with "High Availability" on Elastix based on DRBD and Heartbeat. As you maybe be familiar with it, there is a file in Heartbeat called haresources ...
1
vote
0answers
43 views

Add ipv6 route so packets go to eth0

I have 2 VM Ubuntu 14.04 in VirtualBox. They are connected in internal network. One Ubuntu is sending multicast data (via VLC) and one is receiving. I added this in both VM's so it works via IPV4 ip ...
1
vote
2answers
338 views

Fake IP addresses generator

I have an application running on a server that adds a new iptable rule blocking every IP address trying to connect via SSH with a wrong password. Now, I'd like to perform a stress test where many ...
3
votes
2answers
105 views

Show GEO IP information in Firefox when using tor

I've configured Firefox to use TOR (SOCKS proxy via localhost). Everything works great, but I would like to see at any time which IP in which country I'm using. is there a Firefox Addon, which ...
0
votes
2answers
63 views

Two virtual machine instance with same network on same host

Is this possible to have two (or more) instances of a virtual machine on a host with the same IP address (like 192.168.0.X)? What are the possible ways of implementing this? I need the two virtual ...
1
vote
1answer
127 views

ifconfig command showing internal ip address

I'm using centOS 6.3 on virtualbox as guest OS on Win 7 host. My problem is when I use ifconfig command in terminal, I'm being thrown internal IP address(10.x.x.x). However, when I googled "my IP ...
0
votes
1answer
43 views

Adding routes for configured virtual IP addresses of different segments

I have configured virtual IP addresses in different segments as below in RHEL box. eth0 - 192.X.X.208/27 eth0:1 - 192.X.X.219/27 eth0:2 - 10.72.X.19/24 eth0:3- 10.72.X.20/24 The problem here is as ...
1
vote
0answers
51 views

Where to find a basic tutorial/book on Linux networking? [closed]

I am not sure this question is eligible for this forum, so if not, please provide which forum is more suitable for this question. What I am looking for is a basic introduction in how networks work ...
2
votes
1answer
621 views

Is it possible for DHCP to assign different IP addresses to the same machine?

I have installed and configured a DHCP server on my CentOS 6.5. It works properly and assign IP addresses to the clients machines on my network, and as I noticed when a client reconnect the DHCP ...
0
votes
1answer
40 views

Understanding NAT concepts

I began learning networking on Linux, and I am looking for a way to associate a particular IP to a particular MAC address (i.e. a way to edit the NAT table?). Actually I am trying to assign some IPs ...
0
votes
0answers
42 views

Accessing CentOS7 server from public

recently I switched to CentOS 7 OS and set up basic webserver with Apache. I had no problems configuring SSH, FTP and LAN access to the webpage. But accessing from other IP's won't work. I'm 99% sure ...
1
vote
1answer
62 views

rkhunter reports /sbin/ip has changed

I am using rkhunter 1.4.2 on CentOS 6.5. A message, in /var/log/rkhunter.log is Warning: The file properties have changed: [09:40:35] File: /sbin/ip [09:40:35] Current size: 247396 ...
3
votes
3answers
15k views

How can I get the address of my local machine?

I'm on a macbook running Lion. In Terminal I'm connected to my schools server with ssh. I navigated to a folder on the server and have a file I want to copy to my local machine, but I don't know what ...
2
votes
4answers
163 views

How to display the IP address of the default Interface with Internet connection?

I need to create a script that outputs the internal IP address, that is configured as the default Interface.
0
votes
1answer
419 views

How to forward IP traffic between wlan0 and eth0 without killing network performance on the forwarding machine

I have a laptop running Debian 7 that connects to my building's Wifi. I want so share this network connection via the laptop's Ethernet port. I have setup a script below to do this based on some ...
3
votes
3answers
1k views

Implementing load balancing on any Linux distro

I am thinking of implementing a load balancing solution for personal use. What I want to do, is to maximize data throughput over mobile phone Internet connections. Let me be clear: I have data plan ...
-1
votes
2answers
61 views

If I send SYN / ACK with one IP and other packets with another, what happens?

I'm learning about UNIX and network programming. I'm not yet sure how to implement this. But I'm wondering: If I forge IP packets of a TCP connection to a server, so that the SYN / ACK packets use ...
3
votes
1answer
205 views

kernel martian source to and from same IP

We are intermittently seeing kernel: martian source log entries for eth0 on a couple of our servers. The interesting thing is that they are to and from the same IP. For instance: Nov 4 02:20:27 ...
1
vote
1answer
87 views

Relay server for generic TCP traffic?

Here's my situation: I have a computer (Mac) on a school network that I want to port forward TCP 5222 to for ejabberd, but of course I can't. I have a server at home (Mac with FreeBSD VM) that I can ...
2
votes
0answers
87 views

Network connectivity trouble to non-routing multi-homed hosts?

I have two networks: A and B (172.16.2.0/24 and 172.17.2.0/24). A is Ethernet, B is WiFi. An OpenWRT router connects A and B, and most traffic gets passed OK. Default route on router leads to a ...
2
votes
1answer
109 views

Bring network interface down if physical connectivity is lost

I have a headless Debian server with two network cards: 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000 link/ether 01:02:1d:54:7c:01 brd ...