Cisco 871 configuration

I have a cisco 871 router and i am having a couple of problems.
I have vlan 1 setup with
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface FastEthernet4
 description $ETH-WAN$
 ip address (static WAN IP here)
 duplex auto
 speed auto
!
interface Vlan1
 description $ETH-SW-LAUNCH$$INTF-INFO-HWIC 4ESW$
 ip address 192.168.5.1 255.255.255.0
duplex auto
speed auto

I cannot ping the vlan address and the only thing i can access telnet or sdm is by the wan address.
Also how do i add a gateway for the wan address.
LVL 2
v46nAsked:
Who is Participating?
 
jbristleConnect With a Mentor Commented:
that config does not show vlan1 with any members.

for which ever port is physically connected to what you want van1 to be,
example:
interface fa1
switchport access vlan 1

you can use two methods, depending on which ios load you have for routing:
xxx.xxx.xxx.xxx is your gateway ip
the simple one
ip default-gateway xxx.xxx.xxx.xxx

or more complex
the text following name can be anything
ip route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx name DefaultRoute
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.