cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
371
Views
0
Helpful
3
Replies

Several public IP adresses, Two Servers, One Router with one interface available

Hello everybody, I am a new Networking administrator.

I have two servers inside my network and I want each to have a public IP address outside my border router, it is something like:

                        Private IP address                        Public IP address

Server-1             192.168.0.1                                 190.100.100.1

Server-2             192.168.0.2                                 190.100.100.2

But my problem is that I only have one router with only one interface available, and it only allows me to configure one public IP address.

I tried the following configuration using NAT.

interface GigabitEthernet0/1

ip address 192.168.0.254 255.255.255.0

ip nat inside

interface GigabitEthernet0/2

ip address 190.100.100.3 255.255.255.248

ip nat outside

ip nat inside source static 192.168.0.1 190.100.100.1

ip nat inside source static 192.168.0.2 190.100.100.2

ip route 0.0.0.0 0.0.0.0 192 190.100.100.6  (public ip pool gateway)

But no success, from internet I can ping to 190.100.100.3, routers public ip address, but I can't reach 190.100.100.1 or .2

Please, help

Regards

Sergio

3 Replies 3

Ganesh Hariharan
VIP Alumni
VIP Alumni

Hi Sergio,

What is the output for show ip nat transalation ?

-GI

Hello Ganesh and thanks for the response:

This is what I get after sh ip nat translations:

Pro Inside global Inside local Outside local Outside global
udp 190.100.100.1:51906 192.168.0.1:51906 125.90.93.203:9800 125.90.93.203:9800
udp 190.100.100.1:59189 192.168.0.1:59189 10.7.1.137:53 10.7.1.137:53
udp 190.100.100.1:59189 192.168.0.1:59189 200.87.100.40:53 200.87.100.40:53
udp 190.100.100.2:61297 192.168.0.2:61297 10.7.1.137:53 10.7.1.137:53
udp 190.100.100.2:61297 192.168.0.2:61297 200.87.100.40:53 200.87.100.40:53

After I ping my servers from internet it´s still the same, I recognize that 200.87.100.40 is our ISP dns

Thanks again and regards

Sergio

Hello Everyone:

I find out that FORTIGATE has virtual IP to achive what I need but I cannot find anything about virtual IP in Cisco Routers, Is there something alike?

Regards

Sergio