Avatar of ccfcfc
ccfcfc
Flag for United Kingdom of Great Britain and Northern Ireland asked on

Cisco 1801 Interfaces - using interfaces to route traffic

I am using a Cisco 1801 router. It has the normal FE0 plys FastEThernet1-8 interfaces .

Can I utilise the interfaces FastEthernet1 -8 ? Will the 1801 then manage routing of traffic.
Do I need to assign each VLAN to a separate FastEternetX or will the 1801 manage this and route accordingly ?

So I am using FE0 as OUTSIDE and want to simulate customers connecting via the internet to a service by IP address. This service will sit on a server in a VLAN "DMZ" which ideally I would to plug into one of th FastEthernetX interfaces. Do I need to assing an IP address to each one of the Physical interfaces or will 1801 know what to do with it having traffic coming in from these interfaces ? How do I assign or do I not need to assign an interface to a VLAN ?
Hope this makes sense.
Routers

Avatar of undefined
Last Comment
ccfcfc

8/22/2022 - Mon
CSorg

Create a VLAN and assign a ip address/subnet ; after that you can assign the interfaces to that newly created VLAN.(by adding "switchport access vlan #" to that interface). The route to the internet is being setup by the "route" command.

so to give you an idea:
_________________________________________
interface Vlan1
 nameif inside
 security-level 100
 ip address 10.0.0.254 255.255.255.0
!
interface Vlan2
  nameif outside
 security-level 0
 ip address 1.2.3.4 255.255.255.248
!
interface Vlan3
 nameif dmz
 security-level 50
 ip address 192.168.1.254 255.255.255.0
!
interface Ethernet0/0
 switchport access vlan 2

interface Ethernet0/5
 switchport access vlan 3
_________________________________________

>> by not setting a switchport, other interfaces will be in de VLAN 1 <<
SOLUTION
Nayyar HH (CCIE RS)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Nayyar HH (CCIE RS)

vlan 10
name SERVER A

vlan 20
name SERVER B
ccfcfc

ASKER
Then via access-list I control traffic into OUTSIDE FE0 which based on rules will route traffic to the desired VLAN .
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
ASKER CERTIFIED SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ccfcfc

ASKER
So how do I ensure/route all traffic. Do I set a route on each interface(Vlan 10 and VLan20)  to the WAN/outside interface ?