Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
You may experience some slow load times, errors, and slight inconsistencies. We ask for your patience as we finalize the launch. Thank you.

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Cannot ping PC to Server



I am having a strange problem and I have attached the drawing of the setup.


The problem is that there is a new server that has been put in and it needs to talk to a PC.


Both HAVE to be in different networks and therein lies the problem.


Also the server does not have the option to give a DG to be put in. Hence I cannot reach the server from the PC when they are on different network.


Can you advise how this can be overcome?


Any hints will be much appreciate.


Many thanks in advance.



  • LAN Switching and Routing

HiDo you explain exactly why


Do you explain exactly why you can't define DG on your server?

You have not access to it or you are not authorized or something else?



New Member

Hi Houtan I have access to

Hi Houtan


I have access to the server but there is no section for a DG. it only gives the option for IP address, subnet mask and port allowed. strange way to setup!



Without a default gateway,

Without a default gateway, the server won't know how to resolve routes that are not on its own network. When the PC tries to communicate with the server, the PC will send its source address, but the return traffic will be lost. According to your diagram, you're using a router to route between vlans? If so, you could use destination nat possibly to solve the problem (I have not tested this, but I could lab it up). When the PC goes to 192.168.1.x server, it can nat as a 192.168.1.x address. That would put the server in the same subnet, and you should be able to get the return traffic. If you only need this one PC to talk to the server, you could configure static nat for that 1 pc for the 192.168.1.x address that you want, and the server would also be able to initiate connections unless you didn't need that.


NAT works fine in this situation if you're able to do that. I labbed it up and was able to get the return traffic without setting a default gateway on the "server" host.



HTH, John *** Please rate all useful posts ***
New Member

Thanks John for your thoughts

Thanks John for your thoughts. so it should be a matter of NATting to an IP address in the range right?


and the NAT inside outside commands should be in the two sub-interfaces facing the router?




Yes. You'll nat out as an

Yes. You'll nat out as an address in the 192.168.1.x range. Your config would look something like:


int g0/0.5

ip address

ip nat in


int g0/0.130

ip address

ip nat out




ip nat inside source list 100 interface f0/0 overload

access-list 100 permit ip host host


Whenever the host goes to that server, it will nat out as The return traffic will be returned to the router because the server sees the initiated traffic from something on its own subnet.




HTH, John *** Please rate all useful posts ***
New Member

what is the running OS on

what is the running OS on your server

Thanks, Anas *--* Please rate the useful post,its free ;) *--*