could you show me the config?
Main Topics
Browse All TopicsI am trying to setup vlans on a Cisco 520 router and I cannot get to the internet from a PC.
Topology:
Internet ---> Firewall ---> Switch ---> Cisco 520 Router ---> Vlan 10
|
Vlan 75
Router WAN port (ip 10.1.254.254) is connected to Switch with default gateway of firewall.
Router port 0 (Vlan 10) connected to switch on subnet 1 (10.1.0.0 network)
Router port 3 (Vlan 75) connected to switch on subnet 2 (192.168.1.0 network)
My PC is on the 10.1.0.0 network and I set my default gateway to WAN port of router, but I cannot get out to the internet.
I can ping web addresses fine from the router itself.
I have to be missing something and need a fresh set of eyes...
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
My IP is 10.1.5.6 255.255.0.0 (connected to Vlan 10)
I cannot ping 192.168.1.25 (Vlan 75)
SR520#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 10.1.1.254 to network 0.0.0.0
10.0.0.0/16 is subnetted, 1 subnets
C 10.1.0.0 is directly connected, FastEthernet4
is directly connected, Vlan10
C 192.168.1.0/24 is directly connected, Vlan75
S* 0.0.0.0/0 [1/0] via 10.1.1.254
SR520#show vlan-switch
VLAN Name Status Ports
---- --------------------------
1 default active Fa1, Fa2
10 VLAN0010 active Fa0
75 VLAN0075 active Fa3
100 VLAN0100 active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
10 enet 100010 1500 - - - - - 0 0
75 enet 100075 1500 - - - - - 0 0
100 enet 100100 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
My current ip is:
IP: 10.1.5.6
subnet mask: 255.255.0.0
gateway: 10.2.1.254
ikalmar:
When I ping 255.255.255.255 from the router, I get replies from both Vlans
Reply to request 4 from 10.1.3.28, 20 ms
Reply to request 4 from 10.1.3.19, 20 ms
Reply to request 4 from 10.1.2.15, 20 ms
Reply to request 4 from 10.1.3.20, 20 ms
Reply to request 4 from 192.168.0.2, 20 ms
Reply to request 4 from 192.168.0.4, 20 ms
Reply to request 4 from 192.168.0.3, 20 ms
Reply to request 4 from 192.168.0.1, 20 ms
Reply to request 4 from 10.1.3.27, 16 ms
Reply to request 4 from 10.1.2.21, 16 ms
Building configuration...
Current configuration : 1944 bytes
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SR520
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
logging buffered 4096
enable secret 5
enable password xxxxxxxx
!
aaa new-model
!
!
aaa authentication login default local
aaa authentication login tango_authen_login line local
aaa authorization exec default local
aaa authorization exec tango_author_exec if-authenticated
!
!
aaa session-id common
!
!
dot11 syslog
ip source-route
!
!
!
!
ip cef
ip name-server 10.1.100.100
ip name-server 10.1.100.101
!
no ipv6 cef
multilink bundle-name authenticated
!
!
username jasonl secret 5
!
!
!
archive
log config
hidekeys
!
!
!
!
!
interface FastEthernet0
switchport access vlan 10
no cdp enable
!
interface FastEthernet1
shutdown
no cdp enable
!
interface FastEthernet2
shutdown
no cdp enable
!
interface FastEthernet3
switchport access vlan 75
no cdp enable
!
interface FastEthernet4
ip address 10.2.1.254 255.255.0.0
duplex auto
speed auto
no cdp enable
!
interface Vlan1
no ip address
!
interface Vlan75
ip address 192.168.1.25 255.255.255.0
!
interface Vlan10
ip address 10.1.254.253 255.255.0.0
!
interface Vlan100
no ip address
!
ip default-gateway 10.1.1.254
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 10.1.1.254
ip route 10.1.0.0 255.255.0.0 Vlan10
ip route 10.1.0.0 255.255.0.0 FastEthernet4
ip route 192.168.1.0 255.255.255.0 Vlan75
!
ip http server
no ip http secure-server
!
snmp-server community public RO
!
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
no modem enable
line aux 0
line vty 0 4
password xxxxxxxxxx
authorization exec tango_author_exec
login authentication tango_authen_login
!
scheduler max-task-time 5000
no process cpu extended
no process cpu autoprofile hog
end
Business Accounts
Answer for Membership
by: ikalmarPosted on 2009-10-06 at 07:33:23ID: 25505468
did you set the nat?