Questions tagged [ip]

Questions about the IP protocol and IP addresses. For Linux ip utility related questions, use iproute tag instead.

Filter by
Sorted by
Tagged with
0
votes
0answers
26 views

What exactly happens when I enable net.ipv4.ip_forward=1?

Suppose I have this situation where I wrote a program to poison the ARP cache of 2 devices (let's say A and B), both in the local network to successfully able to MITM from device M. The program runs ...
0
votes
0answers
21 views

DHCP client ordering question - bridge vs. physical interface

I'm on an Ubuntu system with a couple of physical NICs and one configured bridge0 interface (to provide internal VMs and containers with access to the rest of the LAN.) I have a MAC address ...
0
votes
1answer
24 views

Detecting if a specific route/tunnel is used when reaching a website

I need a way to detect if I'm visiting a website through a specific kernel route set by a VPN. The reason being: sometimes I forget my company's VPN on and I navigate to porn sites. I need to detect ...
0
votes
0answers
20 views

SSH into a server which is connected to a VPN service (with /21 gateway)

Using the answers listed from this, ssh into a server which is connected to a VPN service: ip rule add table 128 from 50.1.2.3 ip route add table 128 to 50.1.2.0/24 dev eth0 ip route add table 128 ...
1
vote
0answers
21 views

How can I use cloud-init NoCloud with OPNsense 21?

I'm new to OPNSense (also to FreeBSD in general) and I'm interested to use cloud-init to configure at least LAN (vtnet0) with static ip address, root password and eventually running custom scripts (or ...
11
votes
2answers
1k views

How can I write a range of /16 IP addresses in a single expression?

I'd like to ban this range of Chinese IP addresses in nginx: '223.64.0.0 - 223.117.255.255' I know how to ban each of /16 range like: deny 223.64.0.0/16; But it will take many lines to include the ...
1
vote
0answers
16 views

IP forwarding not working on Vagrant + Ansible scenario

This is the scenario It is created with Vagrant and configured with Ansible, but the specific problem I'm going to ask about here is why IP forwarding is not working when it should be working. On the ...
0
votes
1answer
48 views

Which of the multiple IPv6 addresses is used as source address and how is the decision made?

I have a setup with Computer A being directly tied to the router via a LAN cable and Computer B being connected via wifi. This is the output of Computer As ip addr command: 1: lo: <LOOPBACK,UP,...
0
votes
1answer
28 views

Specify which of my machine's IP4 or IP6 addresses is to be used for a curl request

My linux box has 3 IP4 addresses and a range of IP6 addresses. Supposing I wish to make a curl fetch, how to stipulate from which address the request emanates? Note: I'm actually using Python/PyCurl, ...
0
votes
0answers
23 views

Archlinux Ip Route configuration for wifi interface not connecting to Internet

I have configured my WLAN interface via wpa_supplicant. Right now, my WLAN interface got access to my local network (I can ping my gateway, and I can even connect through ssh to that IP), however, I ...
1
vote
2answers
67 views

What is the difference between '0.0.0.0/1' and 'default'?

Crew, please take a look at the routing table below. Incoming ping requests from 172.17.4.x are accepted on dev ens160 and answered via dev tun0. What is the difference between '0.0.0.0/1' and '...
0
votes
1answer
41 views

Bash Scripting Output

So my bash scripting is not the best, but the following script takes IP addresses from a text file and feeds the output to a shell and shows only the dns host names that resolve. #!/bin/bash while ...
0
votes
0answers
6 views

Configure virtual LAN with Subnet-Router anycast address to debug ping bug

I'd like to debug bug in ping from iputils where pinging the Subnet-Router anycast address is broken in certain versions. How to configure such VLAN to debug the problem?
1
vote
0answers
38 views

Only one ip-address visible / usable in Debian 11 (Bullseye)

After upgrading to Bullseye from Buster, only one interface has a working IPv4 configuration. I have a dual-nic Intel PCIx-card, and a onboard RealTec-nic (currently disabled in bios), and I'm unable ...
1
vote
1answer
19 views

Reverse UDP Proxy from Public IP to Public IP

is it possible to set up an reverse UDP Proxy to route the Traffic from my VPS in the Cloud to my Homeserver behind my router?(Port Forwarding, Port Triggering all possible) I am not entirely sure if ...
1
vote
0answers
8 views

Jetson Nano Picocluster not accessible from network

I recently received a Picocluster with five Jetson Nano boards running MicroK8S. The cluster has a built in switch, which I know works as I can route my own network traffic through it just fine. All ...
0
votes
0answers
21 views

ip route for two interfaces: I'm confused by order of entries

ip r default via 10.0.0.1 dev eth01 proto static metric 1000 default via 10.0.0.1 dev wlan0 proto static metric 2000 10.0.0.0/24 dev wlan0 proto kernel scope link src 10.0.0.129 10.0.0.0/24 dev ...
0
votes
1answer
17 views

ip route not showing all route

I started a docker container, where a VPN client was running. In order to use the VPN inside the container, I added a route to the host route table: $ sudo ip route add 123.123.123.123 via 172.17.0.2 ...
0
votes
1answer
33 views

Setting IP address in Centos 7

I recently received a 64 core server for work. It has centos, SLURM and several things already installed. I can log into the server fine if I connect a keyboard. However, I need to rackmount it, and ...
0
votes
3answers
42 views

common intranet service to reflect IP address

how can I get my apparent intranet IP Address (i.e. my VPN address) using a common service or hack within the intranet? A useful Internet service is http://ifconfig.me which reflects the apparent ...
2
votes
0answers
101 views

Why two ip address for only one network card in my pc?

There is only one network card in my pc. lshw -class network WARNING: you should run this program as super-user. *-network description: Ethernet interface product: ...
-3
votes
1answer
28 views

Ip address of wireless adapter is not showing on ifconfig [closed]

Even when my wireless adapter is in managed mode it is not showing the ip address of it on ifconfig.
1
vote
0answers
26 views

Possible to get another HW address for a single WiFi connection using wpa_supplicant?

I built my own WiFi to WiFi router based on a raspberry pi 4. This is working quite well but some WiFi provider introduce a per device speed limit based on the HW address. Because of that I thought ...
0
votes
3answers
59 views

Is there anyway to see my REAL DNS server

Is there anyway to see my REAL DNS server? and I'm not referring to 127.0.0.53 or the router (192.168.0.1), but the real external server in bash? I'm talking about the ISP DNS, or VPN DNS servers...
1
vote
0answers
19 views

Log when a remote desktop connection is made to my linux machine (xrdp)

I have recently done some port forwarding stuff and opened a port on my network that forwards to port 3389 for remote desktop connections to my linux machine from outside of my local network. I ...
0
votes
1answer
46 views

How to use hostname rather than IP address for website

I've set up a VirtualBox VM which has an apache webserver running. I've created a webpage and I can navigate to it via the IP address on devices in the lan. However I want to use a hostname rather ...
0
votes
1answer
48 views

Forward inbound traffic from an interface to a docker container

I have to forward the traffic having source 192.168.72.0/28 from eth0 of my machine to a container running on the same machine having address 172.7.0.4 and running in bridge mode. I have tried adding ...
0
votes
2answers
63 views

Why is there always a way for a packet to find the default route?

I have an interesting problem that I would like to understand more. This is my following rules list: # ip rule show 0: from all lookup local 32761: from all to 188.40.122.95 lookup vpn 32762: from ...
1
vote
2answers
149 views

Getting IPv4/IPv6 dual stack servers to bind to 0.0.0.0 instead of :: on machines where ipv6 is disabled?

I have a Linux (Ubuntu Groovy) server that is booted with kernel option ipv6.disable=1 so IPv6 is not available. I also have some dual stack software that advertises it works with IPv4 only machines ...
0
votes
0answers
31 views

ssh into a server which is connected to a VPN service, using ifconfig and route not ip

Same issue as described here: ssh into a server which is connected to a VPN service However I have no access to the "ip" utility. Just good 'ol ifconfig and route commands as I'm working on ...
0
votes
2answers
64 views

How to find out the static IP address of a device?

I have got an IP camera which, according to the manual, is supposed to have static IP address 192.168.1.110. To connect to it (and change the network settings) I configured my laptop to have static IP ...
0
votes
0answers
18 views

Conditional static IP address for Ubuntu?

I have an Ubuntu VM, run in VMWare 15 (host OS of windows 10), I use for work which currently does not have a static IP address. Sometimes I am in the office and the IP address is 192.168.57.XXX, and ...
0
votes
1answer
50 views

Why can I not connect to the internet or ping my default gateway?

What I have tried: I have a spare hard drive in my computer that I installed Linux Mint (20.2 cinnamon 64 bit). Now I can boot to Windows (my main operating system) or Mint. Upon the fresh install, I ...
0
votes
1answer
49 views

Connecting my iphone to my raspberry pi4 (Raspberry Pi OS)

I would like to connect to my pi4 via my iphone so I can view my security camera outside of my home network. Currently my pi4 is accessible via a fixed ip address but there is no security assigned to ...
0
votes
1answer
50 views

IP forwarding, masquareding, NAT

I have one physical interface eth0 on my target, running Linux. The IP address of this interface is 172.16.81.x (public IP). I have to create a virtual interface eth0:1 with IP address 173.1.1.x. I ...
0
votes
0answers
50 views

ipinfo: command not found on Linux VM, how do I install the package?

I'm using a Linux VM on my Chromebook and I simply entered ipinfo and the command can't be found in any directory. So I figured I would need to install it and entered : sudo apt install ipinfo and ...
0
votes
1answer
27 views

How to connect internet automatically during startup?

The os recognize my ethernet device as enp6s0. ifconfig -a enp6s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.31.22 netmask 255.255.255.0 broadcast 192.168.31....
1
vote
1answer
39 views

What's preventing my ping packets from getting routed?

What I would like to do I would like to set up my Debian Stretch GNU/Linux machine to route IP packets between its network interfaces. Context These are the network interfaces of available on my ...
0
votes
1answer
38 views

(How) Can I configure a fallback for DDClient?

I want to use the Fritzbox update feature of DDClient, but also want to have a fallback to a public web server, if that does not work for some reason (e.g. cause someone just switched to another ...
1
vote
0answers
49 views

Why is my computer sometimes assigned two internal IP addresses?

I run Debian 10 and sometimes when I start the computer the output of hostname -I has three entries: $ hostname -I 192.168.0.13 192.168.0.2 fdaa:bbcc:ddee:0:d69a:20ff:fef8:dca8 Sometimes it has one ...
0
votes
1answer
103 views

Proper way to find the IP address of a website in linux

I am trying to find the IP address of this website ashesworkshop.org using kali linux. I have tried the following commands. dig ashesworkshop.org which returns me an error ; <<>> DiG 9.16....
0
votes
1answer
27 views

SSH breaking using 1 to 1 static nat

So i have a virtual machine in a private internal network on 192.168.200.0/24 with an ip address of 192.168.200.2. The external network is 192.168.1.0/24. I would like to forward all traffic on an ...
0
votes
1answer
81 views

Contents of /proc/sys/net/ipv4/ip_forward is deleted after reboot

I installed Debian 10 in VMWare. This Debian machine has to operate as gateway/router machine. To enable ip forwarding between my LAN and WAN interface, I edited the value with nano in /proc/sys/net/...
1
vote
2answers
51 views

The name of ethernet interface for my network

Why no enp1s0 ethernet interface in my os? ip -brief link |cut -d" " -f1 lo enp6s0 Why can't get the result ? ip -brief link |cut -d" " -f1 lo enp1s0
0
votes
1answer
61 views

Masking my IP address when using `wget` or `curl`

I am trying to access/download a file on an old server which has geolocation restriction. I was just wondering if I can use wget or curl on macOS and change my ip address so that the old server allows ...
0
votes
2answers
38 views

How is the LAN IP connected to the machine name?

I can't find how/where the LAN ip is connected to my machine name such that anyone typing the machine name (host name) will be directed to the IP. I know the machine name is under /etc/hostname/ but ...
2
votes
2answers
495 views

Which IP address does a network interface use?

Which IP does an interface use when the host acts as a client? Let's say I have configured eth0 with 2 IP addresses: 192.168.1.7 and 192.168.1.8 The route command shows something like this: $ route ...
0
votes
1answer
39 views

How "ip route add" if mask not CIDR

How add to route, for example IP Range 192.168.0.0 and mask 255.255.255.0 I know that: 255.255.255.0 = 24 (cidr), but i need make command in sh script, like: route add -net 192.168.0.0 netmask 255....
0
votes
1answer
64 views

Why ifdown of alias remove my main interface?

I have interface eth0 defined on my computer and alias eth0: 1 related to it # ifconfig eth0 Link encap:Ethernet HWaddr X:5D:X:3F:X:89 inet addr:X.X.0.156 Bcast:0.0.0.0 Mask:X.X.X....
0
votes
0answers
47 views

Why Is OpenVPN Losing Connection Through CentOS 7 With OVH?

A few seconds after connecting to my VPN through CentOS 7 on my virtual machine, I lose connection with no errors in the log. This only appears to be happening with CentOS 7/8. OVH documentation (...

1
2 3 4 5
21