I am a beginner to MikroTik. I have just installed the RouterOS on VMware as a virtual machine. I also installed two XP virtual machines. The MikroTik has two ethernet interfaces, which are connected to two different HUBs. On each HUB, i connected the XP machines. Like this:
XP1 = HUB = MikroTik = HUB = XP2
On the MikroTik RouterOS i added ip addresses to the interfaces:
add address=192.168.0.0/24 interface=ether1
add address=192.168.1.0/24 interface=ether2
Then i setup a DHCP server on both interfaces:
Code: Select all
ip dhcp-server> setup
Select interface to run DHCP server on
dhcp server interface: ether1
Select network for DHCP addresses
dhcp address space: 192.168.0.0/24
Select gateway for given network
gateway for dhcp network: 192.168.0.1
Select pool of ip addresses given out by DHCP server
addresses to give out: 192.168.0.2-192.168.0.254
Select DNS servers
dns servers: 192.168.0.1
Select lease time
lease time: 3d
[admin@MikroTik] ip dhcp-server>
Code: Select all
ip dhcp-server> setup
Select interface to run DHCP server on
dhcp server interface: ether2
Select network for DHCP addresses
dhcp address space: 192.168.1.0/24
Select gateway for given network
gateway for dhcp network: 192.168.1.1
Select pool of ip addresses given out by DHCP server
addresses to give out: 192.168.1.2-192.168.1.254
Select DNS servers
dns servers: 192.168.1.1
Select lease time
lease time: 3d
[admin@MikroTik] ip dhcp-server>
XP1=192.168.0.2/24
XP2=192.168.1.2/24
Now i try to ping.
XP1 ping XP2 -> DOESN'T WOKR!
XP1 ping 192.168.0.1 (XP1 default gateway) -> WORKS!
XP2 ping XP1 -> DOESN'T WOKR!
XP2 ping 192.168.1.1 (XP2 default gateway) -> WORKS!
XP1 ping 192.168.1.1 (XP2 default gateway) -> WORKS!
XP2 ping 192.168.0.1 (XP1 default gateway) -> WORKS!
Also, when trying to ping from the MiroTik to the XP1 or XP2, it DOESN'T WORK.
Can someone please help me, i am trying to connect the two xp machines, through the MiroTik, and then try some flow control methods.