1833870 Members
1637 Online
110063 Solutions
New Discussion

netconf routing question

 
SOLVED
Go to solution
chad_c
Super Advisor

netconf routing question

hello.

we set up an hpux 11.11 parisc server.

we entered the following routes in the netconf file:

192.168.2.32 255.255.255.192
192.168.2.96 255.255.255.224
192.168.2.128 255.255.255.128

when we enter the command: netstat -rnv

the routes show up. however the network 192.168.2.32 route is advertised as 192.168.2.0 255.255.255.192

the other routes are advertised as they should be:
192.168.2.96 255.255.255.224
192.168.2.96 255.255.255.128

can anyone shed some light as to why 192.168.2.32 255.255.255.192 is being advertised as 192.168.2.0 255.255.255.192?

Regards,
Chad

3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: netconf routing question

192.168.2.32 / 255.255.255.192 gives you a range of addresses in that subnet of 192.168.2.1 through 192.168.2.62, so your network is really 192.168.2.0 and NOT 192.168.2.32.

192.168.2.0 / 255.255.255.192 is the correct form of what you are trying to specify.

See http://www.subnet-calculator.com/ and put in your appropriate network and subnet mask and see what it shows.

Your other network / subnet boundaries are correct, thus they show correctly in your routing table.
Eric SAUBIGNAC
Honored Contributor

Re: netconf routing question

Bonsoir Chad,

I guess it is a normal behavior. A subnet mask of 255.255.255.192 will cut in networks :

192.168.2.0 --> 192.168.2.63
192.168.2.65 --> 192.168.2.127
192.168.2.128 --> 192.168.2.191
and so on ...

192.168.2.32 / 255.255.255.192 belongs to the first subnet.

Eric
chad_c
Super Advisor

Re: netconf routing question

.