Link to home
Start Free TrialLog in
Avatar of ccfcfc
ccfcfcFlag 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.
Avatar of CSorg
CSorg
Flag of Netherlands image

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
Avatar of Nayyar HH (CCIE RS)
Nayyar HH (CCIE RS)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
vlan 10
name SERVER A

vlan 20
name SERVER B
Avatar of ccfcfc

ASKER

Then via access-list I control traffic into OUTSIDE FE0 which based on rules will route traffic to the desired VLAN .
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 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 ?