Questions tagged [subnets]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
63 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 ...
user avatar
  • 103
0 votes
1 answer
45 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
167 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 ...
user avatar
0 votes
1 answer
93 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 ...
user avatar
  • 111
0 votes
0 answers
24 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 (...
user avatar
  • 11
1 vote
1 answer
44 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://...
user avatar
  • 1,463
0 votes
0 answers
36 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....
user avatar
0 votes
2 answers
96 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, ...
user avatar
-4 votes
1 answer
87 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?
user avatar
0 votes
3 answers
498 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 ...
user avatar
1 vote
1 answer
239 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 ...
user avatar
  • 11
0 votes
1 answer
136 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 ...
user avatar
  • 1
1 vote
1 answer
215 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 ...
user avatar
  • 4,251
0 votes
1 answer
672 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 ...
user avatar
1 vote
1 answer
268 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 ...
user avatar
  • 1,843
0 votes
0 answers
112 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 ...
user avatar
  • 1
3 votes
1 answer
3k 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 ...
user avatar
  • 33
5 votes
3 answers
12k 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 ...
user avatar
  • 51
0 votes
1 answer
20 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 ...
user avatar
  • 1
0 votes
1 answer
104 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 ...
user avatar
1 vote
1 answer
3k 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 ...
user avatar
  • 90.7k
12 votes
1 answer
16k 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?
user avatar
  • 450
0 votes
1 answer
780 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 ...
user avatar
0 votes
1 answer
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 ...
user avatar
  • 1,292
2 votes
2 answers
4k 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-...
user avatar
  • 5,134
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 ...
user avatar
  • 21
0 votes
1 answer
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 ...
user avatar
  • 600
2 votes
1 answer
416 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, ...
user avatar
  • 21
0 votes
1 answer
234 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 ...
user avatar
5 votes
2 answers
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 ...
user avatar
0 votes
1 answer
855 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 ...
user avatar
3 votes
1 answer
7k 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 ...
user avatar
1 vote
0 answers
490 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: ...
user avatar
  • 1,353
2 votes
0 answers
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 ...
user avatar
4 votes
1 answer
346 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 ...
user avatar
  • 41
0 votes
1 answer
812 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 ...
user avatar
1 vote
0 answers
349 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. ...
user avatar
  • 159
12 votes
2 answers
28k 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). ...
user avatar
  • 123
0 votes
1 answer
270 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 ...
user avatar
1 vote
1 answer
264 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' ...
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 ...
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-...
user avatar
  • 143
0 votes
1 answer
825 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 ...
user avatar
1 vote
2 answers
535 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 ...
user avatar
0 votes
1 answer
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 ...
user avatar
  • 131
1 vote
1 answer
76 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?
user avatar
  • 11k