cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5300
Views
16
Helpful
5
Replies

How to exceed 255 ip address

FMComputers
Level 1
Level 1

How to exceed 255 ip address

1 Accepted Solution

Accepted Solutions

Hi @FMComputers ,

 

Yes.
In that case, the parameters would be as follows:

 

Network = 192.168.2.0/23

Range = 192.168.2.1 - 192.168.3.254

Broadcast = 192.168.3.255

 

If there are other devices with the IP parameters assigned statically, be sure to update the mask in these as well.

 

Remember to mark the correct answers as solved, because that helps other users with similar doubts.

 

Regards

View solution in original post

5 Replies 5

luis_cordova
VIP Alumni
VIP Alumni

Hi @FMComputers ,

 

Could you be a little more specific about your problem?


If you mean to be able to address more than 255 devices, this can be achieved with a suitable mask for it.


With a mask /24 you can address up to 254 host

Network = 192.168.0.0

Host = 192.168.0.1 - 192.168.0.254

Broadcast = 192.168.0.255


With a mask /23 you can address up to 510 host

 

Network = 192.168.0.0

Host = 192.168.0.1 - 192.168.1.254

Boradcast = 192.168.1.255

 

Regards

 

 

How would you set this up in your router and in tcp/ipV4

Hi  @FMComputers ,

 

Assuming that your network is connected to the f0 / 0 interface and you want to give IP parameters to your network of more than 255 hosts by DHCP:

 

Router(config)#int f0/0

Router(config-if)#ip address 192.168.0.1 255.255.254.0 <-IP address network gateway(192.168.0.1/23)

Router(config-if)#no shutdown

 

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

 

Router(config-if)#ex

 

Router(config)#ip dhcp excluded-address 192.168.0.1 <-excludes the gateway of the pool DHCP

 

Router(config)#ip dhcp pool TEST <-create the DHCP pool

Router(dhcp-config)#network 192.168.0.0 255.255.254.0

Router(dhcp-config)#default-router 192.168.0.1

 

Now, the devices connected to this interface can obtain up to 510 different addresses for the hosts.

 

Remember to mark the correct answers as solved, because that helps other users with similar doubts.

 

Regards

Can I keep my ip 192.168.2.0 and just change the Subnet to 255.255.254.0

 

Hi @FMComputers ,

 

Yes.
In that case, the parameters would be as follows:

 

Network = 192.168.2.0/23

Range = 192.168.2.1 - 192.168.3.254

Broadcast = 192.168.3.255

 

If there are other devices with the IP parameters assigned statically, be sure to update the mask in these as well.

 

Remember to mark the correct answers as solved, because that helps other users with similar doubts.

 

Regards

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: