Hi, I’m new on this and I’m pretty lost. Right now I have the following setup:
My setup on the Mikrotik Router:
Address Acquisition: Static
IP: 89.140.177.58
NetMask: 255.255.248.0
Gateway: 89.140.177.57
DNS: 8.8.8.8
And the Cisco 2800 config:
interface FastEthernet0/1
description conexion WAN
no ip address
duplex auto
speed auto
interface FastEthernet0/1.501
encapsulation dot1Q 501
ip address 62.82.72.250 255.255.255.252
no cdp enable
!
ip route 0.0.0.0 0.0.0.0 62.82.72.249
What I want to achieve is to remove the cisco device and connect the Mikrotik router directly to the fiber to rj45 device, cause i’m paying a monthly rent for the cisco router and I dont need it.
Can you help me? Thanks.
First off, you will need to connect your Mikrotik directly to the rj45 fiber jack for everything to work. You can’t test the Mikrotik configuration by connecting it to the Cisco router.
Secondly, let’s examine the Cisco config and try to understand what they’ve done:
interface FastEthernet0/1
description conexion WAN
no ip address
duplex auto
speed auto
In this section of the config, the commands instruct the FastEthernet0/1 port to a set a series of values to a known-good states.
interface FastEthernet0/1.501
encapsulation dot1Q 501
ip address 62.82.72.250 255.255.255.252
no cdp enable
These configuration options actually create a virtual interface that is connected to the FastEthernet0/1 (that’s why they initialized the FastEthernet0/1 to a specific state) that is connected to a 802.1Q VLAN with VLAN ID 501. The third line should look relatively familiar to someone with a basic understanding of networking. The fourth line disables Cisco’s discovery protocol.
ip route 0.0.0.0 0.0.0.0 62.82.72.249
Then we add a route and bob’s your uncle. The above code, in conjunction with all the other lines in the config (because I am missing quite a few important lines) enable you to use the internet.
So you should try to re-create this config using your Mikrotik router. Based on the information you provided however, it seems that you used a different IP address in your Mikrotik router (89.140.177.58 in MT vs 62.82.72.250 in Cisco). In addition, the gateway specified seems to be different as well. So make sure that the info from the config matches the info you should use to get connected to the internet.
With regards to the actual configuration:
Choose one of the ports on your RB2011 as your WAN interface
Create a virtual VLAN interface with ID 501 for that interface