01-19-2021 06:29 PM - edited 01-19-2021 06:33 PM
Hi guys
I have a cisco router C897VA-K9, and i would like to configure it to replace my vodafone Portugal Router.
I have already set almost everything.... but what i'm missing is the way to assing Vlan100 to Port8 (WAN) of the router.
From what i've been reading around the internet, i have to assign vlan100 to the internet port, but everytime i try to use "switchport" command on Port8 (WAN), all i got is that this command does not exist for this port.
Does anyone know how can i configure this router for replacing my Vodafone Portugal one ??
P.S. - I don't have a modem.... the LAN cable comes directly from the ONT.
Thanks
Solved! Go to Solution.
01-20-2021 09:51 PM
Hello,
if there is no authentication, use the simplified configuration below:
Current configuration : 2617 bytes
!
! Last configuration change at 00:29:32 UTC Thu Jan 21 2021
!
version 15.6
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
no aaa new-model
!
ip dhcp excluded-address 192.168.1.1
!
ip dhcp pool LAN
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
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
license udi pid C897VA-K9 sn FCZ2030C0MS
!
redundancy
!
controller VDSL 0
!
interface ATM0
no ip address
shutdown
no atm ilmi-keepalive
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
isdn termination multidrop
!
interface Ethernet0
no ip address
shutdown
!
interface GigabitEthernet0
no ip address
!
interface GigabitEthernet1
no ip address
!
interface GigabitEthernet2
no ip address
!
interface GigabitEthernet3
no ip address
!
interface GigabitEthernet4
no ip address
!
interface GigabitEthernet5
no ip address
!
interface GigabitEthernet6
no ip address
!
interface GigabitEthernet7
no ip address
!
interface GigabitEthernet8
no ip address
duplex auto
speed auto
!
interface GigabitEthernet8.10
!
interface GigabitEthernet8.100
description Uplink to Vodafone
encapsulation dot1Q 100
--> ip address dhcp
--> ip nat outside
no ip redirects
no ip proxy-arp
ip virtual-reassembly in
no cdp enable
!
interface Vlan1
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
--> ip nat inside source list 1 interface GigabitEthernet8.100 overload
!
--> ip route 0.0.0.0 0.0.0.0 GigabitEthernet8.100 dhcp
!
ipv6 ioam timestamp
!
--> access-list 1 permit 192.168.1.0 0.0.0.255
!
control-plane
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
line con 0
no modem enable
line aux 0
line vty 0 4
login
transport input none
!
scheduler allocate 20000 1000
!
end
01-20-2021 01:35 AM
try below dot1.Q interface - this example for 101 - change to 100, still issue post complete configuraiton and logs
https://forum.vodafone.co.uk/t5/Archive/cisco-887va-working-with-vodafone/m-p/2585347
01-20-2021 04:24 PM
thanks for your help, but it didn't work.
My router is a c897va, not an c887... and my connection is not adsl.
01-21-2021 01:47 AM
i understand that is the example config to give indication of config. Hope you have solved by now other suggestions.
regarding performance, i do not believe this router model support Line speed - the one you expecting. - its limitation of the router.
01-20-2021 01:59 AM - edited 01-20-2021 02:00 AM
Hello,
the below sample configuration should work. Important parts are marked in bold:
ip dhcp excluded-addess 192.168.1.1
!
ip dhcp pool LAN
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
!
interface GigabitEthernet8.100
description Uplink to Vodafone
--> encapsulation dot1Q 100
no ip redirects
no ip proxy-arp
ip virtual-reassembly in
pppoe enable group global
pppoe-client dial-pool-number 1
no cdp enable
!
interface Vlan1
ip address 192.168.1.1 255.255.255.0
ip nat inside
!
interface Dialer0
mtu 1492
ip address negotiated
no ip redirects
no ip unreachables
no ip proxy-arp
ip flow ingress
ip nat outside
ip virtual-reassembly in
encapsulation ppp
dialer pool 1
dialer idle-timeout 0
dialer-group 1
ppp mtu adaptive
ppp authentication pap chap ms-chap callin
ppp chap hostname X.X.X.X
ppp chap password X.X.X.X
ppp ipcp dns request
ppp ipcp route default
ppp ipcp address accept
no cdp enable
!
--> ip nat inside source list 1 interface Dialer0 overload
!
--> access-list 1 permit 192.168.1.0 0.0.0.255
!
--> dialer-list 1 protocol ip permit
01-20-2021 04:59 PM
thanks for your help, but it didn't work.
my configuration is as follow :
Building configuration... Current configuration : 2617 bytes ! ! Last configuration change at 00:29:32 UTC Thu Jan 21 2021 ! version 15.6 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router ! boot-start-marker boot-end-marker ! ! ! no aaa new-model ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ip dhcp excluded-address 192.168.1.1 ! ip dhcp pool LAN 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 ! ! ! ip cef no ipv6 cef ! ! ! ! ! multilink bundle-name authenticated ! ! ! ! ! ! ! license udi pid C897VA-K9 sn FCZ2030C0MS ! ! ! redundancy ! ! ! ! ! controller VDSL 0 ! ! ! ! ! ! ! ! ! ! ! interface ATM0 no ip address shutdown no atm ilmi-keepalive ! interface BRI0 no ip address encapsulation hdlc shutdown isdn termination multidrop ! interface Ethernet0 no ip address shutdown ! interface GigabitEthernet0 no ip address ! interface GigabitEthernet1 no ip address ! interface GigabitEthernet2 no ip address ! interface GigabitEthernet3 no ip address ! interface GigabitEthernet4 no ip address ! interface GigabitEthernet5 no ip address ! interface GigabitEthernet6 no ip address ! interface GigabitEthernet7 no ip address ! interface GigabitEthernet8 no ip address duplex auto speed auto ! interface GigabitEthernet8.10 ! interface GigabitEthernet8.100 description Uplink to Vodafone encapsulation dot1Q 100 no ip redirects no ip proxy-arp ip virtual-reassembly in no cdp enable pppoe enable group global pppoe-client dial-pool-number 1 ! interface Vlan1 ip address 192.168.1.1 255.255.255.0 ip nat inside ip virtual-reassembly in ! interface Dialer0 mtu 1492 ip address negotiated no ip redirects no ip unreachables no ip proxy-arp ip flow ingress ip nat outside ip virtual-reassembly in encapsulation ppp dialer pool 1 dialer idle-timeout 0 dialer-group 1 no cdp enable ppp mtu adaptive ppp authentication pap chap ms-chap callin ppp chap hostname X.X.X.X ppp chap password 0 X.X.X.X ppp ipcp dns request ppp ipcp route default ppp ipcp address accept ! ip forward-protocol nd no ip http server no ip http secure-server ! ! ip nat inside source list 1 interface Dialer0 overload ! dialer-list 1 protocol ip permit ipv6 ioam timestamp ! access-list 1 permit 192.168.1.0 0.0.0.255 ! control-plane ! ! ! mgcp behavior rsip-range tgcp-only mgcp behavior comedia-role none mgcp behavior comedia-check-media-src disable mgcp behavior comedia-sdp-force disable ! mgcp profile default ! ! ! ! ! ! line con 0 no modem enable line aux 0 line vty 0 4 login transport input none ! scheduler allocate 20000 1000 ! end
One thing i saw on the config you told.... you told me to issue the commands :
ppp chap hostname X.X.X.X ppp chap password 0 X.X.X.X
but my connection to vodafone portugal does not have any username or password..... it's a fiber connection.
the fiber comes from the outside-->ONT--> Mikrotik Router(this is the one i want to let go.... too slow).
I don't know if the config file from the mikrotik can help.... but here it is :
MMM MMM KKK TTTTTTTTTTT KKK MMMM MMMM KKK TTTTTTTTTTT KKK MMM MMMM MMM III KKK KKK RRRRRR OOOOOO TTT III KKK KKK MMM MM MMM III KKKKK RRR RRR OOO OOO TTT III KKKKK MMM MMM III KKK KKK RRRRRR OOO OOO TTT III KKK KKK MMM MMM III KKK KKK RRR RRR OOOOOO TTT III KKK KKK MikroTik RouterOS 6.48 (c) 1999-2020 http://www.mikrotik.com/ [?] Gives the list of available commands command [?] Gives help on the command and list of arguments [Tab] Completes the command/word. If the input is ambiguous, a second [Tab] gives possible options / Move up to base level .. Move up one level /command Use command at the base level # jan/10/2021 02:31:08 by RouterOS 6.48 # software id = TMEU-K0JJ # # model = 850Gx2 # serial number = xxxxxxxxxxxx /interface bridge add name=bridge1_dhcp /interface ethernet set [ find default-name=ether6 ] l2mtu=1582 name=ether1 speed=100Mbps set [ find default-name=ether2 ] speed=100Mbps set [ find default-name=ether3 ] speed=100Mbps set [ find default-name=ether4 ] speed=100Mbps set [ find default-name=ether5 ] speed=100Mbps /interface vlan add comment=net interface=ether1 name=vlan100_ether1 vlan-id=100 /interface ethernet switch set 0 switch-all-ports=no /ip pool add name=dhcp_pool1 ranges=192.168.1.150-192.168.1.200 /ip dhcp-server add address-pool=dhcp_pool1 authoritative=after-2sec-delay disabled=no \ interface=bridge1_dhcp name=dhcp1 /tool user-manager customer set admin access=\ own-routers,own-users,own-profiles,own-limits,config-payment-gw /user group set full policy="local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,passw\ ord,web,sniff,sensitive,api,romon,dude,tikapp" /interface bridge port add bridge=bridge1_dhcp hw=no interface=ether1 add bridge=bridge1_dhcp hw=no interface=ether2 add bridge=bridge1_dhcp hw=no interface=ether3 add bridge=bridge1_dhcp hw=no interface=ether4 add bridge=bridge1_dhcp hw=no interface=ether5 /interface bridge settings set allow-fast-path=no /ip neighbor discovery-settings set discover-interface-list=!dynamic /interface l2tp-server server set enabled=yes max-mru=1460 max-mtu=1460 /interface pptp-server server set authentication=pap,chap,mschap1,mschap2 enabled=yes /ip address add address=192.168.1.80/24 interface=bridge1_dhcp network=192.168.1.0 /ip cloud set ddns-enabled=yes /ip dhcp-client add disabled=no interface=vlan100_ether1 /ip dhcp-server network add address=192.168.1.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.1.80 \ netmask=24 /ip dns set allow-remote-requests=yes /ip firewall address-list /ip ssh set allow-none-crypto=yes forwarding-enabled=remote /ip upnp set enabled=yes
i've removed some sensitive data.....
The Lan cable from the ONT is connected to Lan Port 1 of this mikrotik.
Thanks again for any help provided
01-20-2021 09:51 PM
Hello,
if there is no authentication, use the simplified configuration below:
Current configuration : 2617 bytes
!
! Last configuration change at 00:29:32 UTC Thu Jan 21 2021
!
version 15.6
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
no aaa new-model
!
ip dhcp excluded-address 192.168.1.1
!
ip dhcp pool LAN
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
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
license udi pid C897VA-K9 sn FCZ2030C0MS
!
redundancy
!
controller VDSL 0
!
interface ATM0
no ip address
shutdown
no atm ilmi-keepalive
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
isdn termination multidrop
!
interface Ethernet0
no ip address
shutdown
!
interface GigabitEthernet0
no ip address
!
interface GigabitEthernet1
no ip address
!
interface GigabitEthernet2
no ip address
!
interface GigabitEthernet3
no ip address
!
interface GigabitEthernet4
no ip address
!
interface GigabitEthernet5
no ip address
!
interface GigabitEthernet6
no ip address
!
interface GigabitEthernet7
no ip address
!
interface GigabitEthernet8
no ip address
duplex auto
speed auto
!
interface GigabitEthernet8.10
!
interface GigabitEthernet8.100
description Uplink to Vodafone
encapsulation dot1Q 100
--> ip address dhcp
--> ip nat outside
no ip redirects
no ip proxy-arp
ip virtual-reassembly in
no cdp enable
!
interface Vlan1
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
--> ip nat inside source list 1 interface GigabitEthernet8.100 overload
!
--> ip route 0.0.0.0 0.0.0.0 GigabitEthernet8.100 dhcp
!
ipv6 ioam timestamp
!
--> access-list 1 permit 192.168.1.0 0.0.0.255
!
control-plane
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
line con 0
no modem enable
line aux 0
line vty 0 4
login
transport input none
!
scheduler allocate 20000 1000
!
end
01-21-2021 01:32 AM
Hi Georg
Thanks for your help....
Thats it..... working..... thanks.
Just one more question.....
My fiber connection is 1Gbps/200Mb.
When running the speedtest by Ookla, i can get around 400Mb~420Mb/200Mb with this cisco router.
I've tried with an Asus Router(RT-AC68U) with the default configuration for replacing the Vodafone Router..... and with this asus router, running the same speedtest by ookla, using the same server, i can get around 900Mb~940Mb/200Mb.
Is there anything i can do to speed up this cisco router.... or is it an hardware limitation ?
Once again.... thank you so much for your help.
01-21-2021 02:06 AM
Hello,
don't be scared, but officially the throughput for the 890 series is about 75Mbps, or even less. So if you get roughly 400/200, that is much, much more than can be expected from this router.
01-21-2021 03:42 AM
Thanks
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