01-31-2011 07:00 PM - edited 03-06-2019 03:17 PM
I have a Cisco 2621 (172.30.1.50) attached to a network (172.30.1.0) the firewall is the gateway (172.30.1.1) and I cant ping anything in the real word by IP or by name. As the gateway and the Ethernet port are on the same network I dont think I need a routing statement in the Gateway/firewall. Can someone tell me what I am doing wrong?
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname "Cisco-2621"
!
enable password cisco
!
ip subnet-zero
!
!
ip name-server 172.30.1.9
!
!
!
!
!
interface FastEthernet0/0
ip address 172.30.1.50 255.255.255.0
duplex auto
speed auto
no cdp enable
!
interface Serial0/0
ip address 192.168.1.254 255.255.255.0
no cdp enable
!
interface FastEthernet0/1
ip address dhcp
duplex auto
speed auto
no cdp enable
!
interface Serial0/1
ip address 192.168.3.254 255.255.255.0
no cdp enable
!
interface Serial0/2
no ip address
shutdown
no cdp enable
!
ip classlessno ip http server
!
!
no cdp run
!
line con 0
line aux 0
line vty 0 4
password cisco
login
!
!
end
Solved! Go to Solution.
01-31-2011 08:55 PM
To reach the Internet, you would of course need to configure default gateway on the router, otherwise, the router wouldn't know where to route the traffic to.
To configure default gateway on the router, and you mention that firewall is the gateway to the Internet, you would need to configure the following:
ip route 0.0.0.0 0.0.0.0 172.30.1.1
Further to that, you would also need to check that the firewall is configured for NAT/PAT, access-list/policy to allow the traffic through towards the internet.
01-31-2011 08:55 PM
To reach the Internet, you would of course need to configure default gateway on the router, otherwise, the router wouldn't know where to route the traffic to.
To configure default gateway on the router, and you mention that firewall is the gateway to the Internet, you would need to configure the following:
ip route 0.0.0.0 0.0.0.0 172.30.1.1
Further to that, you would also need to check that the firewall is configured for NAT/PAT, access-list/policy to allow the traffic through towards the internet.
02-01-2011 09:56 PM
Thanks Jennifer thats exactally what was wrong, newbie mistake. Thank You
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide