How to pass valid ip

Hello everybody, okay?

I have a dedicated link with 6 ips valid.
I need to pass one of these IPs to a computer with private ip.

Can anyone help me?

hi…
plz decribe the details!
pass from ether?
or pass from connection ?
or…

Let me try:

My Cisco router: 200.xxx.xxx.137/29
The eth1 of my RB450G: 200.xxx.xxx.138/29
The eth2 of my RB450G: 172.16.20.1/24
NAT: chain=srcnat action=masquerade out-interface=eth1

Now I want a computer, connected via eth2, works with ip 200.xxx.xxx.139. Well said, I want to pass the public ip to it.

Or I put the public ip straight to your computer or that I put my ip in eth1 RouterBOARD and make a pass on the public ip to private ip, whatever.

What are the chances?

I hope I was clear. Thanks.

Add the IP to WAN interface and use NAT to translate it 1:1.

correct, then I do it this way:

/ip firewall nat add chain=dstnat dst-address=172.16.20.x
action=netmap to-addresses=200.xxx.xxx.139

/ip firewall nat add chain=srcnat src-address=200.xxx.xxx.139
action=netmap to-addresses=172.16.20.x

1º am I right?
2º these rules must be before the masquerade?
3 º i doing this, no need to tamper with anything, right?
4º if I want to put the public ip straight into the computer’s network card, what is the most practical means, that I still can do bandwidth control that computer?

Thanks.

  1. Yes
  2. Yes
  3. Yes
  4. Unless you own the entire subnet on your WAN interface you can’t put the public IP right on the client machine. You’d need routed IP space for that. If you do own the entire subnet you can turn on proxy ARP. Proxy ARP is ugly as hell, though.

solved;

thanks fewi.