Questions tagged [subnets]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 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 ...
0
votes
0answers
47 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 ...
0
votes
0answers
20 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 (...
1
vote
1answer
39 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://...
0
votes
0answers
28 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....
0
votes
1answer
62 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, ...
-4
votes
1answer
83 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?
0
votes
3answers
295 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 ...
1
vote
1answer
178 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 ...
0
votes
1answer
102 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 ...
1
vote
1answer
163 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 ...
0
votes
1answer
463 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 ...
1
vote
1answer
154 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 ...
0
votes
0answers
91 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 ...
2
votes
1answer
2k 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 ...
3
votes
3answers
8k 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 ...
0
votes
1answer
19 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 ...
0
votes
1answer
79 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 ...
1
vote
1answer
2k 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 ...
10
votes
1answer
13k 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?
0
votes
1answer
741 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 ...
0
votes
1answer
2k 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 ...
2
votes
2answers
3k 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-...
1
vote
2answers
3k 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 ...
0
votes
1answer
3k 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 ...
2
votes
1answer
374 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, ...
0
votes
1answer
165 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 ...
5
votes
2answers
4k 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 ...
0
votes
1answer
756 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 ...
3
votes
1answer
6k 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 ...
1
vote
0answers
456 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: ...
2
votes
0answers
49 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 ...
4
votes
1answer
337 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 ...
0
votes
1answer
789 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 ...
1
vote
0answers
338 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. ...
12
votes
2answers
26k 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). ...
0
votes
1answer
269 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 ...
1
vote
1answer
240 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' ...
1
vote
2answers
1k 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 ...
4
votes
1answer
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-...
0
votes
1answer
752 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 ...
1
vote
2answers
507 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 ...
0
votes
1answer
7k views

AWS VPC NAT | ssh_exchange_identification: read: Connection reset by peer [closed]

I had a tough misleading error while connecting in AWS VPC subnets. The error did occur in B->A connection, and did not happen while A->B, so at the beginning I thought that it is library bug. It ...
1
vote
1answer
75 views

Network: how they obtain 127 subnets? [closed]

I read on a book about networks that class A has 16777214 hosts and 127 subnets,my question is: how they obtain the 127 number?