[asterisk-users] OT - How to simulate public IPs for lab testing

Johan Wilfer lists at jttech.se
Wed Apr 10 05:25:14 CDT 2013


> Please, excuse me but I'm not sure I got your suggestion and  I'm
> realizing I didn't correctly describe my lab set up.
>
> At the moment, the router between both servers provides Internet access
> to server1.
> That means it has one WAN interface eth0 which is "on server2 side" and
> one eth1 LAN interface which is on server1 side.
> Currently, this router do NAT translation for server1.
>
> Having clarified my setup, I guess your advice is to :
> 1. add address 1.2.3.4 to router's eth0
> 2. add address 4.3.2.1 to server2 interface
> 3. configure router to route trafic to 4.3.2.1 using server2 private
> address (such as "ip route add 4.3.2.1/24 <http://4.3.2.1/24> via
> 192.168.1.25")
> 4. configure server to route trafic to 1.2.3.4 using router private address
>
> Is this correct ?
>

Sorry for the delay, but yes, that's how I do it.



More information about the asterisk-users mailing list