We help IT Professionals succeed at work.

Cisco 1811 Basic Configuration Help

hexfusion
hexfusion asked
on
Medium Priority
1,434 Views
Last Modified: 2008-01-09
Hi all I am a Cisco newbie and I am trying to setup my 1811 via console.  Trying to learn the CLI commands has not been to bad but what i am looking for is an example of a working config so that I can use it as a guide.  To start I am really trying to set this up pretty basic.

FastEthernet0 192.168.1.130
' Note this is not the main internet router at this point but I would like to configure it for testing puposes as it soon will be
'Network 192.168.1.0 has a main router 192.168.1.99 which I would like to set as the gateway.

VLAN1 'I would like this to be binded to FastEthernet2
IP Address 172.16.1.3

VLAN2 'FastEthernet3
IP Address 192.168.2.3

So not too much from the configuration end but what I would like is for both of the VLANS to have internet access through FastEthernet0 and the gateway.

So I guess if someone can post a config example showing how to setup the routing for this it would be great!


Modem------>|Current Router 192.168.1.99|---------->|1811 FastEth0 192.168.1.130
                                                                                               |      | -----FastEth2 Vlan1
                                                                                               |------FastEth3 Vlan2
Comment
Watch Question

Les MooreSr. Systems Engineer
CERTIFIED EXPERT
Top Expert 2008

Commented:
Can you post your existing config so I can see the interface numbering?

It shouldn't be too hard:

interface fast 0
  ip add 192.168.1.130 255.255.255.0
interface vlan1
  ip add 172.16.1.3
interface vlan2
  ip add 192.168.2.3
interface fast 3
 switchport access vlan 2

<vlan1 is bound to all ports unless you specify otherwise>

ip route 0.0.0.0 0.0.0.0 192.168.1.99

Author

Commented:
Ok so here is my config but if I connect a client directly to FE2 via xover and configure it 172.16.1.x 255.255.255.0 gateway (tried everything) I still cannot ping anything past my router.   Example ping 192.168.1.99 times out something must still be wrong.
Gateway of last resort is 192.168.1.99 to network 0.0.0.0

C    192.168.1.0/24 is directly connected, FastEthernet0
S*   0.0.0.0/0 [1/0] via 192.168.1.99

interface Vlan1
 ip address 172.16.1.3 255.255.255.0
 no ip redirects
 no ip unreachables
 no ip proxy-arp
!
interface Vlan2
 ip address 192.168.2.3 255.255.255.0
!

interface FastEthernet0
 ip address 192.168.1.130 255.255.255.0
 ip verify unicast source reachable-via rx allow-default 100
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 speed auto
 full-duplex
!
interface FastEthernet1
 no ip address
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet2
!
interface FastEthernet3
 switchport access vlan 2
!
Sr. Systems Engineer
CERTIFIED EXPERT
Top Expert 2008
Commented:
OK, just to be sure . .
interface Fast 2
 switchport access vlan 1

Probably won't show up in "show config" since VLAN1 is default

Can you post result of "show ip int brief"
Look for "administratively down" on FE 0
Yes?  
 interface FE0
  no shutdown

No? How about status of FE2? Do you get a link light?
You should not need a crossover from PC to any of the switchports 2-9


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Ok wow what a mess thanks so much I hate feeling so helpless with this new languge but I figure its the onlyway to really learn it so...  But thanks so much again you saved me from a day of frusteration!!!

-Sam
Les MooreSr. Systems Engineer
CERTIFIED EXPERT
Top Expert 2008

Commented:
Glad to help!
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.