Hello my name is Bryan. I am trying to configure an old Dell into a Mikrotik Router using RouterOS. I have the proper ethernet cards and everything is detecting. What my objective is, is to come into one port (ether1) with internet (static IP) and to go out to a switch with the other port (ether2). Yet I seem to be having more trouble than I asked for, trying to ping the gateway..
---- Layout ---
___________
| |+(Ether1) <---- Internet IN (Static IP)
| RouterOS |
|__________|+(Ether2) -----> Out to Laptop (Static IP) (For Testing I eliminated the switch)
Laptop - No Firewall enabled, and TCP/IP is set up properly.
RouterOS - Seems to be set up properly, I can see the MAC of the Laptop when I do a tool> ip-scan
I also tried a cross-over cable just to see if that was what I was missing however it still failed to ping on either side (Laptop, or RouterOS)
I am tapped and there doesn't seem to be any great tutorials for this setup. Does anyone have any pearls of wisdom?
OK, first things first: By “pinging the gateway”, you do mean your internet gateway, yes?
And second, from what I see, you have the same IP address for your ether2 and your gateway. You need to change the address of your gateway to the one given to you by your ISP.
Here’s what I would try to do:
Open a terminal in winbox, then type “setup”. It will then guide you through the initial setup of your router, including addresses, gateways, etc. Just continue from there.
Try that first, and we’ll see how it goes.
Cheers,
-Z-
edit: Oh, if that fails, try posting the IP addresses of all your NICs (type /ip address print)
Your route is showing the incorrect interface. It appears you have the 192.168.1.1/24 assigned to ether2 in “ip address”, but the “ip route” entry shows ether1 for that network.
Tim- Yeah I see what you mean Tim, I actually ended up typing that out in a hurry. I mistyped that.. it actually is on ether2. Kaz- I am unsure what you’re trying to say. It appears you dedicated a whole ether port to your gateway ip? or is that where your internet is incoming?
That is the simplest way to put it. I have not done a whole lot, its a fresh install with 4.2 and I have not changed anything except entered the above commands. If I am not mistaken, I should now be able to ping my local gateway on the laptop with no problems. Yet, the problem I am having is no matter how many times I revert or how many times I reinstall the OS it will not ping the Local Gateway (192.168.1.1).
I am not using serial. I am actually using a KVM switch, monitor, keyboard, mouse. The laptop is connected via ethernet (straight-through) to the ROS Box.
I tried what you said and to no avail it did not work.. The same result occurred as before with the ping timeouts.
According to the traffic monitor i am using ether1 i plugged in the internet and watched traffic over ether1, and ether2 to verify the ports originally.
I tried the same setup you have, and ping works both ways.
OK, let’s do what surfertim says:
unplug ethernet cable from ether1
run /interface ethernet print
copy the whole thing here
-Z-
edit: Yeah, it should look something like this:
Flags: X - disabled, R - running, S - slave
# NAME MTU MAC-ADDRESS ARP
0 R LOCAL 1500 00:11:22:33:44:55 enabled
1 R PRIVATE 1500 AA:BB:CC:DD:EE:FF enabled
I just saw the hardware is not RouterBoard. That means your ethernet cards probably have no crossover capability. See if you get a ‘R’ if you connect ether2 to a hub or switch.
I found the problem guys.. Thank you for all your help!!
I feel like a dummy.. and I’m sure a few people will probably say I am. I made the note of what ether ports where which originally, and I guess I either notated it wrong or they changed upon reinstall. I did a ping -t and unplugged ether2 and plugged into ether1 and it worked so apparently somewhere during this fiasco I mislabeled the cards. I have been trying to get this thing to work for three days and never thought twice about it.. LOL
Thank you for helping me resolve this issue. You’ve not only made me a lot happier but about 137 other Soldiers..
–
I actually am trying to limit bandwidth across our network so everyone gets a fair share. I hope it all works out from here!
If you think you are the first person to do that, think again. You are not even the first person involved in this conversation to do that. That is how I knew to ask that question.