-3

Subnet #1 has 192.168.135.67/28 host

Subnet #2 has 192.168.135.90/28 host

and

Subnet #3 has 192.168.135.102/28 host

uptoyou
  • 1,427
  • 19
  • 24
  • Any available host address within the network is valid for a router interface address. A router is just another host on the network, albeit the one to which traffic destined for a different network is sent. – Ron Maupin Jun 25 '17 at 22:03
  • My guess was that i need to assign subnets addresses, for example : for 192.168.135.67/28 host - assign 192.168.135.64/28 subnet #1 address to router port. But i'm not sure. – uptoyou Jun 25 '17 at 22:13
  • No, router interfaces are assigned host addresses. – Ron Maupin Jun 25 '17 at 22:14
  • But by default gateway = subnet address (if we talk about single subnet). Isn't it ? So if my router ports look at 3 subnets, they mustn't be assigned as subnets addresses ? – uptoyou Jun 25 '17 at 22:24
  • No, not at all. For IPv4, you have the network and broadcast addresses reserved, and they cannot be assigned to any hosts, including a router interface. A router interface can be assigned any valid host address. Most people assign either the first or last usable address to the router interface, but that is not a requirement. It helps to be consistent. – Ron Maupin Jun 25 '17 at 22:26
  • Thanks! You can write it as an answer and i will mark it. – uptoyou Jun 26 '17 at 06:50

1 Answers1

-2

Any available host address within the network is valid for a router interface address. A router is just another host on the network, albeit the one to which traffic destined for a different network is sent. A router interface can be assigned any valid host address. Most people assign either the first or last usable address to the router interface, but that is not a requirement. It helps to be consistent.

Ron Maupin
  • 6,180
  • 4
  • 29
  • 36
  • 1
    This question has nothing to do with programming. Please do not answer such blatantly off topic questions. It encourages them, and hinders us cleaning them up. – nobody Oct 23 '17 at 12:39