Jump to content
martinhocosta

sub-redes, o end. de brodcast e a gama de endereços das máquinas

Recommended Posts

martinhocosta

boas!

alguem me podia a ajudar a saber Calcular  sub-redes, o

end. de brodcast e a gama de endereços das máquinas?

A Rede IP utilizada é 193.25.1.0

Share this post


Link to post
Share on other sites
KTachyon

boas!

alguem me podia a ajudar a saber Calcular  sub-redes, o

end. de brodcast e a gama de endereços das máquinas?

A Rede IP utilizada é 193.25.1.0

Normalmente utiliza-se uma mask (255.255.255.0, por exemplo), mas ao dizeres que a rede IP é a 193.25.1.0, deduzo que a gama será 193.25.1.1-254, com o broadcast 193.25.1.255. Se a mask for 255.255.255.128, terás duas sub redes:

193.25.1-126, broadcast 127

193.25.129-254, broadcast 255

Podes converte-los para bits, ficando

11111111.11111111.11111111.10000000 (255.255.255.128)

11000001.00011001.00000001.00011001 (193.25.1.25)

Rede:

11000001.00011001.00000001.00000000 (193.25.1.0)

cada 1, significa que o mesmo bit do endereço fica igual e os 0 (zeros) são substituídos por zero, obtendo assim a subrede a que o ip pertence. O broadcast é o último endereço da subrede (ou seja, os 1 na mask ficam igual, e os 0 passam todos para 1)

Broadcast:

11000001.00011001.00000001.01111111 (193.25.1.127)


“There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.”

-- Tony Hoare

Share this post


Link to post
Share on other sites
martinhocosta

entao caso tenha 3 sub redes com 27 maquinas

ja n posso fazer dessa maneira?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.