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

HElP!cisco 2811 with 2 fast ethernet ports and 4 vlans

Status
Not open for further replies.

desertscorpio

Technical User
Joined
Jul 24, 2006
Messages
8
Location
KW
Hi, I need urgent help on this. I have a brand new cisco 2811 with 2 FE ports. The port f0/0 is connected to the internet and the f0/1 will be connected to the switch which has 4 vlans configured on it. I have no idea how to go about doing this. Can someone please help me with the configuration on the router. My responsibility is to configure the following:
* A trunk on the router for the vlans.
* 4 sub interfaces with IP address on the router.
* Route this vlans out of the network.

Please guide me on this because I have to get the network up and running by sunday.
 
You can not have your Internet connection going to one of the fast ethernet ports (in your case f0/1). You need to connect your Internet / ISP connection to a serial interface such as a WIC-1DSU-T1 card. That way your external interface is the serial WIC card and your internal interface is the fast ethernet port (which will conenct to your switch). Check with your ISP for the correct encapsulation (such as HDLC or PPP) on the serial / WIC interface. Below is an example interface config from one of my routers (your will probably need to be a bit different). Your ISP may be able to provide some guidance as well.

interface FastEthernet0/0
ip address 10.66.0.1 255.255.255.0
no ip mroute-cache
duplex full
speed auto
no mop enabled
!
interface Serial0/0/0
ip address 69.165.226.214 255.255.255.252
ip access-group 102 in
ip access-group 102 out
no fair-queue
 
Is this kind of what you are looking for?
interface FastEthernet0/1
no ip address
no ip redirects
no ip route-cache cef
ip route-cache flow
duplex auto
speed auto
no mop enabled
!
interface FastEthernet0/1.1
description
encapsulation dot1Q 1 native
ip address 192.168.1.1 255.255.255.0
no ip redirects
ip nat inside
ip virtual-reassembly
no snmp trap link-status
!
interface FastEthernet0/1.2
description
encapsulation dot1Q 2
ip address 192.168.2.1 255.255.255.0
no ip redirects
ip nat inside
ip virtual-reassembly
no snmp trap link-status
 
How are you connecting to the internet?
 
first of all thank you for the replies. let me give you the whole picture. Our devices are hosted in a datacentre.Now we are going to place a cisco 2811 in the datacentre which will be uplinked to the backbone switch of the upstream provider.The cisco 2811 should carry vlans from a remote NO to the internet.It is something like this:-

Backbone switch---->(f0/0)Cisco 2811(f0/1)--(trunk)--(Remote switch)[vlan1,vlan2,vlan3,vlan4]

Now my queries are
*On the f0/1 do I configure anything or I directly create start creating sub-interfaces with the IP Addresses?

* What kind of encapsulation do I use on the vlans?

* For this network we have a class 'C'(/24), I want to subnet them into 4 subnets.

* I know I can use static routes on the router but can someone please tell me what will be my next hop?Will it be the f0/0 or the IP address of the back bone switch.

Thank you again for all your help

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top