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

cisco routes

lakhwaraa
Beginner
Beginner

I have a following scenario

i want my client computer to access or go to  internet from another static ip from the pool

client IP: 10.20.1.2 with gateway as 10.20.1.1

Router IP: giga 0 (10.20.1.1) and giga 1 (192.168.1.1) 

IP Pool: 192.168.1.1-4

lakhwaraa_0-1670909603914.png

 

3 Replies 3

Spooster IT Services
Rising star
Rising star

- you can use release dhcp ethernet x/y on the router to release the current ip given by the DHCP server , and then request for a new one again  

But , When you release  your current  IP address  it's up to the DHCP server to decide what IP address you get when you request a new lease. The DHCP server will assign the "next available" IP address, which could even be the address you just released.

If you have control of the DHCP server and don't want the same IP address you  can : 

  1. Exclude the unwanted IP address from the pool of available DHCP leases so that the DHCP server won't assign the address.
  2. Create a DHCP reservation assigning the address you want to the MAC address of your network adapter.                                  or if you have no access to the server Avoid DHCP altogether and assign a static IP address.
Spooster IT Services Team

I am not using dhcp.

Internet provide is directly connected to router on giga1 and my other vlan 1 ip on router is 10.20.1.1

balaji.bandi
VIP Community Legend VIP Community Legend
VIP Community Legend

how is your configuration looks like.

Default ACL you need to remove that IP address and add new ACL and do NAT using the IP you looking to do NAT for in and out.

some examples can be find here : (or provide config to guide correctly)

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_nat/configuration/15-mt/nat-15-mt-book/iadnat-addr-consv.html

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers