04-30-2018 06:42 AM - edited 03-05-2019 10:21 AM
Hello.
I need to ask how to configure Internet access from ISP and switch it to other devices.
I am add to my stock router a WAN module for optical fiber and normal RJ45 cable.
Optical fiber is connected to this WAN module - port gigabitethernet0/0/0 i think.
I will send access to internet via gigabitethernet0/0 to 48-port switch and via gigabitethernet0/1 to managment computer.
How to do it? Of course you can sugest me how IP and subnet mask is best for it, but after this first switch i will create vlans, but i don't know how too... I am still learning.
I am be very grateful for help.
Solved! Go to Solution.
05-01-2018 04:14 AM
04-30-2018 10:53 AM
Hello,
below is a basic configuration for a 1921. The router serves as DHCP server, and the WAN IP address is negotiated. Possibly you have a fixed IP address from your provider...
If you want to add VLANs to your network, you need to add subinterfaces to your router's LAN interface.
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname 1911
!
boot-start-marker
boot-end-marker
!
aaa new-model
!
aaa session-id common
clock timezone GMT +1 0
clock summer-time GMT recurring
!
ip cef
!
ip dhcp excluded-address 192.168.1.1
!
ip dhcp pool LAN
import all
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8 8.8.4.4
lease 7
!
no ipv6 cef
!
multilink bundle-name authenticated
!
username cisco privilege 15 password 0 cisco
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0/0
description LAN Interface
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/0/0
description ISP Connection
ip address dhcp
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source list 1 interface GigabitEthernet0/0/0 overload
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0/0 dhcp
!
access-list 1 permit 192.168.1.0
04-30-2018 01:35 PM
H0ly sh*s! Look at those unmanaged switches!
04-30-2018 01:56 PM
Hello
Looking at you topology it seems to suggest your switch is to be providing the intervlan routing for you network and the router would be used for the wan access out of site?
Or is it you wish for the router itself to perform wan access and inter-vlan routing?
Which ever option you decide will have an affect on what kind of configuration needs to be provided on the router and Mgt switch.
res
Paul
04-30-2018 04:40 PM - edited 04-30-2018 07:13 PM
05-01-2018 04:14 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide