the IP protocol and IP addresses

learn more… | top users | synonyms

4
votes
1answer
47 views

I am stuck connecting to the internet via a usb wifi stick

I am trying to set up a an internet connection through a usb wifi sticker in Linux. Here's the sequence I tried: iw dev This returns the name(?) of the Interface that I want to connect to: phy#0 ...
-2
votes
1answer
33 views

Execute command with specific routing (ip/iptables)?

I saw great solution for binding application based on some routing table alias... not sure now what it was, but for sure with ip, route or iptables tools... anybody knows the procedure? What was the ...
16
votes
3answers
27k 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
1answer
119 views

Forward ALL incoming HTTP requests to one of two servers based on subdomain?

I have two Debian Jessie servers. One is my home server that I use for personal/hobby stuff, the other is my development server for work. For arguments sake lets say... Personal: 1.1.1.1 ...
1
vote
1answer
3k 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' NETMASK='...
0
votes
2answers
427 views

Why cannot I ping 192.168.10.1, the default gateway, from an Ubuntu Linux 15.10 computer but I can do so from Windows 7?

I cannot ping 192.168.10.1, the default gateway, from the Ubuntu Linux 15.10 computer, 192.168.10.22. But I can ping 192.168.10.1, the default gateway, from the Windows 7 computer, 192.168.10.15. ...
0
votes
2answers
100 views

Is it possible to redirect a local port to a LAN port?

I'm using a Flask application with virtual environment. When I start the server, I can access it locally via the IP 127.0.0.1:5000, but I'd like to make it accessible on my WLAN (pointing at 10.0.0.1:...
1
vote
1answer
461 views

Docker container doesn't expose ports when --net=host is mentioned in the docker run command

I have a CentOS docker container on CentOS docker host. When I use this command to run the docker image docker run -d --net=host -p 8777:8777 ceilometer:1.x the docker container get host's IP but ...
8
votes
5answers
63k views

How to remove all default gateways

I'm running a custom built linux machine, so not all linux commands are available. I execute network related commands, so I need to set a default gateway right before I run my command, then remove ...
0
votes
0answers
92 views

How to set kali linux IP Address Networking issue

I need your help regarding one small confusion. I have installed kali linux directly on desktop hard disk. i have also installed VirtualBox running vulnerable vm's inside kali linux OS with a network ...
1
vote
0answers
57 views

Centos 6.x multi-homed routing question

I have a conundrum and would like to hear any pointers (been working on this for 2 days now, and need to get this server in to production). My "google-foo" has not been strong with this one....
5
votes
1answer
462 views

Bond two Internet connection of varying quality

I live in a remote part of the country, internet-wise. I utilize a satellite based internet, but it's having many problems during peak traffic times. I have researched a bit and found Ubuntu Bonding....
3
votes
2answers
205 views

Multiple machines on single network with same IP

I have a raspberry pi 2 that I'm using for a KODI media center that has the ip address 10.0.0.4. Another pi I just got is showing the same ip (derived from /sbin/ifconfig -a and listed under wlan0 for ...
3
votes
2answers
444 views

What is stopping our UDP packets (how does it know the route is down)?

We have a server (camera) sending RTSP video packets via UDP. At a customer site it travels over several hops, one of which may be an unreliable WiFi link that drops the odd packet or five. Usually ...
0
votes
3answers
208 views

get IP address who modified a file

I am looking a way to to get the history of a file, like the modification date, who modified this file (ip address or username), the changed lines Is there a way to get the IP address or username of ...
1
vote
1answer
49 views

ssh_config: Add a host section that matches IPs even when connecting via hostname

I want a host section in my ssh config that matches any local IP: Host 10.* 192.168.*.* 172.31.* 172.30.* 172.2?.* 172.1?.* setting setting ... This works as long as I connect directly to a ...
0
votes
0answers
19 views

How do I properly configure networking for a KVM virtual machine?

I have a remote dedicated server on which I have installed KVM. When trying to create my first virtual machine I am unable to ssh to the machine. I assumed that I needed another ip address so I ...
1
vote
1answer
105 views

how can one manually assign a permanent / static IP address with “ip addr add”?

After an IP address is assigned to this network interface, with any of the the following commands: ip addr add 10.0.0.0 dev eth1 valid_lft forever preferred_lft forever ip addr replace 10.0.0.0 dev ...
-1
votes
1answer
20 views

Correct syntax for nmap [closed]

I am trying to use nmaps os fingerprint or what ever the hell it is called.. So i put itsudo nmap -o 208.80.125.4 (and i have used a lot of other IPs.. It always works correctly without the -o except ...
3
votes
4answers
145 views

Mass IP Blocking

I have a game server and someone is spamming it with bots. The SpamBot client makes the handshake with my server using UDP connections. It does this through a list o proxies. Basically, the Spambot ...
0
votes
0answers
208 views

udhcpc and auto IP assignment

I need to assign automatically the IP of the interface for which I request the IP address with udhcpc. The default udhcpc script installed on my system is this: #!/bin/sh # udhcpc script edited by ...
8
votes
4answers
49k views

Why can't I ping Google?

I can't ping google.com (unknown host). But I can ping IP addresses. I tried to ping the IP address of Google but it doesn't work. resolv.conf nameserver 8.8.8.8 nameserver 209.139.209.33 ...
0
votes
1answer
26 views

Different A records for a domain

I have a domain which A record points to a site, hosted on VPS. Now I want to make a mail server, which is located on a second VPS. To make mail server work I need MX records, which is based on A ...
1
vote
2answers
150 views

host can't ssh guest, but guest can

This is a follow-up question from: Make virtualbox get a different IP address than my laptop. I ended up with these /etc/hosts files on both my laptop running Ubuntu 14.04 (the host) and my virtualbox ...
0
votes
1answer
289 views

Make virtualbox get a different IP address than my laptop

I am trying to setup a 2-node Hadoop cluster (following this guide), where the master is going to be my Ubuntu laptop and the slave a virtualbox running ubuntu. I also read about networking in ...
1
vote
0answers
70 views

CentOS 6 - Order of network interfaces when running “ip address show” command

I have installed CentOS 6.7 on new HP Gen9 server and decided to rename interfaces using udev so they are in order eth0-7 from left to right when looking at servers back (originally interfaces were in ...
0
votes
0answers
31 views

info to get using last digits of ip address

What is the product/registered owners id based on the last digits of IP#: 85ff:fec9:d41b My facebook account shows a login from that IP# and I am accessing the owner info and login info for my own ...
1
vote
1answer
36 views

How to return the nearest DNS IP based upon requesting client's IP?

To achieve a faster internet experience, one aspect that can be optimized is to ensure a client is making use of a nearby DNS, rather than something on the opposite side of the world that might ...
3
votes
1answer
599 views

How can I bridge two interfaces with ip/iproute2?

I know how to create a bridge using brctl, but I have been advised not to use this anymore, and to use iproute2 or ip instead(since brctl is deprecated presumably). Assuming this is good advice, how ...
3
votes
3answers
407 views

Unable to reconnect 3g connection after new IP was given

I use Debian Jessie 8.2 and I am using a 3G connection using this modem. The 3G connection works fine, except after 24 hours the connection drops and I cannot reconnect. If I reboot the computer, ...
0
votes
0answers
80 views

How to start and stop a libreswan connection

I have a connection configured on my libreswan instance on two machines. The connection start automatically when I start the pluto daemon, I have try other settings, but the connection also starts if ...
2
votes
1answer
196 views

Get the external IP address in shell without dig in 2016?

This question: "How can I get my external IP address in bash?" Solves the question with a call to dig: dig +short myip.opendns.com @resolver1.opendns.com; that is the fastest resolution possible, ...
3
votes
2answers
280 views

IPv4 link-local address in Linux

I remember that in Windows XP, when DHCP client did not receive an IPv4 address from DHCP server, the host assigned itself an IPv4 link-local address from 169.254.0.0/16. However, I have never seen ...
2
votes
2answers
3k 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 ...
4
votes
3answers
2k views

What are the interface prefix meanings in ifconfig?

I'm not sure if these have a name, but on most computers I use the interface prefixes are usually: eth- : Ethernet/Wired wlan- : Wireless/WiFi However, on my ASUS RT-N56U, I have the following: ...
1
vote
1answer
865 views

Can nmap display only hosts with specific ports open?

Can nmap list all hosts on the local network that have both SSH and HTTP open? To do so, I can run something like: nmap 192.168.1.1-254 -p22,80 --open However, this lists hosts that have ANY of ...
0
votes
2answers
49 views

Unable to connect remotely to custom application

I've built an application that listens on the localhost address and a specific port, lets say port 11001. Its on a remote machine with CentOS. I currently have a python script on my local machine that ...
2
votes
4answers
164 views

Finding Servers Public IP and Allowing Remote Access

I want to turn a computer that I have lying around into a file server. The problem is that I cannot find my public IP. I have used services such as myip or even google, but they all point to the IP of ...
1
vote
1answer
329 views

Virtualbox - how to give Internet access and internal network access to two VMs?

I made two Virtualbox virtual machines, CentOS 7 latest iso. I gave them each 2 network interfaces, one NAT and one "Internal network" in order to get them to talk to each other and have Internet ...
4
votes
5answers
592 views

How to log Internet connection drops

I need to execute a script as soon as my raspberry pi gets connected to the Internet. However I was wondering if there was a better way than just pinging Google every minute or so. My problem is that ...
2
votes
1answer
157 views

Why doesn't FTP work through my ssh tunnel?

Computer A (assumed that ip is 44.44.44.44)can ftp the host 130.89.148.12. ftp 130.89.148.12 Connected to 130.89.148.12. 220 ftp.debian.org FTP server Name (130.89.148.12:debian8): anonymous 331 ...
0
votes
1answer
32 views

OpenVPN to access restriced pages

I am looking for a method to go out with different ip in order to access some sites that are blocked by my local provider(I need to write scripts to retrieve data from thos pages).On ...
32
votes
13answers
39k views

How to get my own IP address and save it to a variable in a shell script?

How can I get my own IP address and save it to a variable in a shell script?
1
vote
2answers
5k 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 | ...
1
vote
1answer
78 views

Nothing happens when trying to add/set default gateway

I'm connected to a network using VPN (Managed byt NetworkManager, Fedora 23), and I want to route all traffica via the VPN network. But for some reason nothing happens when I run ip route add or ip ...
3
votes
2answers
938 views

Bash: Permission denied when trying to echo data directly to Network

I am trying to send characters directly to the network stack as explained in this thread. Even when the process work OK under CygWin (Windows), the same lines do fail on Ubuntu v14.04: luis@...
1
vote
1answer
87 views

Telnetting the local port working but trying with ip not working

My question is similar but opposite to to Telnetting the Local port not working but trying the ip working For me, telnet to the local port works but trying with IP does not work :( I am running ...
4
votes
1answer
31 views

How can I tell which IP address is used to connect to another machine?

I have several computers that are multi-homed, and have different static IP addresses for each of several network connections. How can I tell which of these IP addresses is used when I'm connecting to ...
3
votes
1answer
98 views

Two Virtualbox systems with same IP address

I need to test an issue with nfs so I spun up a couple of VirtualBox VM's on my system. One is RHEL7, another CentOS7. Each has a unique MAC address when viewing settings> network. Both VM's boot ...
0
votes
1answer
721 views

server can't find xxx.xx.xxx.192.in-addr.arpa:NXDOMAIN

$ORIGIN xx.xxx.192.in-addr.arpa. $TTL 86400 @ IN SOA dns1.testserver.com. hostmaster.testserver.com. ( 2001062501 ;serial 21600 ;refresh after 6 hour 3600 ;retry after 1 hour 604800 ;expire ...