Skip to main content

Questions tagged [subnets]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

How to join two subnets (on different interfaces) into one network managed by ISP router

I am very new with Linux networking. I have the following network topology: I have WiFi router connected to ISP. "Host 1" and Debian 12 server are connected to the router (and Internet) via ...
Sergey's user avatar
  • 101
2 votes
1 answer
110 views

How to configure a WireGuard client to interact with two distinct servers?

I want an unmanned WireGuard client to work with redundant WireGuard servers. Physical: I have a master database server in a VPS of provider A in the USA. I have continuous replication running to a ...
Martin Bramwell's user avatar
0 votes
0 answers
26 views

local RHEL 8 apache webserver not available from different subnet

I have setup a small apache webserver on a RHEL 8 VM that is accessible to machines on that particular subnet (10.x.x.x), but not on another subnet (172.x.x.x). This webserver has no internet access. ...
808mrb's user avatar
  • 1
0 votes
0 answers
46 views

VirtualBox - Different subnets on the same network

I have several virtual machines which are running in VirtualBox. Ubuntu Server 18.04 is installed on host. All of them are using "Host-Only Guest". Also Internet is working through "...
Semyon Bayandin's user avatar
0 votes
1 answer
620 views

Samba server share files across two subnets

I'm with some problems setting up a Samba server between two subnets; I Have one subnet that has the Samba server and every computer in this lan can access the files. But now I have another server in ...
Anderson Silvestre's user avatar
0 votes
2 answers
13k views

“systemctl start dhcpd.service” command not working for PXE server setup virtual

I am trying to setup a PXE server on my laptop on CentOS 7 to connect to a physical test client, following the tutorial on: https://www.linuxtechi.com/configure-pxe-installation-server-centos-7/#...
akayoshi1's user avatar
0 votes
1 answer
322 views

IP Subnetting /16 into 5 equal parts [closed]

I having a hard time understanding IP subnetting for /16 mask. I went through some tutorials and understood the host part and non-vlsm but with vlsm and dividing into equal parts, is something I am ...
Atihska's user avatar
  • 103
0 votes
1 answer
275 views

How to setup internet connection sharing on second subnet

I have a problem with the usage of a pxe server and internet sharing to work together. In first place, I had only one network adapter and used DNSMASQ, every time I had to install a computer's OS. I ...
user avatar
1 vote
0 answers
944 views

Connect iPad to Linux computer using ethernet over USB C (forming a "mini-network")

I teach a class which requires me to switch between projecting my ipad (handwritten notes) and my computer desktop (code, simulations, etc.). To do this, I installed uxplay which allows me to host an ...
iPadLinuxUser's user avatar
0 votes
1 answer
725 views

How can I create a virtual subnet that spans multiple servers?

I have some CentOS 7 servers hosting VMs. The VMs are connected to a network bridge on their respective hosts that allows them to communicate with each other and with the host (via a dummy adapter on ...
mrog's user avatar
  • 111
0 votes
0 answers
30 views

two interface with the same network configurations

Is it possible to have two interfaces (eth0, eth1) that are connected to different networks but the same IP configurations? For example: NETWORK0 (10.0.0.1/24) <---> eth0 (10.0.0.100/24) eth1 (...
gxor's user avatar
  • 111
1 vote
1 answer
324 views

Website served on port 80 unreachable from my phone in the local subnet

I'm building a website on my laptop. To see how it renders, I serve it locally on port 80 with lighttpd. I can then open it in my laptop's browser via any IP or URL referring to the laptop http://...
L. Levrel's user avatar
  • 1,503
0 votes
0 answers
113 views

Can't access device behind Double NAT LAN

I've got a few devices on my LAN running different Linux distros: Ubuntu 20.04 CentOS 7 Fedora 33 They're all in the same subnet 192.168.50.0/24. Network map: Until recently, from my PC (192.168....
denormalizer's user avatar
0 votes
2 answers
302 views

Join 2 subnets on Raspberry Pi

I have setup a small Wireguard VPN network between 3 devices: Digital Ocean VPS (server, 10.222.0.1) Raspberry Pi on my home network (peer, 10.222.0.2) iPhone 11 (peer, 10.222.0.3) From any device, ...
foilandwater's user avatar
-4 votes
1 answer
170 views

Is 172.20.0.2/24 an ip address or subnet? [duplicate]

Can we also assign a subnet to a computer as an ip address?
Nitin Kumar's user avatar
0 votes
3 answers
2k views

Difference between ip addr and ifconfig?

If it's subnet then it should have 254 hosts. But it's showing me that it's my private ip address of my linux VM but it looks like subnet. If i use ip addr command it shows my ip is 10.0.1.178/24 as ...
Nitin Kumar's user avatar
1 vote
1 answer
502 views

Can’t reach the whole subnet

I hope someone can help me. This server issue I have is driving me crazy! So I have the following configuration: INTERNET ...
Jeroen's user avatar
  • 11
0 votes
1 answer
305 views

Adding IP allocation with ifcfg gives wrong broadcast address?

I got a /29 IP allocation from my ISP. I added them using ifcfg to the range file for my interface: ifcfg-eth0-range:0 (NOTE: I replaced my actual IPs with private IPs here.) IPADDR_START=192.168.2.0 ...
mrmc's user avatar
  • 1
1 vote
1 answer
332 views

two active network ports different subnets RHEL CentOS 7

Can I have eth0 as 151.x.x.x and eth1 as 192.168.1.1 be active at the same time in RHEL 7? If so how? I am running RHEL 7.8 and it has one quad-port Intel NIC. I would like to run a NAS off my eth1 ...
ron's user avatar
  • 7,172
0 votes
1 answer
4k views

OL7: Telnet no route to host

it might be a dumb question but I'm stuck. I have to subnets on my router 10.0.0.x/24 and 192.168.88.x/24, while ping is working on VM's with 10.0.0.x/24 subnet and they see each other - telnet is ...
Odyseja2011's user avatar
2 votes
1 answer
1k views

"Reverse" an SSH connection from destination to target [duplicate]

I have two machines A and B which are in different subnets, both behind separate firewalls. Machine A can see B, but B cannot see A. I have a user account (non-root) on both machines, I can SSH B from ...
Jonathan H's user avatar
  • 2,393
0 votes
0 answers
369 views

How To Use fping Command With Subnet Format Like 255.255.255.0 In Parrot?

I'm working on a script project to detect ARP spoofing. Firstly I need to find all my local area network neighbours. I'm using fping command to find them all. The command im using: fping -a -r 0 -g ...
WWA's user avatar
  • 1
5 votes
1 answer
9k views

How to declare fixed addresses for each subnet in isc-dhcp-server?

On Ubuntu, I've written some host declaration in each subnet with isc-dhcp-server, and each fixed address for each network interface are successfully leased. There are plugged two network cards on ...
jumeno's user avatar
  • 53
11 votes
3 answers
43k views

What does this mean /16 after an IP address

I came across an ip like this the other day 255.255.255.1/16 I thought the /16 referred to the number of subnetting addresses the IP could generate. However, I suspect I may be horribly wrong and ...
lsn00b's user avatar
  • 119
0 votes
1 answer
26 views

Linux disconnect two subnetworks

I have one router with 3 networkcards (one goes global and two are intern) and I would like to know if i enabled in the router nat.ipv4.ip_forward = 1 so does a host on subnet 1 cann reach a host on ...
Alon's user avatar
  • 1
0 votes
1 answer
412 views

Routing over different subnets

I have two subnets S1 (10.3.0.0/24) and S2 (10.3.120.0/24) and two CentOS 7.6 machines A and B. Machine A two NICs, one for each subnet with ip addresses 10.3.0.4 on eth0 for S1 and 10.3.120.254 on ...
thisisshantzz's user avatar
1 vote
1 answer
4k views

What is the network 169.254.0.0/16 used for in the routing table on a virtual machine?

What is the network 169.254.0.0/16 used for in the routing table on a virtual machine (guest: Debian; host: Lubuntu)? How can I find out some or all the network interfaces assigned with IP addresses ...
Tim's user avatar
  • 103k
17 votes
1 answer
29k views

meaning of "brd" in output of IP commands

In the following example: $ ip a | grep scope.global inet 147.202.85.48/24 brd 147.202.85.255 scope global dynamic enp0s3 What does the 'brd' mean?
cardamom's user avatar
  • 592
0 votes
1 answer
883 views

OpenVPN configuring client to use subnet topology results in "inet prefix is expected rather than 10.66.10.6/-1"

Right now whenever I connect to a (commercial) VPN server a tun interface spins up with an inet address assigned to it as well as a peer one (whatever that means). root@mininet-vm:/etc/openvpn# ip -4 ...
Panayiotis's user avatar
0 votes
1 answer
3k views

Access IP address on different subnet without gateway

I have an USR-TCP232-S2 IP-to-Serial converter and I would like to access it over Ethernet to set it up. The module comes with a fixed IP address 192.168.0.7. My PC (Lubuntu 18.04) is however on a ...
NZD's user avatar
  • 1,452
3 votes
2 answers
5k views

grep for an IP range?

On a RHEL 7 box whose local IP address is 10.0.0.159, the following command prints out the IP 10.0.0.159: $ echo "$(ifconfig eth0 | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | \ grep -Eo '([0-...
CodeMed's user avatar
  • 5,269
1 vote
2 answers
4k views

How to route to a gateway on different subnet? [closed]

My network is on 10.3.4.x/24, with my router on IP 10.3.4.254. I need to ssh access my server on IP 10.3.4.100 but when I set up the server I forgot that I restricted ssh access to 192.168.x.x IPs ...
glass's user avatar
  • 21
0 votes
1 answer
4k views

dhcpd and bridge - No subnet declaration error

I prepared dhcpd configuration in Debian 8 and it successfully worked but then I added bridge and dhcpd failed. bridge: root@remote:/home/s# brctl show bridge name bridge id STP enabled ...
trzczy's user avatar
  • 650
2 votes
1 answer
701 views

Separate two network bridges on linux

I am currently trying to setup a router for my homenetwork using linux (Archlinux to be more specific). The embedded board i am using has 3 lan interfaces, called wan0, lan0, lan1 and two wifi cards, ...
IcePic's user avatar
  • 21
0 votes
1 answer
684 views

Is there a way to setup a computer to talk to two different devices on different subnets which are physically connected?

Situation: I have 3 devices on an Ethernet network. 1) 172.30.40.100 (Ubuntu 14.04) 2) 172.30.41.101 (other) 3) 192.168.30.102 (other) I would like to setup 1) to be able to send msgs to both of ...
Carl Bartlett's user avatar
8 votes
2 answers
8k views

Check overlapped subnets

I want to know if there's a way to check if some subnets are (or not) overlapped with a List of IPs For example, we have this List: 197.26.9.128/25 193.36.81.128/25 194.33.24.0/22 188.115.195.80/28 ...
lendoiro's user avatar
  • 101
0 votes
1 answer
1k views

Samba share not accessable from other subnets

Thanks for taking a look to my issue and think with me for a solution. I have a samba server on a subnet 172.23.3.55/23 (2.0 --> 3.255) and within that subnet I can access the server no problem. Also ...
SHLelieveld's user avatar
3 votes
1 answer
10k views

How to set the subnet of a network interface?

For an assignment I'm setting up a router in Linux and I have to edit the p7p1 config file to set the network up. One thing I have to do is set the local subnet to 172.27.13.0/24. I'm assuming this ...
Alex5775's user avatar
1 vote
0 answers
672 views

CUPS: use printers in different subnet

I am trying to configure a cups server located in a subnet, that have to comunicate with printers installed in others subnets. For example: cups server ip: 192.168.0.1 /16 printer 01 ip: ...
Bau Miao's user avatar
  • 1,533
2 votes
0 answers
51 views

Setting the same host address on different networks

I have a set of devices to be deployed on different local networks which have to be configured without DHCP. Every network has the same subnet mask and the gateway and the device in every network ...
Matteo Zaccagnino's user avatar
4 votes
1 answer
398 views

Debian Server with 3 NIC Communicating with 3 different IP subnets

I have an ISP billing system installed on Debian GNU/Linux 8, which has 3 NIC cards. The Server is connected to 3 Mikrotik routers. Each router is connected to different internet lines which means ...
Hirmoge's user avatar
  • 41
0 votes
1 answer
925 views

CentOS 7.2 Virtual Machine Manager - VMs on different subnet cannot ping third VM

I have a CentOS 7.2 host running Virtual Machine Manager, there are three guest VMs on this host (all are CentOS 7.2) Two servers (A and B) are on the same network 192.168.122.0/24, they have the ...
jwhstman's user avatar
1 vote
0 answers
412 views

Resolving conflict between openvpn subnet domain and local subnet domain

I connect to my employer's network via an openvpn setup. That gets me into a 192.168.22.0/22 subnet, with a gateway into the real network I need (inside my employer's internal net) at 192.168.20.0/22. ...
Pointy's user avatar
  • 159
12 votes
2 answers
33k views

Routing Between Multiple Subnets

Let's say I want to create an internal network with 4 subnets. There is no central router or switch. I have a "management subnet" available to link the gateways on all four subnets (192.168.0.0/24). ...
greyline's user avatar
  • 123
0 votes
1 answer
352 views

VPN Clients only can connect to other machines after ping

I have a weird problem. I have an OpenVPN server up and running. When my VPN clients (10.0.0.x) try to connect to another machines (192.168.0.x), they fail (I tried netcat, telnet and SIP). If I ...
doublezero's user avatar
1 vote
1 answer
322 views

debian libvirt 2 subnets

I want to create a network like this: I have a virtual host which is conntected to my physical router with eth0 and ip4 address 192.168.178.100. I create a virtual machine dmz which connects 'direct' ...
Erwin Straver's user avatar
1 vote
2 answers
2k views

Is a subnet required for a dhcp.conf?

I am setting up my dhcp.conf file for my dhcp server. All documentation says you 'can' define subnetworks but I have not seen and example without them. Definitions of a subnetwork say they are a ...
McShaman's user avatar
  • 113
4 votes
1 answer
8k views

Virtual Box guest on different subnet than host

I currently have my Debian VM using NAT and it is on subnet 10.0.2.x where my host is on 192.168.0.x how can I get my guest on the same subnet as my host? Host: Ethernet adapter VirtualBox Host-...
Nitro's user avatar
  • 143
0 votes
1 answer
911 views

How to assign two iface to different subnets?

I have a ethernet connection eth0 and a wifi usb connection wlan0 on my raspbian box which both connect to a router with internet. In my etc/network/interfaces file I have a setup that allows me to ...
buntybudia's user avatar
1 vote
2 answers
658 views

Meaning of address netmask without route to subnet?

My understanding is that the netmask of the interface tells what subnet the interface belongs to. Meaning of this information is that the routing system knows that packets to this subnet should be ...
Konstantin Shemyak's user avatar