the IP protocol and IP addresses

learn more… | top users | synonyms

3
votes
1answer
49 views
+50

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
27 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
43 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
14 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 ...
2
votes
2answers
544 views

keep losing IP with dhcpcd

I have an Arch Linux install in a VirtualBox VM, and as I'm working all of a sudden, it will lose it's dynamic IP address. When this happens, if I check on the status of the dhcpcd service it says ...
1
vote
0answers
28 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
360 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
28 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 ...
3
votes
2answers
562 views

Policy routing with load balanced ppp connections

This my setup using Debian 6.0. 6. It's role is a proxy server and a load balancer using eight 3G modems. Whenever a ppp connection dials it takes over the default gateway which is ok but it also ...
0
votes
0answers
15 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
22 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
11k 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
74 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
52 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
527 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
23 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
44 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
19 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
2answers
392 views

How do I route a spare network interface through an SSH tunnel?

I just bought a Raspberry Pi and I am wanting to route an ad hoc wireless network interface fully through an SSH tunnel that was created using another wireless interface. I want to do this so that I ...
0
votes
1answer
477 views

ICMP gives host an impossible redirect

I am having trouble with forwarding on a system which hosts a few headless VirtualBox VMs. I have not changed anything but the configuration has stopped working. The VMs have IP addresses on their own ...
0
votes
1answer
487 views

SUSE Linux 12 - configuring IP alias

I want to setup an IP address alias on a network card. I created a file /etc/sysconfig/network/ifcfg-ens160 and its contents are: BOOTPROTO='static' STARTMODE='onboot' IPADDR='192.168.0.113' ...
2
votes
0answers
33 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
42 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 ...
0
votes
0answers
19 views

Egress packets do not use non-default routing table

I made a custom routing table named test: # ip route show table test default via 10.10.10.126 dev eth0 # As seen above, it contains only a single route. As a next step, I made a rule where traffic ...
-4
votes
2answers
90 views

Hiding Your IP on Linux [closed]

I've always been a Linux fan but I find it so surprising that unlike Windows, it doesn't have software like Real Hide My IP which is a software that allows you to select a country, change your IP and ...
0
votes
1answer
50 views

Getting all IPs of devices connected to the same router

I have several linux devices connected to the same router (of which I am not a administrator). How can I find out the ip addresses of all other devices by executing some commands in one of them?
52
votes
14answers
39k views

How can I get my external IP address in bash?

I need to find my external IP address from a bash script. At the moment I use this function: myip () { lwp-request -o text checkip.dyndns.org | awk '{ print $NF }' } But it depends on ...
1
vote
0answers
22 views

NAT-T set up using 3 linux machines

I am trying to have a simple NAT-T setup using 3 linux machines. Linux1 Linux2(NATdevice) Linux3 (eth0) 192.168.1.51 <--->(eth1)192.168.1.80 & ...
2
votes
2answers
2k views

Static routes in route-eth0 ignored

Why might route-eth0 be ignored but route-eth1 not? Might be because eth0 is using DHCP and eth1 is statically-configured? I have some static routes configured in ...
6
votes
3answers
2k views

Difference between 'ifconfig' and 'ip' commands

I read some articles/tutorials on 'ifconfig' command, most of them included a common statement - "ifconfig is deprecated by ip command" and suggested to learn ip command. But none of them ...
44
votes
2answers
5k views

How does SSH connection survive a network restart?

From a Linux SSH shell, type /etc/init.d/network restart to restart the network service. I expect my SSH connection to die since the network service goes down. But it doesn't. Very cool. But how does ...
2
votes
0answers
70 views

forward virtual interface network in KVM guest to the physical interface in the host machine

I am trying to experiment with Linux IP routes. This is what I have so far. I have a host machine whose network details are as below. wlan0 inet addr:192.168.1.9 Bcast:192.168.1.255 ...
1
vote
4answers
259 views

How to find IP address of device connected on the same network as PC based on MAC id

A PC and embedded Linux device is connected on the same local network.(We don't have DHCP server access, IT admin has the access). We also don't have access to debug UART on the embedded Linux board. ...
7
votes
2answers
423 views

Identical MAC address on two different VM, yet I have internet connectivity

I have set up a network as such: Set up host-only networking on VirtualBox. The first adapter is configured with NAT, the second with host-only networking HOST: Windows GUEST: CentOS VM1, CentOS VM2 ...
-1
votes
1answer
200 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" ...
1
vote
0answers
22 views

Are there any loopholes in IP restricting sshd?

Say that i want to only allow username/password logins on my private network, but restrict all external sources on to key/cert login. I would do something like this: RSAAuthentication yes ...
0
votes
1answer
44 views

How to map IP by iptables ?

I create a network namespace In this namespace, I open a nginx So for now, I can visit web server by 172.17.0.2 What I want to do is mapping this IP to 127.0.0.1 Lets say if I visit 127.0.0.1, I ...
2
votes
2answers
2k views

lts is there a way to enable sleep mode and wake on lan?

I was wondering if it were posible to make my server go to sleep after a set period of time, but still be listening for lan requests. I use my server as a media server that might get used 3 or 4 hours ...
0
votes
1answer
50 views

IP access okay but ping doesn't work

I have a laptop connected to a Wi-Fi, and let's say I am testing the connection to a website ("randomwebsite.com", IP:123.123.123.123) Through a terminal I have tested ping: ...
3
votes
4answers
5k views

Make some virtual MAC address

I want to make some virtual MAC addresses for my network adapter or wireless adapter, so I can connect to network with more than one IP address from one computer or laptop. How can I do it? (I know ...
1
vote
1answer
42 views

ip forwarding to remotely connect to a socket listening to localhost only?

I must transfer data from PC1 to PC2 using a specific port, but the socket opened on PC2 only listens to local host. Is there a way to "trick" the socket into accepting the connection from PC1?
2
votes
5answers
4k views

script to scan ip range and return results in a certain format

This script scans IP's and returns a status of Up or Down. How can I alter it so it doesn't scan everything twice? As it sits it scans everything and returns the "Up" addresses only and then scans all ...
8
votes
2answers
9k views

How can I block a range of IP addresses with an Amazon EC2 instance?

I know a certain range of IP addresses are causing problem with my server, 172.64.*.* what is the best way to block access to my Amazon EC2 instance? Is there a way to do this using security groups or ...
9
votes
1answer
313 views

Linux: Is there handy way to exec a program binding it to IP-address of choice?

In FreeBSD 4.9 it was very easy to accomplish with just a single command like jail [-u username] path hostname ip-number command if path was / you had running just the same program as usual but ...
4
votes
2answers
9k views

Set Static IP in CentOS 6.4?

Most guides seem to revolve around modifying ifcfg-eth0, which doesn't exist on my system.. [root@Azaz07]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 [root@Azaz07]# ls ...
0
votes
0answers
33 views

How to bind IP address to MAC in autoyast?

Is it possible to bind IP to physical address in autoyast config file? The following code doesn't do the trick: ... <interfaces config:type="list"> <interface> ...
-1
votes
1answer
49 views

How to use partial IP address in /etc/sysconfig/iptables for the “-s” flag?

in this example it is a full ip ip is: 1.1.1.1 -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -s 1.1.1.1 -j ACCEPT but suppose i want to allow any ip that simply starts with: 1.1. ...
0
votes
0answers
323 views

Tried changing to static ip in RedHat 6.5 using VMWare. Unable to access the internet now

I followed resources on the internet to assign static ip address for RedHat 6.5 installation in VMWare. I am unable to access the internet after that. My terminal output of the files I changed are as ...
3
votes
1answer
69 views

IP rule table look up does not seem to work

I have a sytem with three network interfaces. Below is the configuration that I'm trying to set up. wlan0 (its actually an WiFi AP interface) - other devices connects via this interface. net1 - ...
2
votes
2answers
262 views

How to use a defined local IP instead of external one

I have a Gentoo Linux server. Server is connected to two networks: internal and external. Internal network ip: 192.168.1.200 External network ip: 192.168.0.2 If I'm trying to make request from ...