the IP protocol and IP addresses

learn more… | top users | synonyms

2
votes
2answers
1k 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 ...
2
votes
2answers
463 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 ...
3
votes
2answers
516 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 ...
8
votes
1answer
248 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 ...
3
votes
2answers
7k 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
12 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
28 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
45 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 ...
2
votes
2answers
359 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 ...
3
votes
1answer
41 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
222 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 ...
1
vote
0answers
55 views

where is network layer protocols source code [closed]

that's all I can find tcp source code on my Ubuntu, also the place of data link layer is on the network interface. So where is network layer protocols source code on ubuntu ? Also I am looking for ...
2
votes
1answer
15 views

Where do I find the OID descriptions for SNMPv2 in Linux?

I was looking at this link here: http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html and noticed that the OIDs are the same ones I see for the same stats for our ...
0
votes
1answer
36 views

Static IP addressing issue in Ubuntu on BeagleBoneBlack Rev C

I have my BBB configured to use a static IP address using the following in the file /etc/network/interfaces: allow-hotplug eth0 iface eth0 inet static address 192.168.0.1 netmask ...
0
votes
0answers
35 views

IP blocklist for a particular country + region

I am looking to whitelist access to a machine based upon a country and region so that the number of IP blocks is smaller than doing a blacklist. That said, the only free utilities I found on the ...
3
votes
2answers
51 views

How can I force chrooted programs to use a virtual ethernet device?

First off, this is not for security reasons, or for use in a production environment. It's because I want to mess around with different configuration management systems on relatively low-spec ...
2
votes
1answer
628 views

mutliple default gateways for alias interfaces (SOLVED)

Alias interfaces defined in /etc/network/interfaces cannot have multiple default gateways. Unfortunately I would like to use the same interface to access 2 differents nets, and I need to define 2 ...
2
votes
2answers
201 views

IPv6 NDP timer problem

Need to change Fedora Linux's IPv6 stack for NDP DAD timer changes. How to locate the Fedora's IPv6 and IPv4 stack in Fedora distribution dvd/site so that, we can recompile and generate new stack ?
46
votes
13answers
32k 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 ...
0
votes
1answer
258 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' ...
0
votes
1answer
41 views

VPS SSH and my OWN IP

Is it possible to to stay in total anonymous mode for the VPS provider? I have got a VPSVZ machine with UBUNTU server. Is it possible to do anonymous tunneling: VPS1 -> VPS2 -> VPS3 (all UBUNTU) ...
6
votes
4answers
491 views

History of IP addresses that accesed a server via ssh

It has come to my attention that a server of mine has been hacked and infected with a known chinese botnet. It was a prototype/testing virtual machine with its own static IP(US address) so no harm ...
2
votes
1answer
130 views

set up centos7, configuration of ip

when I'm searching for ip setting of centos 7. Responed is centos 6.X 's or ealier, and I tried. But how is the default DHCP configuration of centos 7. Some configurations have been done like I want ...
0
votes
0answers
37 views

Creating multiple proxies on a single VPS

I am trying to create SOCKS Proxies on my Debian Linux VPS. I was just wondering what is the best way to go about doing this? I have tried things like Dante and it doesn't support multiple Proxies.
4
votes
1answer
31 views

route added, but shows inverse ip

Using xubuntu... i'm trying to add a route in my work laptop, and so i do route add -host 212.18.178.207 gw 10.15.228.1 eth0 for some strange reason, when i do just route, this is what i get... ...
2
votes
1answer
68 views

Use two NICs for different subnets

In my office I have use a system with two network cards. I want to use both at same time. I have four subnets in my LAN. I want to route two subnets (192.168.2.0 and 192.168.4.0) through eth0 and ...
1
vote
1answer
80 views

How to transfer data “offline” between osx and ubuntu?

I need to transfer around 50gb of data from my Ubuntu to my OSX. scp and samba are both too slow it seems - even with the Ethernet cable connected (14-15 hours!). I have physical access to both ...
0
votes
1answer
35 views

how to get effect of IP rules script in RHEL 6?

I have written one ip.sh file in that I have written one rule and then saved the iprules with the corresponding commands. Now when I opened /etc/sysconfig/iptables nothing is reflecting. I need the ...
2
votes
4answers
111 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. ...
2
votes
1answer
34 views

Lubuntu IP conflict [closed]

I have this friend who recently installed Lubuntu on his Asus Netbook to try it out. Problem is that even though he can find all network connections and after trying to connect to two of them (giving ...
1
vote
1answer
30 views

Interface Priority in the Face of VPN

I have a few interfaces: wlan0, eth0, lo, and sometimes tun0. When I connect to the Juniper VPN, creating a tun0 interface, my existing connections on other interfaces (perhaps with the exception of ...
4
votes
1answer
61 views

Create map network_iface_name <--> IPv4 address

I'd like to implement a bash script that creates a mapping between the network cards (or interfaces) names in my computer and their IP address (in CIDR format, if possible). The goal is having ...
9
votes
1answer
327 views

Send a packet over the network even when its target is the local host

Under Linux if you send a packet to the address of one of its network interfaces, this packet is routed internally, it is never sent over the network. That's the right thing in 99.99% of the cases. ...
0
votes
2answers
122 views

Give every IP address a different hostname?

I have a Debian server with 4 IP addresses. All IP addresses use the same hostname. Is it possible to give every single IP address its own unique hostname?
31
votes
2answers
2k views

How is it that missing 0s are automatically added in IP addresses? (`ping 10.5` equivalent to `ping 10.0.0.5`)

I accidentally typed ssh 10.0.05 instead of ssh 10.0.0.5 and was very surprised that it worked. I also tried 10.005 and 10.5 and those also expanded automatically to 10.0.0.5. I also tried ...
0
votes
1answer
55 views

Trying to connect to gateway in static ip network

I have arch-linux-arm running on a raspberryPi. The network I am in uses static IPs. gateway IP is 192.168.178.5 IP for my device is 192.168.178.201 To connect to the internet I use: ip addr add ...
1
vote
0answers
30 views

Get ip of running interface [closed]

Is there a way to get to the ip of whatever interface (e.g. enp0s25, wlp3s0) I am using to connect to the internet? And in a low-resource way I can build into conky? Is it time for me to learn sed and ...
11
votes
2answers
2k views

IP to Country console command

Is there a console command that takes an IP address as an input and shows its geographical information like city, country, ISP, etc.?
2
votes
1answer
150 views

set ip default outgoing in centos

I have server which has Centos and I want to change the outgoing IP address. This is the output of my route and route list commands. [root@marketport tmp]# route -n Kernel IP routing table ...
1
vote
1answer
34 views

source address chosen in case of multiple IPv4 addresses

I have following four IPv4 addresses configured to eth0 interface: # ip addr show dev eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc pfifo_fast state UP qlen 1000 link/ether ...
3
votes
3answers
189 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 ...
0
votes
0answers
20 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 ...
0
votes
3answers
496 views

Fedora 18 host cannot ping Windows XP guest

I have my laptop running Fedora 18. I want to run a Windows XP guest using VirtualBox 4.2.6. My configuration seems correct, here is my networking report. Fedora 18 host lo: ...
8
votes
2answers
8k 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 ...
0
votes
0answers
174 views

Apache server in raspberry PI not visible from outside( public IP)

I have made a fresh install of Arch Linux ARM into a Raspberry PI and I mounted there a LAMP, all fresh. I have another Arch(x86) in my laptop with Apache also there, and as far as I know, two web ...
2
votes
0answers
119 views

Network connectivity issue between different hosts from a network namespace in one host

I have created two Ubuntu 12.04 VMs using VMWare Player with NAT network configuration. I am able to ping them from each other. After that, I created a network namespace in one of them and add a ...
2
votes
0answers
40 views

AppArmor Profile: Deny internet access

I want to deny the internet permission for some applications. Therefore, I tried first to deny the internet permission for ping, but it doesn't work. Here is the profile of /etc/apparmor.d/bin.ping ...
0
votes
0answers
26 views

routing based on source IP - a continue [duplicate]

Following my previous question routing based on source IP The source IP floating one and assigned to a cluster (consists from 2 servers). Let's say that the physical IP on server1 is 10.0.0.1, on ...
2
votes
1answer
54 views

How do I get the information I need in order to use unison and ssh to synchronise files

I have a desktop at home, and a laptop that I take with me to places away from home, both have Fedora 20 installed. I edit the same files on either machine, and would like to be able to synchronise ...
2
votes
2answers
2k views

What does ifup do when “/etc/network/interfaces” has an invalid netmask address?

The interfaces file looks like below: auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.0.130 netmask 250.255.255.0 gateway 192.168.0.254 As you can see ...