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

Assign Public ip to a computer

sangram palande
Level 1
Level 1

Hi all,

I have a peculiar situation where I need to assign a public ip to a computer without going through firewall (for testing purpose).

I have the leased line going through a 3750 switch to the ASA 5510(15.240.1.2/30) belonging to vlan 999.

ASA has default route going to 15.240.1.1/30(ISP).

I have different public ip range for LAN and WAN

My WAN ip is 15.240.1.0/30, LAN ip range is 15.240.2.24/27 nated by ASA..

I want to connect the PC to the switch port belonging vlan 999 and ip address of 15.240.2.26/27.

My question is, Is there any way I can do this?

If yes, what will be the gateway for the computer?

I would really appreciate some help.

Thank you.

1 Accepted Solution

Accepted Solutions

That's correct.

You can configure internal/trusted interface [ or any interface but outside] of the firewall with the address of 15.240.2.25/27 and disable NAT for this traffic.

Thanks.

View solution in original post

3 Replies 3

rais
Level 7
Level 7

Gateway will be 15.240.2.25 - an SVI on the switch.

HTH.

Hi,

Thanks for the reply.

All interfaces of the Switch are currently operating in layer 2 and routing is disabled.

1. I cannot assign SVI ip to vlan 999 since it is /30.

2. I cannot enable routing on switch.

I think it would be easier if I go through the asa firewall and disable NAT for the public ip of the pc.

What do you think?

That's correct.

You can configure internal/trusted interface [ or any interface but outside] of the firewall with the address of 15.240.2.25/27 and disable NAT for this traffic.

Thanks.

Review Cisco Networking products for a $25 gift card