Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ip]

IP - Internet Protocol, the most commonly-used set of rules for dispatching data across a large computer network.

1
vote
1answer
34 views

What exactly happens when a TCP segment is sent to a broadcast address?

Does the segment get delivered -- and the recipients are supposed to drop it? Does the segment get dropped at the (layer 3) switch/router? Or something completely different? Explanations or "RTFM!" ...
-2
votes
0answers
21 views

How to connect domain with remote Ubuntu server without hosting? [on hold]

I have bought domain name. I want to connect it with my remote server. I want to use this server instead of hosting. How to connect that domain with the remote server? How to set up DNS and hosts file ...
0
votes
0answers
12 views

Is it possible to redirect traffic sent to an additional IP on the machine to a specific port?

I have a machine that acts as a gateway between a network (say N1) for other machines behind it on a different network (N2). I have to use a special application that listen on a specific port. So a ...
1
vote
1answer
35 views

DNS IP failover for two WAN

I have two WAN from different providers, I would like to know how can I manage an IP failover to switch services in case of failur of the primary WAN. The only solution that I know is to use dns ...
0
votes
1answer
20 views

Ip and secondary ip sometimes doesn't repond to ping

In order to have a virtual ip, I sometimes add another IP for my interface enp2s0f0 using # ifconfig enp2s0f0:1 192.168.201.33 up I also send a gratitus arp in order to publish the new ip of the ...
-2
votes
1answer
20 views

Ubuntu subnet distribution

I´ve a question regarding the distribution of subnets within my linux system or more specifically ubuntu. If I set a ip-adresse with a netmask, how will ubuntu set the netaddress and broadaddress of ...
-1
votes
0answers
12 views

Cisco: Routing between routers with subinterfaces does not work [closed]

I'm just learning to create Cisco networks, I'm using the Packet Tracer simulator, I have a problem that I can not understand why it happens, I hope you can explain me why it does not work and how ...
0
votes
0answers
28 views

Pritunl OpenVPN External IP not Connecting via UDP but connects via TCP

I'm using OVH for my vpn, and decided to go with Pritunl because of it's nice web interface for the server. I choose OVH for DDOS Protection for Xbox and selling some spots for my friends. When i'm ...
0
votes
1answer
53 views

Connect over SSH to server running OpenVPN client with ip tables: “Nexthop has invalid gateway”

I tried to follow the solutions listed here for being able to continue SSH connections after connecting to an openvpn client: https://www.linode.com/community/questions/7381/openvpn-client-connected-...
-2
votes
1answer
30 views

Strange IP routing - ping not working [closed]

From my server I can't clone repos from bitbucket.org nor reaching bitbucket.org using ping. Everything worked up to now with the current configuration. Here is what I found out up to now: Trying ...
37
votes
9answers
8k views

Why does typing an IP address instead of the corresponding domain name not show the website? [closed]

> host example.com example.com has address 93.184.216.34 example.com has IPv6 address 2606:2800:220:1:248:1893:25c8:1946 I type 93.184.216.34 instead of http://example.com in Chrome. It doesn't ...
0
votes
0answers
32 views

DNS change not updating on office network

I created a new website for a client on a digital ocean box. When we put the site live, the A record for the domain was pointed to the IP address of the new server. All appeared to be fine. However, ...
0
votes
0answers
27 views

Use secondary IP as outgoing IP on SOCKS5 traffic that uses this IP

I have a server that runs OpenVPN on it's primary IP. There is also a second IP I connect to using SSH as a SOCKS5 setup like this: ssh -C2qTnN -D 1337 me@<secondary-ip> I go to whatismyip....
0
votes
0answers
66 views

Blacklisting ip addresses on google cloud platform

We have a chrome extension project that uses google cloud vision api. The api key is getting stolen from the chrome extension. In the logs we see several ip addresses stealing quota. In order to ...
0
votes
0answers
42 views

Public IP on Sim Card - Alternate using VPN

I am setting up a local server runs CentOS7, with LAMPP PHP 7.2 service installed. The server connected to a Switcher, the switcher connected to the Load Balancer (with router), and the load balancer ...
0
votes
0answers
23 views

Apache SSL and non SSL sites VirtualHosts not working correctly

Server config: CentOS 7.4 mod_ssl installed Apache 2.4.6 site1.com and site2.de both point to the ip 1.2.3.4. site1.com is non-SSL-driven (temporarily for Let's Encrypt ACME-challenge - will be ...
0
votes
0answers
27 views

OpenVPN DNS resolution issue on router (EdgeOS)

I've been using OpenVPN client over vtun interface and all works as expected only if the remote VPN server name (in the OpenVPN config) is the IP address. When I use the DNS name as part of the ...
1
vote
1answer
81 views

Nginx bind to external IP only (listen hostname:port)

I'd like to specify an nginx server that listens only on external IP of an hostname given in listen directive. My server has domain name foobar.example.com which resolves to public IP 1.2.3.4. When I ...
3
votes
1answer
727 views

Does 0.0.0.0/7 represent the same range as 1.0.0.0/8?

The range of 0.0.0.0/7 is 0.0.0.0 - 1.255.255.255. The range of 1.0.0.0/8 is 1.0.0.0 - 1.255.255.255. AFAIK, 0.0.0.0/8 (0.0.0.0 - 0.255.255.255) is not usable. So, do these represent the same range ...
0
votes
2answers
30 views

SED to search for and delete ip with a partial match

I have various bash scripts that run, they scan log files for folks who try and make mischief, spam us and so on. I have been struggling with this for some days trying to figure this out. I have a ...
0
votes
2answers
60 views

Getting new ip address automatically [closed]

i want to get new public IP addresses from DHCP and add it to my etc0 device. how can i get IPs and append them? and also is there any limit on it? i talked to network manager on my datacenter and ...
0
votes
0answers
26 views

Can I add IP pool per client in OpenVPN

Just can't find a clear answer on: is it possible to add more than one static IP per client/certificate I need to manage several client accesses via firewall or some other method, so that, for ...
0
votes
0answers
36 views

iptables block all traffic from a IP after TCP handshake completed

Other than writing a script that monitors the log file to see if a full TCP connection has been created to a certain port is it possible to create a rule using the recent table that will block all ...
1
vote
1answer
64 views

How to get reverse tunnel IP

I created reverse tunnel from Server to Endpoint using command: ssh -R 127.0.0.1:4000:localhost:81 user@server.domain Tunnel was created on Endpoint side and it leads from Server port 4000 to ...
0
votes
1answer
33 views

IP phones get DHCP NAK from superscope configured DHCP server

We are experiencing a strange problem with our 2012R2 DHCP server. Setup looks like this: Superscope with two scopes: SCOPE 1 - 192.168.100.0/24 (for PC) SCOPE 2 - 192.168.101.0/24 (for IP phones) No ...
0
votes
0answers
21 views

how to set outbound traffic for floating ip linux

I am using Heztner server for running my application, which owns IP as 95.216.167.191. Then I added a floating Ip which was 159.69.100.75. my network interface looks like that # interfaces(5) file ...
0
votes
0answers
34 views

Windows is listening on addresses never assigned

I have a Windows 2016 server used for development. Thus I have quite a lot of virtual switches and multiple addresses assigned to physical and logical network interfaces. But now I am encountering the ...
0
votes
0answers
28 views

difference between ip -s and ethtool -S?

I see inconsistent drop counts on an Intel X710 NIC between ethtool and ip - ethtool reports no drops, but ip -s and /proc/net/dev disagree. How do the tools differ in the way they account for drops? ...
1
vote
0answers
16 views

how to only allow access to website if user access through a certain website in IIS

How can I deny access for everyone except users that originally access the site from a specific website? I use IIS 10. Does really IP/Domain filtering in IIS works for this? I tried to simulate this ...
-2
votes
1answer
71 views

What private ip address space to use for a self-host VPN? [duplicate]

I have set up a private OpenVPN tunnel which uses the a 10.x.x.x private ip range as the client and server ip. I was wondering if that would cause any problem in big networks that use that ip range ...
-3
votes
3answers
65 views

What significance does the subnet mask have for a public IP address? [closed]

Our hoster has assigned us multiple public IP addresses. They are individual non-contiguous addresses e.g. 1.1.1.50 and 1.1.1.222. According to them the correct subnet mask to use is 255.255.255.0. I ...
-3
votes
2answers
212 views

Why do people use 172.x.x.x instead of 192.x.x.x [closed]

Since I was a kid, I've always installed our home network with the default 192.168.1.x/24, but whenever i log into my university's network, i notice that they use 172.x.x.x, and the same thing goes ...
2
votes
2answers
235 views

How to Get IP Addresses of User In Active Directory Domain

I am trying to find IP address(es) of active directory user. If a user is logged in into multiple computers then I need to find all IP address(es) of those machines. I have tried to get the computer ...
0
votes
1answer
54 views

How to get an DHCP allocated IP address without a reboot?

I have a server which currently staticly addressed with an entry in its /etc/hosts file, e.g.: 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost ...
1
vote
0answers
81 views

What is the difference between net.core.netdev_max_backlog and net.ipv4.tcp_max_syn_backlog

Several docs on the net describe these options as following: net.core.netdev_max_backlog: Maximum number of packets, queued on the INPUT side, when the interface receives packets faster than ...
0
votes
2answers
58 views

Display only the network interfaces which has the ip address using ip command

I use ip a to get the IP address of my machine. Sometimes, it is getting difficult to identify when I have 20+ network interfaces. Is there a way to display only network interfaces which has IP? The ...
0
votes
0answers
45 views

How can you prevent X-Forwarded-For spoofing on haproxy? [duplicate]

Is there a way to prevent the X-Forwarded-For from being spoofed in haproxy? i.e. Can I rename that header to something else? Or is there another way to forward on the correct IP address of the ...
0
votes
1answer
91 views

Squid 4.2 - Different outbound IP for each client/user

I have been playing with a few different pieces of forward proxy software, primarily CCProxy and Squid Proxy/Cache. What I have is a dedicated server with a single NIC with multiple IPs assigned to it....
0
votes
2answers
33 views

Best way to secure a SQL VM when clients do not have static IPs

I have a VM running SQL in the cloud. Typically I would set up inbound rules on the SQL ports in Azure and on the VM's firewall, but my clients do not have static IP addresses to use in the rules. ...
0
votes
0answers
9 views

Upgraded from trial, no IPs pinging, need backup (novice)

I was using the GCP year-long trial to host a few fairly simple WordPress blogs, and wasn't able to upgrade before my trial ran out. I upgraded after the fact and expected my hosting to continue as ...
-2
votes
2answers
54 views

How to get the IP address of a known hostname in Linux?

I have a device in a public network (I'm not the owner/admin of the WiFi) and I want to know if there is a way to get the devices IP address by knowing its hostname from a second device in the same ...
0
votes
1answer
49 views

Allow access to site only by domain name [duplicate]

I have a site that uses an AWS Application load balancer, this load balancer has two dynamic public IPs. Behind the load balancer are a few EC2 instances that server a ruby on rails site using Apache ...
0
votes
1answer
43 views

Can't ping 253.100.156.93 from Linux

At a remote location, there is a chinese ethernet enabled POS printer. It somehow garbled it's configuration, and its self-test now says that its IP address is 253.100.156.93, (which is inside a IANA ...
0
votes
1answer
269 views

Using iptables TPROXY instead of REDIRECT

I'm running Debian 8. I'm trying to intercept all packets, and are currently using iptables for this: iptables -t nat -A PREROUTING -p tcp -j REDIRECT --to-port 5000 This seems to work, but it ...
1
vote
0answers
123 views

Logstash losing connection to Elasticsearch nodes

We're running Logstash on a server which is pushing logs into an Elasticsearch cluster. In the Logstash logs we see it losing connection to the Elasticsearch servers with a connection reset error. We ...
0
votes
0answers
49 views

Add printers to cloud print by ip address

I am trying to add all the printers in my school to Google Cloud Print so students with chromebooks can print to them. The printers are on the network by ip address, with addresses like room1.printer....
0
votes
1answer
75 views

Get IPv6 route for VM

is there any option to get something like this for IPv6 (inet6 or -6): ip route get 8.8.8.8 Result: 8.8.8.8 via 94.**.***.1 dev ens3 src 94.**.**.112 uid 0 cache Where I can get the local IPv6 ...
0
votes
0answers
78 views

How to specify outbound IP when running Teamspeak 3 server within a Docker container?

I have a Teamspeak 3 server Docker container on my server. My server has several IPs assigned to the one interface eth0. 198.51.100.17 Main IP 198.51.100.18 Second additional IP 198.51.100.19 ...
1
vote
1answer
45 views

how can I know since when has a BGP prefix been allocated?

I am a bit confused. I would like to know since when a current ASN (and its corresponding prefixes) have been in place. When I look at the example at team-cymru (http://www.team-cymru.com/IP-ASN-...
-1
votes
1answer
17 views

What is the command to know IP that accessing our server with Iptables

May I know what is the command that I should use to get the output of all IP & its frequent while they are accessing my server? I need this command to know the frequency of IP that access my ...