To set up the DHCO Client I did the following.
Dynamic IP - no login / password required
/ interface enable ether1
/ ip dhcp-client add interface=ether1 disabled=no
or Dynamic IP login required (PPPoE)
/ interface enable ether1
/ interface pppoe-client add interface=ether1 user="loginmail" password="password"
/ interface pppoe-client add-default-route=yes use-peer-dns=yes disabled=no
There is a very good desription here
http://wiki.mikrotik.com/wiki/How_to_Co ... _xDSL_Line
To set up the whole thing I did as listed in below, but I am still missing a lot of work on the firewall. If anyone could help me here I would be very glad.
Best regards, Pilgrim
++++++ setting up a routerboard minirouter ad a standard home router 1wan/4lan ports +++++++++++++++++
Setup WAN Port (Interface ether 1 as wan connection)
Depending on the provider the wan connection may need to be specified in different ways. Here are the two most
common.
Dynamic IP - no login / password required
/ interface enable ether1
/ ip dhcp-client add interface=ether1 disabled=no
or Dynamic IP login required (PPPoE)
/ interface enable ether1
/ interface pppoe-client add interface=ether1 user="loginmail" password="password"
/ interface pppoe-client add-default-route=yes use-peer-dns=yes disabled=no
Setup LAN ports (interface ether2 through ether5 as LAN ports)
/ interface enable ether2,ether3,ether4,ether5
/ interface bridge add name="LAN" disabled=no
/ interface bridge port add interface=ether2 bridge=LAN
/ interface bridge port add interface=ether3 bridge=LAN
/ interface bridge port add interface=ether4 bridge=LAN
/ interface bridge port add interface=ether5 bridge=LAN
Setup of a DHCP-Server fot the local network with the IP range 192.168.0.50 to 192.168.0.200
/ ip pool add name=dhcp-pool ranges=192.168.0.50-192.168.0.200
/ ip dhcp-server network add address=192.168.0.0/24 gateway=192.168.0.1
/ ip dhcp-server add interface=ether1 address-pool=dhcp-pool
Configure firewall to protect your router:
/ ip firewall filter
add chain=input connection-state=established comment="Accept established connections"
add chain=input connection-state=related comment="Accept related connections"
add chain=input connection-state=invalid action=drop comment="Drop invalid connections"
add chain=input protocol=udp action=accept comment="UDP" disabled=no
add chain=input protocol=icmp limit=50/5s,2 comment="Allow limited pings"
add chain=input protocol=icmp action=drop comment="Drop excess pings"
add chain=input in-interface=ether2 src-address=192.168.0.0/24 comment="From our LAN" action=accept
add chain=input action=log log-prefix="DROP INPUT" comment="Log everything else"
add chain=input action=drop comment="Drop everything else"