ip

hello can tell me anyone how to create ip adres with only one port for e.x because i have 3 ip adreses for 3 sectors in rb 433 how to create separate ip adres i have 192.168.1 and 2.3 etc.thanks

so, what’s problem?.. you can create any number of addresses per interface

you can assign multiple ip addresses to same interfaces.
here is example

/ip address
add address=192.168.1.1/24 interface=ether1
add address=192.168.2.1/24 interface=ether1
add address=192.168.3.1/24 interface=ether1

& u can use any address from these subnets to assign to any device which is connected to ether1

ok thanks but how to create this adreses with only one port for example 192.168.2.1 not 192.168.2.2.3.4.5 etc.thanks

there is not possible to assign same IP Addresses to more than 1 interface
You can bridge that interfaces and assign a unique IP Address on the bridge
But remember the bridge will allow bypass bidirectional traffic on all interfaces, normally.

just use /32 mask instead of /24 :slight_smile:
but why do you need it?

I don’t think anybody really understood the original question. Including me :slight_smile:

tech2 clarify with full detail what you want, and what is the issue now

i want to create ip with only one port not 254 and i have gateway with 192.168.1.1 how to make 192.168.1.254.thanks

still can’t understand your question :sunglasses:
explain briefly what u really want to do? then maybe some1 help u

i want to create ip with only one port not 254 and i have gateway with 192.168.1.1 how to make 192.168.1.254.thanks

if i understood, you want to assign 192.168.254 to the interface which connected to 192.168.1.1 but you want 192.168.1.2-253 be not in your subnet mask? i understand correctly?

tech2
Just explain this “ip address with one port”?

not with 254 ip but with one ip you understand me ? i have gateway 192.168.1.1 how i can create other gateway 192.168.1.254 i not can create ip for ex
192.168.1.1
255.255.255.0
192.168.1.1 because gateway is with 1 in end.
thanks for understand

hi

perhaps you need subnetmask 255.255.255.252 ?!? (/30)
This is Addressrage 192.168.1.0 - 192.168.1.3 (its 2 usable Addresses)

I want to create an gateway that ends with a 254 not with 1 for example 192.168.1.1 but 192.168.1.254 not possibly understand me now?..

And?

Simply set the device ip address to that and if using Dhcp make sure that .254 is not in the scope

i create ip adres but gateway is 1 not 254 i want to change

we need screenshots! no one understands you!

I once had a wise professor that gave 5 points for each problem if you draw just a simple picture.
The exam had 4 or 5 problems, so you could easily get 20~25 points. Just make a picture.
It was amazing how many students got less than 20 points. (100 is perfect)

Draw a picture. It tells 1,000 words and gets you 5 points.

It doesn’t need to be pretty.