lousx
April 10, 2013, 6:22am
1
Have LAN address: 192.168.0.0/16
We have AS and the address pool: xxx.234.147.0/24
Configured bgp.
Configured dst-nat.
Everything works.
But there is one problem. We need to give the local device IP Address from xxx.234.147.0/24. for example xxx.234.147.12
How to set it up?
Sorry for my English.
Do you have another IP range for the WAN connection ? a /30 from your ISP ?
You can put an IP from the /24 block onto the LAN eg xxx.234.147.1/24
Then you can disable your NAT rule.
Then local devices can have an address in xxx.234.147.0/24 and use xxx.234.147.1/24 as their gateway.
Hope that helps
Nick.
lousx
April 12, 2013, 5:21am
5
Thank you.
But I want to use NAT and at the same time give the public ip to one device
I suggest you to set the NAT and port-forward necessary port to target machine.
Cheers.
lousx
April 15, 2013, 6:34am
7
I need to have a working station was only a public ip address.
Thanks.
Take a subnet out of your range, create a vlan(assuming you are using a switch) address the vlan and then add your hosts to that vlan with an address in the subnet you made and a gateway of your router address you put on the vlan interface. A standard ‘3 leg perimeter’ firewall type setup
Sent from my GT-I9100 using Tapatalk 2