Re: How to access hosts in other subnet
- From: "lovecreatesbea...@xxxxxxxxx" <lovecreatesbeauty@xxxxxxxxx>
- Date: Tue, 29 Jul 2008 08:22:37 -0700 (PDT)
On Jul 29, 10:04 pm, b_dutta <banibrata.du...@xxxxxxxxx> wrote:
On Jul 29, 10:40 am, "lovecreatesbea...@xxxxxxxxx"
<lovecreatesbea...@xxxxxxxxx> wrote:
# route add -net 192.168.4.0 netmask 255.255.255.0 gw 192.168.3.5
to be able to talk to systems on the 192.168.4.0/24 network.
What's the ``24'' at the end of that address.
That's the no. of bits counting from the most-significant-bit position
(i.e. left side) that make up the network mask. So if you have an IPv4
address (which takes 32 bits to represent, 8 bits per octet in dotted-
decimal notation), then this means 3 octets full with 1's, and 1 octet
(LSB) with 0's.
Thank you.
Then 192.168.4.0/24 and 192.168.4.0/255.255.255.0 are equal for
192.168.4.0 is in ipv4 for sure. Am I right?
.
- References:
- How to access hosts in other subnet
- From: lovecreatesbea...@xxxxxxxxx
- Re: How to access hosts in other subnet
- From: Ronald Nissley
- Re: How to access hosts in other subnet
- From: lovecreatesbea...@xxxxxxxxx
- Re: How to access hosts in other subnet
- From: b_dutta
- How to access hosts in other subnet
- Prev by Date: Re: How to access hosts in other subnet
- Next by Date: Re: How to access hosts in other subnet
- Previous by thread: Re: How to access hosts in other subnet
- Next by thread: Re: How to access hosts in other subnet
- Index(es):