Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHCP and Static addresses

Status
Not open for further replies.

cjlindstrom

Instructor
Sep 16, 2002
2
US
I'm trying to set up an office network in a large campus environment. I can get an address via dhcp for the outside interface. I have also been assigned two static IPs that I want to use to access internal servers. I want PAT to use the DHCP address. I'm not sure how to set up the ip addresses on the external interface. I think I can do my static mappings and access lists OK.

Can this be done? If so how?

Thanks for you help.

Craig
 
You want to do something like this for PAT:

global (outside) 1 interface
nat (inside) 1 192.168.0.0 255.255.0.0 0 0

Does that help, or do you need more assistance with the one-to-one static mappings?

-gbiello
 
Thsnks for the help. I was trying to do it with pdm and just couldn't get it to work. I have since reconfigured it from the IOS and I think I have it working know.

Does this look right ?

access-list outside_in permit tcp any host 128.187.147.242 eq www
access-list outside_in permit tcp any host 128.187.147.243 eq www
access-list outside_in permit tcp any host 128.187.147.242 eq smtp
access-list outside_in permit tcp any host 128.187.147.242 eq pop3
access-list outside_in permit tcp any host 128.187.147.242 eq imap4
ip address outside dhcp
ip address inside 10.3.0.254 255.255.255.0
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) 128.187.147.242 10.3.0.1 netmask 255.255.255.255 0 0
static (inside,outside) 128.187.147.243 10.3.0.2 netmask 255.255.255.255 0 0
access-group outside_in in interface outside

I'm still working on the DNS

Craig
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top