Skip to main content

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
1 answer
27 views

Setting up network manually, no dhcp, IPV4 only

I’m trying to configure ip (static, so without dhcp), there are some problems that I can't resolve by my self, because I do not understand it in a whole. Sorry if it is already answered, but as I said,...
anothereality444's user avatar
0 votes
0 answers
12 views

When usinga VRF together with a network namespace, I cannot ping the network namespace if the address assigned to it is already assigned in the host

My host has a network interface with gateway with 192.168.1.1 as address; the local address of this interface is 192.168.1.5. It's ok, a common network setup. I tried to set up a VRF (virtual routing ...
przemyslawo's user avatar
-1 votes
1 answer
27 views

I need help obtaining a static IP address for my SIM card [closed]

I am currently experiencing a problem with my SIM card, supplied by KPN, which is unable to obtain a static IP address in a stable manner. Despite several attempts to configure it, the problem ...
Guillaume Mirabel's user avatar
0 votes
0 answers
26 views

In Linux, if creating a TCP map with a port forwarder to a SOCKS5 proxy server, being them listening in different IPs, UDP associate doesn't work

In Linux, when I forward a TCP port with a port forwarder (such as socat) to a port of a local SOCKS5 proxy server, I can connect to the first using UDP (UDP) only if the port mapped with a port ...
przemyslawo's user avatar
0 votes
1 answer
69 views

Linux won't send multicast packets to interface

I have a server on VPN configured as a TAP device (as opposed to TUN, since it is joining to a wider network). I can send unicast traffic of that network, as well as receive multicast packets (and ...
Charles Lohr's user avatar
1 vote
1 answer
98 views

Connecting two network namespaces over a bridge

I'm trying to make one network namespace to be able to ping another namespace via a bridge. Here are the commands I'm executing: # create two namespaces ip netns add ns0 ip netns add ns1 # create a ...
AhmedWas's user avatar
  • 247
2 votes
1 answer
79 views

Firefox traffic through socks-proxy SSH tunnel attempt to use IPv6 on systems where IPv6 is not supported

I need to use socks proxy in Firefox on my laptop, using ssh tunnel to server On my laptop, I set socks proxy in firefox, and connect to server: ssh server -D1234 When I visit any website in firefox, ...
Martin Vegter's user avatar
3 votes
1 answer
60 views

IP forwarding between two LANs without masquerading

I have two LANs connected with a VPN: LAN1:192.168.0.0/24 <=> VPN:192.168.2.0/24 <=> LAN2:192.168.10.0/24 The two routers (one on each side of VPN) are running on Debian Linux and IPv4 ...
grrosminet's user avatar
0 votes
0 answers
65 views

How to assign virtual IP address from a router

My home network looks like this: Everything is GNU/Linux and network-sharing is setup using networkmanager with nmtui, I have no experience with any other tools. I need to access router A from PC ...
amp-likes-linux's user avatar
0 votes
1 answer
60 views

Unable to Connect to Internet After Deleting NetworkManager on Artix Linux

I recently deleted NetworkManager from my Artix Linux system running Runit, and now I'm unable to connect to the internet. I've tried several solutions but haven't been successful. Here's what I've ...
bazizi khaled's user avatar
0 votes
1 answer
50 views

Isolated linux bridge interfaces can't ping neighbours

I'm trying to do a learning experiment with linux bridges. I wan't to create an isolated bridge on host without namespaces with the ability to debug interface connectivity. I want to be able ping ...
Dmytro Malovanyi's user avatar
1 vote
2 answers
89 views

Find if network supports IPv6

Is there a way to find out if the IPv6 network cable is disconnected from the server through the terminal? Pinging google won't work as it could be an intranet. Any help would be appreciated!
user2384330's user avatar
0 votes
0 answers
33 views

Cannot get wireguard to connect [duplicate]

I'm trying to turn my pi into a home VPN with wireguard, but cannot get it to work, despite not receiving any errors. My pi is connected to my home router via Ethernet cable, and is given ip 192.168.1....
Rachel1983's user avatar
0 votes
0 answers
42 views

Flow of marked packets in Linux network stack

Summary: My question is regarding the flow of marked packets in the network stack. Here is what i have done: I have marked packets in the mangle table using the OUTPUT chain. I have also added a tun ...
itsloop's user avatar
0 votes
0 answers
27 views

Linux networking bridge not forwarding manually created packet

I am trying to implement packet forwarding using a BPF-program. The idea is to forward a suitable packet from veth1 (ingress) directly to veth2 (egress). The problem I am facing is that the redirected ...
Dan23's user avatar
  • 9
1 vote
1 answer
286 views

Convert unusual Netplan config to avoid deprecated Gateway4 field

I have an existing 01-netcfg.yaml file from documentation which is supposed to have worked previously. network: version: 2 renderer: networkd ethernets: eth0: dhcp4: no dhcp6: no ...
Adam G.'s user avatar
  • 11
1 vote
2 answers
61 views

How can I ping my Linux system by name without manually typing hosts files?

If I install Windows on a computer, and plug it into my LAN, I can immediately ping it by name from any other computer. If I install MacOS on a Mac, and plug it into my LAN, I can immediately ping it ...
Sod Almighty's user avatar
0 votes
1 answer
26 views

cant start dhcp server

Using debian, and installed isc-dhcp-server via the following command sudo apt -y install isc-dhcp-server After agreeing to any dependencies, the follow error message was thrown Job for isc-dhcp-...
IvanP's user avatar
  • 1
0 votes
1 answer
140 views

How to connect socks5 proxy in fedora 39?

I recently switched from Windows to Fedora, and I'm used to using "Proxifier" on Windows to connect to a proxy server effortlessly. Now, I've got this socks5 IP, port, username, and password ...
Sayeed Mahmood's user avatar
0 votes
0 answers
23 views

Script for ubuntu with 2 IPv4 so that auto choose which direction to go through

I have a PC with two IPs, for an internal network with IP 10.X.X.X and another for an external network with IP 192.168.X.X I have two network configuration profiles, one for each. If I am on 10.x.x.x ...
B_ Gamer's user avatar
1 vote
1 answer
100 views

How exactly does Linux use the prefix length assigned to network interface?

I assigned IP address 192.168.0.1/24 to eth0 in two ways. A. Adding 192.168.0.1/24 as usual # ip addr add 192.168.0.1/24 dev eth0 # ping -c 1 192.168.0.2 PING 192.168.0.2 (192.168.0.2) 56(84) bytes of ...
Akash Rawal's user avatar
1 vote
1 answer
67 views

ssh tunnel and change IP

I create my tunnel in my laptop via: ssh -p 22 -CfND 7777 mohsen@myserver After input my password, connection is established. And via socks5 in firefox I use 127.0.0.1:7777 and I can browse many ...
PersianGulf's user avatar
0 votes
0 answers
39 views

How to share my eth-wired internet from my pc to my eth-wired raspberry pi, non-wifi

I have a PC and RPI, both running debian. My PC has internet access via ethernet(not wifi), and I connect to my RPI with ssh via another ethernet from the PC to the RPI. The PC to RPI connection uses ...
raquel's user avatar
  • 11
1 vote
1 answer
44 views

How to connect an ethernet device with an AP and reach the AP's client's from the ethernet's client?

I'm configuring a Raspberry Pi Zero 2 W to act as a IOT hacking/development bridge. The Primary goals of this are: Maintain a managed client wlan device to download packages or connect to a device's ...
paumanok's user avatar
1 vote
1 answer
724 views

What does qlen 1000 mean for a noqueue qdisc

ip addr show output from within a Kubernetes pod root@customer-fd99fb7dc-82hrr:/app# ip -c addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 ...
goutham's user avatar
  • 113
3 votes
1 answer
86 views

Why can the lifetimes reported by ip address be slightly higher than the content of a received IPv6 Router Advertisement?

I'm currently investigating a strange network issue. Consider the following IPv6 Router Advertisement (note the prefix lifetimes, 5400 and 2700, respectively.): $ rdisc6 -1 wlan0 Soliciting ff02::2 (...
dialer's user avatar
  • 143
0 votes
1 answer
35 views

Can't bind client to local IP, another IP is used silently

Due to a firewall on a server, I need to make all connections to it from a host (Slackware64 linux 14.2, kernel 5.4) using allowed source IP, 10.2.23.1 in this case. IP addresses on host: $ ip a [...] ...
ico's user avatar
  • 1
0 votes
0 answers
221 views

Linux IP routing source address selection

I've been trying to independently verify the answer to this stackoverflow question about how the Linux kernel assigns a source address to IP packets when the source doesn't request a specific source ...
jezza's user avatar
  • 138
0 votes
0 answers
42 views

mod_remoteip not showing true ip of the visitor

I am trying to get the real ip behind cloudflare I did as I found on google , installed mod_remoteip then configure it as following : LoadModule remoteip_module modules/mod_remoteip.so ...
Zeyd Lprn's user avatar
1 vote
1 answer
486 views

Setting MTU does not work from systemd-networkd, but works from 'ip link set mtu'

I'm trying to change an MTU of an interface. I've noticed it does not change correctly when using systemd-networkd, but it works when I use the ip link set mtu command. Current MTU is 1500: 3: eth0: &...
hudac's user avatar
  • 779
-1 votes
1 answer
282 views

Why can't I scp a file to this host while I can ssh to it?

I configured sshd on my remote host with /etc/ssh/sshd_config.d/custom.conf: AddressFamily inet6 PermitRootLogin yes PubkeyAuthentication no Match Address fe80::d075:6982:4410:e071 This is a fresh ...
John Smith's user avatar
0 votes
1 answer
93 views

short name a domain name

I have a DDNS service with noip.com, but the link I have is so hard to remember. It's working, I can resolve it using resolveip link and I get the current IP of the router. I tried to use /etc/hosts ...
Abd Alhaleem Bakkor's user avatar
0 votes
0 answers
101 views

Specific external IP not reachable

I have an ubuntu machine(22.04 LTS) with multiple network interfaces and firewall disabled. When I ping /traceroute any external IP address it works as expected, with a single exception: 178.x.x.x. If ...
r.m.ghimis's user avatar
0 votes
0 answers
24 views

Network Connectivity Issue: Unable to Ping two VMs on eth1

I've configured two VMs and assigned them to the eth0 and to the eth1 interface. However, I'm encountering connectivity issues as I'm unable to ping between two VMs using eth1. I've verified the ...
Simon's user avatar
  • 1
0 votes
1 answer
74 views

Raspbian os Pi connected to ethernet but no network

im trying to connect to the internet and eventhough i conected the pi with a ethernet cable with a network enabled cable, it cant connect to the internet. another pi i have with the same cable is able ...
Surya's user avatar
  • 1
0 votes
0 answers
42 views

simulate differente Src IP (spoofing) for testing geoip filtering

I would like to simulate different ips for testing traffic filtering according to the ip origin. I did some tests using iptables and 2 containers simulating node1 and node2 using a bridge network. ...
creatldd1 creatldd1's user avatar
0 votes
0 answers
265 views

Issue with systemd-networkd not assigning a static IP if network device is not plugged in at boot time

I have a linux embedded system built using Buildroot, it has systemd v250. On a previous builtroot version, it was using systemd v232. I have the following network file defined: /etc/systemd/network/...
Azsde's user avatar
  • 1
0 votes
2 answers
114 views

What multicast protocol NIC uses?

I have CONFIG_IP_MULTICAST=y and currently learning about IP multicast and found out that there're 2 common multicast protocols for IP networks: PIM SS and PIM DS. Querying my wifi adapter info I ...
Some Name's user avatar
  • 265
-2 votes
1 answer
576 views

ipsweep bash script not working (name or service not known)

I coded a bash script for an ip sweeper however it keeps giving me ths "name or service not known" output. Here is the code : And here is the output when I run the script : Can you please ...
TomPps 1704's user avatar
0 votes
1 answer
82 views

UNIX SVR4.2 > How do I find the IP address on a Virtualbox system?

I have installed a VirtualBox VM of UNIX System V Release 4.2 and have discovered just how barren the internet is on documentation of it. Only a few modern commands exist, although obviously because ...
Asteroid's user avatar
0 votes
0 answers
760 views

Network bridge between Termux and Alpine Linux QEMU

I have an Android phone with Termux. Using Termux I downloaded Alpine Linux x86 QEMU. The problem: Other devices on the network cannot ping and communicate with the Alpine Linux QEMU. So that's why I ...
Praveesh Ramroop's user avatar
0 votes
0 answers
316 views

Alpine Linux: Can I bridge the eth0 to WiFi?

The problem: I have Alpine Linux downloaded on my phone, but it cannot be pinged by other devices on the network. It seems to have its own IP address and gateway that is different from the network. My ...
Praveesh Ramroop's user avatar
0 votes
1 answer
45 views

Automatically assign ip address to bridged network in VMWare Workstation?

This is how my servers with bridged adapters look like. I want to assign an ipv4 address to them. How do I do it using dhcp(preferred)? Or manual?
zeeshanseikh's user avatar
1 vote
0 answers
51 views

Why Linux as a router doesn't forward all of the packets of my protocol? [closed]

I'm implementing my own protocol over IP layer and I'm setting iph->protocol to let's say 150 value. AFAIK this protocol number 150 is not reserved for any existing protocol. I'm using two qemu ...
user2699113's user avatar
-3 votes
1 answer
44 views

Why can only get access video with 127.0.0.1:8081?

My local pc's address is 192.168.31.167. sudo ifconfig | grep inet inet 192.168.31.167 netmask 255.255.255.0 broadcast 192.168.31.255 Install motion and start it: sudo apt install motion ...
showkey's user avatar
  • 405
1 vote
0 answers
570 views

How to prevent the ip address of an interface from disappearing when restarting the direct-connected interface

NIC A and NIC B are direct-connected. I assign static IPv4 address to the interfaces. However, when I use ip link set $IFACE down/up to restart the interface B, the IP address of the interface A will ...
robin's user avatar
  • 11
1 vote
1 answer
288 views

Setting preferred interface/IP for apps [duplicate]

I have an interface with two IP's as shown below (necessary for some firewall traffic management). It seems that apps could bind to either (if they don't specify an IP) on start, possibly interfering ...
TSG's user avatar
  • 1,768
1 vote
1 answer
2k views

Understanding the use of 'src' attribute in Linux routing tables

I have a question about a route table in linux which “ip route show” command displays. I understand what “src” attribute is like based on this link. http://linux-ip.net/html/routing-saddr-selection....
Tomis winner's user avatar
0 votes
0 answers
44 views

Make Public IP on Wired Connection Static on Debian 11

I'm trying to configure my LAN interface in such a way that whenever I am connected to it, all the outbound traffic from my computer flows through a static IP address. How do I go about this? I have ...
victor orlunda's user avatar
0 votes
0 answers
70 views

How do I access a web server on the other end of an ethernet bridge?

Sorry if this is a stupid question; I know very little about networking and I've been struggling to figure this out! For a fun project, I'm trying to set up a vintage Mac as a web server (technically ...
Alex Anderson-Mcleod's user avatar

1
2 3 4 5
24