Skip to main content

All Questions

Tagged with
102 questions with no upvoted or accepted answers
1 vote
1 answer
675 views

EC2 instance with two internal IPs - using ifconfig

I am trying to allocate another internal IP to an EC2 (classic - not VPC) instance with the following command. sudo ifconfig eth0:0 inet 10.80.7.40 netmask 255.255.255.0 Here, 10.80.7.40 is just a ...
Alptigin Jalayr's user avatar
1 vote
2 answers
2k views

What kind of methods are used to calculate IP ID fields?

I'm doing a bit of research on the methods of generating the ID field of the IP headers. I have read the sources and other documents and have confirmed that Linux generates a random number for every ...
Ole's user avatar
  • 111
1 vote
0 answers
3k views

iproute nexthop not working - defining multiple default gateways

I have several point to point connections and I’d like to use all of them as default gateways. I saw this link which explains how to do this using load balancing by calling ip route with a next hop ...
Armen Babakanian's user avatar
1 vote
0 answers
1k views

How to redirect a URL to a certain IP, as with /etc/hosts?

Someone on my shared server has messed with some setting such that gethostbyname('www.google.com') (PHP) gives me the IP for his website, rather than Google. I believe this can be done via the /etc/...
mpen's user avatar
  • 12.2k
1 vote
1 answer
6k views

How to change the IPv6 link local address of an interface in Linux?

I want to remove the default IPv6 link-local address of an interface and want to replace it with a customized IPv6 link-local address? Can you help me here? If I assign a new link-local IPv6 address ...
user3349687's user avatar
0 votes
0 answers
21 views

How to communicate across network segments?

I have two hosts, A and B, which are connected to the same router via Ethernet. A's IP address is 192.168.3.100, but I don't know B's IP address. I want to scan B's IP address through A, but B's ...
朽木不可雕也's user avatar
0 votes
0 answers
13 views

WANem Emulator and two VM hosts configuration

enter image description here The below are the configurations I made , ` WANEM IP - 192.168.1.111 255.255.255.0 Client Windows IP - 192.168.1.10 255.255.255.0 Default gateway - 192.168.1.111 It is a ...
user26427295's user avatar
0 votes
0 answers
156 views

Netplan - add secondary IP address and assign a label

I saw the same question here, but I can't find it anymore. How can I add secondary IP address and assign a label to it via netplan? I have this netplan config: # This is the network config written by '...
Semyon Bayandin's user avatar
0 votes
1 answer
155 views

Cannot IP Forward From a Physical Linux Server to a Docker Container Running on Another Physical Server and Vice Versa

TLDR; I have three servers, Server A, B, and C. Server A and B are physical servers on the same subnet. Server C is a virtual server, a basic WireGuard Docker Compose container running on server B, ...
SepSol's user avatar
  • 61
0 votes
0 answers
170 views

Why do we need multiple iptables?

In man iptables there are 4 tables defined: filter, mangle, nat, raw. And many of them have the same predefined chain. For instance, nat and mangle both have OUTPUT chain. The question is why do we ...
Some Name's user avatar
  • 133
0 votes
0 answers
139 views

How does linux route to an IP address from the routable subnet if the IP address is assigned to a virtual interface on multiple nodes

I see a scenario working that I do not understand (bad luck, I know). I have a cluster comprising 3 nodes, each of them has a NIC (ens4) with an individual IP address assigned, e.g. 10.10.20.210. The ...
Richard's user avatar
0 votes
0 answers
372 views

Set a static private IP with systemd-networkd on arch linux

I am using Arch linux and I want to have a static private IP that is always 192.168.1.10. How do I do this? I am using systemd-networkd and I can achieve the functionality I want by running sudo ip ...
Roach The Bug's user avatar
0 votes
1 answer
442 views

How to detect linux device on LAN from Windows

I'm developing an application on embedded linux. User has an option to change the IP address of the device from a web portal. I have a windows application (built on C#) that can communicate with the ...
mrid's user avatar
  • 123
0 votes
0 answers
84 views

OVH new IPv4 address

I have an OVH dedicated server (under Debian 10) with the main IP "149.xxx.xxx.xxx". I bought a Fail-Over IP and I want the server to take into account this new IP, "58.xxx.xxx.xxx"...
MathiAs2Pique_'s user avatar
0 votes
0 answers
23 views

How to block internet if one of gateways is down

I have router with VPN client. Sometimes something goes wrong and connecton to VPN is down. I'd like to restrict clients from connection to the internet directly (without VPN) in this case. Is it ...
4gott3n's user avatar

15 30 50 per page
1 2
3
4 5
7