Questions tagged [subnets]

49 questions
17
votes
1 answer

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
  • 528
  • 1
  • 5
  • 22
12
votes
2 answers

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). The general diagram would look like…
greyline
  • 123
  • 1
  • 1
  • 5
8
votes
3 answers

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 felt that the Linux/Unix experts on this forum could…
lsn00b
  • 89
  • 1
  • 1
  • 3
6
votes
2 answers

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…
lendoiro
  • 81
  • 1
  • 5
5
votes
1 answer

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 this DHCP server. But how to make corrections for…
jumeno
  • 53
  • 1
  • 5
4
votes
1 answer

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 they have 3 different static public IP…
Hirmoge
  • 41
  • 2
4
votes
1 answer

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-Only Network #2: Connection-specific DNS Suffix .…
Nitro
  • 143
  • 1
  • 7
3
votes
1 answer

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 isn't the same as the subnet mask, so what would I…
Alex5775
  • 53
  • 1
  • 4
2
votes
1 answer

"Reverse" an SSH connection from destination to target

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 A, and I would like to be able to SSH A from B…
Jonathan H
  • 2,303
  • 3
  • 20
  • 27
2
votes
2 answers

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-9]*\.){3}[0-9]*' | grep -v…
CodeMed
  • 5,079
  • 45
  • 100
  • 147
2
votes
1 answer

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, called wifi0 and wifi1. I want to have two…
IcePic
  • 21
  • 1
2
votes
0 answers

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 have always the same host portion of the address…
1
vote
0 answers

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 airplay server on my computer, and I have no…
1
vote
1 answer

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://localhost or http://192.168.1.47 (IP on the local…
L. Levrel
  • 1,453
  • 8
  • 23
1
vote
1 answer

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
  • 11
  • 3
1
2 3 4