value of dst-address must have all host bits zero????

Hi this is my network layout. I tried using ospf but it is not what i need, now i am busy setting up the routes between routers myself. There are one route that im having trouble with.


On router 2 i added this…
ip address add address=172.23.128.93/28 network=172.23.128.92 broadcast=172.23.128.107 interface=wlan3

On router 1 when i tried to add route i got this error…

[admin@KKT-HS1(HS)] > ip route add dst-address=172.23.128.92/28 gateway=172.23.1
28.6
value of dst-address must have all host bits zero, as in 172.23.128.80/28
[admin@KKT-HS1(HS)] >

I can change my layout but im using /28, /29 and /30 in my network


Here is my network layout…

Router1(KKT-HS)
rb1
eth1 (link between rb1 & rb2) 172.16.0.1 ~ 172.16.0.2
grid1 (link beteen KKT-HS & Emile-HS) 172.23.128.1/30 ~ 172.23.128.2/30
grid2 (link between KKT-HS & Hannes) 172.23.128.5/30 ~ 172.23.128.6/30
omni 172.23.128.9/28 ~ 172.23.128.22/28

rb2
grid1 (Link between grwug & odnwug) 172.23.128.25/30 ~ 172.23.128.26/30
sector1 172.23.128.29/28 ~ 172.23.128.42/28
sector2 172.23.128.45/28 ~ 172.23.128.58/28
eth1 (link between rb1 & rb2) 172.16.0.2 ~ 172.16.0.1

Router2 (Emile-HS)
grid1 (link between Emile-HS & KKT-HS) 172.23.128.2/30 ~ 172.23.128.1/30
sector1 172.23.128.61/28 ~ 172.23.128.74/28
omni1) 172.23.128.77/28 ~ 172.23.128.90/28

router3 (Hannes)
grid1 (link between KKT-HS & Hannes) 172.23.128.6/30 ~ 172.23.128.5/30
omni1 172.23.128.93/28 ~ 172.23.128.106/28
grid2 (link between Hannes & thys) 172.23.128.109/30 ~ 172.23.128.110/30

router4 (Thys)
grid1 (Link between Hannes & Thys)
sector1 172.23.128.113/28 ~ 172.23.128.126/28
omni1 172.23.128.129/28 ~ 172.23.128.142/28

router5 (cpe)(Bob)
cpe (connects to sector on thys) 172.23.128.114/28

Your subnetting is wrong, and you’re not providing legal addresses. The broadcast address for 172.23.128.93/28 is 172.23.128.95 and not 172.23.128.107. You can’t just start the subnet boundary anywhere, and .92 isn’t a valid network address for a /28. A /28 can start at .0, .16, .32, .48, .64, .80, .96 and so on. I’m surprised the router on which you configured that IP address actually accepted that input