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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Branch Internet Config Help 2

Status
Not open for further replies.

jason985

IS-IT--Management
Oct 16, 2002
66
US
I am having problems getting my branches access the internet. How my network is setup is at the main branch I have a T1 out to the net and each branch has a PTP to my main branch. I need my remote branches to be able to access the internet from my main branch. I am not having any problems having my main site access th internet.

My current configuration at my main branch is Cisco Internet router - PIX – Cisco branch router – local network switch.


My main branch router looks like this
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log datetime
no service password-encryption
!
hostname
!
!
interface Ethernet0/0
ip address 192.168.1.253 255.255.255.0
no ip directed-broadcast
!
interface Serial0/0
description Branch1
ip address 192.168.0.5 255.255.255.252
no ip directed-broadcast
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.1.254 (this is my pix)
ip route 192.168.2.0 255.255.255.0 192.168.0.6
!
!
line con 0
password
login
transport input none
line aux 0
line vty 0 4
password
login
!
End

On the remote branch router the config looks like this

Current configuration:
!
version 11.3
!
hostname Branch1
!
enable secret
!
interface Ethernet0
ip address 192.168.2.0 255.255.255.0
no ip directed-broadcast
!
interface Serial0
ip address 192.168.0.6 255.255.255.252
!
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.0.5
!
line con 0
password
login
!
end
 
Do you have the Pix configured to NAT the 192.168.2.0 subnet?
 
Jason- Can you post your pix configuration, i think thats where the problem is. Looks like the pic doesn't know where to send the traffic back to the branch site.

Frank
 
I dont know too much about the PIX. It was setup before I got here. I don't think it is configured to NAT 192.168.2.0 network. I am not sure though. Let me get a copy of the config for you.

TIA
 
Here is a snapshot of my pix


:
PIX Version 6.3(1)
interface ethernet0 auto
interface ethernet1 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password encrypted
passwd encrypted
hostname PIX
domain-name xxx.com
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
no fixup protocol http 80
fixup protocol ils 389
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
no fixup protocol smtp 25
fixup protocol sqlnet 1521
no names
name 192.168.10.6 Router
name 199.xxx.xxx.xxx EX_WEB
name 199.xxx.xxx.xxx EX_MAIL
name 199.xxx.xxx.xxx EX_CATALOG
name 199.xxx.xxx.xxx IN_WEB
name 199.xxx.xxx.xxx IN_MAIL
name 199.xxx.xxx.xxx IN_CATALOG

object-group network Systems
network-object 192.168.1.66 255.255.255.255
network-object 192.168.1.122 255.255.255.255
network-object 192.168.1.65 255.255.255.255
network-object 192.168.1.67 255.255.255.255
network-object 192.168.1.75 255.255.255.255
network-object 192.168.1.76 255.255.255.255
network-object 192.168.1.77 255.255.255.255
network-object 192.168.1.69 255.255.255.255
object-group service HTTP_HTTPS tcp
port-object eq www
port-object eq https
access-list outside_access_in permit icmp any any echo-reply
access-list outside_access_in permit icmp any any time-exceeded
access-list outside_access_in permit icmp any any unreachable
access-list outside_access_in permit icmp any any source-quench
access-list outside_access_in permit tcp any host 199.xxx.xxx.xxx eq smtp
access-list outside_access_in permit tcp any host 199.xxx.xxx.xxx eq www
access-list outside_access_in permit tcp any host 199.xxx.xxx.xxx eq 8080
access-list outside_access_in permit tcp any host 199.xxx.xxx.xxx eq www
access-list outside_access_in permit tcp any host 199.xxx.xxx.xxx eq 8000
access-list outside_access_in permit tcp any host 199.xxx.xxx.xxx eq domain
access-list outside_access_in permit udp any host 199.xxx.xxx.xxx eq domain
access-list outside_acces_in permit udp any host 199.xxx.xxx.xxx eq domain
access-list outside_acces_in permit tcp any host 199.xxx.xxx.xxx eq domain
access-list SPLITTUNNEL permit ip 192.168.1.0 255.255.255.0 192.168.10.0 255.255.255.0
access-list 101 permit ip 192.168.1.0 255.255.255.0 192.168.10.0 255.255.255.0
access-list inside_access_in permit tcp host 192.168.1.94 any eq www
access-list inside_access_in permit tcp object-group Systems any eq www
access-list inside_access_in permit tcp object-group Systems any eq https
access-list inside_access_in permit tcp host 192.168.1.65 any object-group HTTP_HTTPS
access-list inside_access_in permit tcp host 192.168.1.76 any object-group HTTP_HTTPS
access-list inside_access_in permit tcp any host 192.168.1.254 eq www
access-list inside_access_in permit tcp any host 192.168.1.254 eq https
access-list inside_access_in permit tcp host 192.168.1.94 any eq https
access-list inside_access_in deny tcp any any eq www
access-list inside_access_in deny tcp any any eq https
access-list inside_access_in permit ip any any
pager lines 24
logging on
logging trap warnings
logging host inside 192.168.1.122
mtu outside 1500
mtu inside 1500
ip address outside 199.xxx.xxx.xxx 255.255.255.0
ip address inside 192.168.1.254 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool VPNPOOL 192.168.10.1-192.168.10.25
pdm location 192.168.10.6 255.255.255.255 outside
pdm location 192.168.1.65 255.255.255.255 inside
pdm location 192.168.1.75 255.255.255.255 inside
pdm location 192.168.1.76 255.255.255.255 inside
pdm location 192.168.1.252 255.255.255.255 inside
pdm location 63.97.16.0 255.255.255.0 outside
pdm location 192.168.10.0 255.255.255.0 outside
pdm location 192.168.1.94 255.255.255.255 inside
pdm location 192.168.1.254 255.255.255.255 outside
pdm location 192.168.1.122 255.255.255.255 inside
pdm group Systems inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
global (outside) 1 199.xxx.xxx.xxx netmask 255.255.255.255
nat (inside) 0 access-list 101
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) 199.xxx.xxx.65 192.168.1.65 netmask 255.255.255.255 0 0
static (inside,outside) 199.xxx.xxx.76 192.168.1.76 netmask 255.255.255.255 0 0
static (inside,outside) 199.xxx.xxx.75 192.168.1.75 netmask 255.255.255.255 0 0
static (inside,outside) 199.xxx.xxx.67 192.168.1.67 netmask 255.255.255.255 0 0
access-group outside_access_in in interface outside
access-group inside_access_in in interface inside
route outside 0.0.0.0 0.0.0.0 199.xxx.xxx.249 1
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server RADIUS protocol radius
aaa-server LOCAL protocol local
aaa authentication http console LOCAL
aaa authentication ssh console LOCAL
http server enable
http 192.168.1.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set DES esp-des esp-md5-hmac
crypto dynamic-map dynmap 4 set transform-set DES
crypto map mymap 20 ipsec-isakmp dynamic dynmap
crypto map mymap client configuration address initiate
crypto map mymap client configuration address respond
crypto map mymap interface outside
isakmp enable outside
isakmp key ******** address 0.0.0.0 netmask 0.0.0.0
isakmp identity address
isakmp client configuration address-pool local VPNPOOL outside
isakmp policy 8 authentication pre-share
isakmp policy 8 encryption des
isakmp policy 8 hash md5
isakmp policy 8 group 2
isakmp policy 8 lifetime 86400
vpngroup VPN address-pool VPNPOOL
vpngroup VPN dns-server 192.168.1.76
vpngroup VPN default-domain xxxx.com
vpngroup VPN split-tunnel SPLITTUNNEL
vpngroup VPN idle-time 1800
vpngroup VPN password
telnet 192.168.1.0 255.255.255.0 inside
telnet timeout 30
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 5
console timeout 0
dhcpd address 192.168.1.2-192.168.1.2 inside
dhcpd dns 199.xxx.xxx.65 199.xxx.xxx.94
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
dhcpd enable inside
username xxxx password encrypted privilege 15
terminal width 80
Cryptochecksum:
: end
 
JOAMON,

Its not the nat command because he has the nat (inside) 1 0.0.0.0 0.0.0.0 and the global (outside) 1 199.xxx.xxx.xxx netmask 255.255.255.255. What this is saying is everything from the inside interface assign it to the extern IP address of 199.xxx.xxx.xxx.

Jason-

What you are missing is this command; route inside 192.168.2.0 255.255.255.0 192.168.1.253. This command will aloow your branch user on the 192.168.2 network to use the internet through your main branch. For every other branch office you add, you add another route statement to your Pix.

Frank
 
Frank-

You the man! That worked! Thanks everyone for your help!!

Jason
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top