Hello!
I have some problem with connection to Internet.
Configuration from provide: DHCP
But they sad, that more recomendation to configuration in Static in configuration your Network card:
IP: 192.168..12
MASK: 255.255.255.0
GateWay: 192.168..254
DNS: 192.168..107
192.168..108
I understand that may be in my situation better will be to change my prodiver. Or learning more configuration router. But please say to me some suggests. Or may be links.
But I have another situation with another (First) provider. They sad that I circle their Network with my hardware router. And blocked me. With next Code
First provider. I configuration it’s and it’s work long time without problem - with PPTP: (Now I prefer with configuration with second provider and after to decide problem with First) :
# feb/21/1970 15:23:34 by RouterOS 6.7
# software id = RCET-6MMR
#
/interface bridge
add l2mtu=1598 name=bridge1
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n basic-rates-b=\
1Mbps,2Mbps,5.5Mbps,11Mbps disabled=no ht-rxchains=0 ht-txchains=0 l2mtu=\
2290 mode=ap-bridge multicast-helper=full periodic-calibration-interval=10 \
ssid=KHOME wireless-protocol=802.11
/interface ethernet
set [ find default-name=ether1 ] comment=WAN
set [ find default-name=ether2 ] comment=LAN
/interface pppoe-client
add add-default-route=yes disabled=no interface=ether1 name=pppoe-out1 password=\
******** use-peer-dns=yes user=kusheran
/interface wireless nstreme
set wlan1 enable-polling=no
/ip neighbor discovery
set ether1 comment=WAN
set ether2 comment=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk,wpa-eap,wpa2-eap \
group-ciphers=tkip,aes-ccm management-protection=allowed mode=dynamic-keys \
radius-mac-authentication=yes unicast-ciphers=tkip,aes-ccm \
wpa-pre-shared-key=********** wpa2-pre-shared-key=**********
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m \
mac-cookie-timeout=3d
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=3des
/ip pool
add name=dhcp_pool1 ranges=192.168.*.2-192.168.*.254
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=bridge1 name=dhcp1
/port
set 0 name=serial0
/ppp profile
add change-tcp-mss=yes local-address=dhcp_pool1 name=Unlim remote-address=\
dhcp_pool1 use-compression=no use-encryption=no use-mpls=no \
use-vj-compression=no
/interface bridge port
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
add bridge=bridge1 interface=wlan1
/interface pppoe-server server
add default-profile=Unlim disabled=no interface=ether1 one-session-per-host=yes \
service-name=service1
/interface wireless access-list
add interface=wlan1 mac-address=D4:20:6D:26:31:DF
add interface=wlan1 mac-address=D8:B3:77:1F:29:1F
add interface=wlan1 mac-address=84:7A:88:1E:4F:89
add interface=wlan1 mac-address=38:AA:3C:D4:82:35
/ip address
add address=192.168.*.1/24 interface=ether2 network=192.168.*.0
add address=192.168.*.12/24 interface=ether1 network=192.168.*.0
/ip dhcp-server network
add address=192.168.*.0/24 gateway=192.168.*.1
/ip dns
set allow-remote-requests=yes servers=192.168.*.107,192.168.*.108
/ip dns static
add address=192.168.*.2 name=DNS1
add address=192.168.*.6 name=DNS2
add address=192.168.*.240 name=DNS3
/ip firewall filter
add chain=input comment="Access to winbox" dst-port=8231 in-interface=ether1 \
protocol=tcp
add chain=input comment="Allow Ping" protocol=icmp
add chain=forward protocol=icmp
add chain=input comment="Accept established connections" connection-state=\
established
add chain=forward connection-state=established
add chain=input comment="Accept related connections" connection-state=related
add chain=forward connection-state=related
add chain=input comment="Allow UDP" protocol=udp
add chain=forward protocol=udp
add chain=input protocol=igmp
add chain=input comment="Allow igmp" protocol=igmp
add chain=forward protocol=igmp
add chain=input protocol=udp
add chain=input protocol=igmp
add action=drop chain=input comment="Drop invalid connections" connection-state=\
invalid
add action=drop chain=forward connection-state=invalid
add chain=forward protocol=udp
add chain=input protocol=igmp
add chain=input protocol=udp
/ip firewall nat
add action=masquerade chain=srcnat out-interface=pppoe-out1
add action=masquerade chain=srcnat src-address=192.168.*.0/24
/ip route
add disabled=yes distance=1 gateway=192.168.*.254
add disabled=yes distance=1 gateway=pppoe-out1
/lcd
set enabled=no
/lcd interface
add interface=sfp1
add interface=ether1
add interface=ether2
add interface=ether3
add interface=ether4
add interface=ether5
add interface=ether6
add interface=ether7
add interface=ether8
add interface=ether9
add interface=ether10
add interface=wlan1
/lcd interface pages
add interfaces="sfp1,ether1,ether2,ether3,ether4,ether5,ether6,ether7,ether8,ethe\
r9,ether10,wlan1"
/ppp secret
add name=test password=test profile=Unlim service=pppoe
add name=mama password=vfvf profile=Unlim service=pppoe
/routing igmp-proxy
set query-interval=1m quick-leave=yes
/routing igmp-proxy interface
add alternative-subnets=0.0.0.0/24 interface=ether1 upstream=yes
add interface=ether2
/system clock
set time-zone-name=Europe/Moscow
/system leds
add interface=ether1 leds=sfp-led type=interface-status
/system ntp client
set enabled=yes mode=unicast primary-ntp=94.242.*.220 secondary-ntp=\
95.140.*.140
At second my provider recomendation for me change MAC adress. I changed it. But I could to ping another differences hosts, but without open pages of browser,sites. My be problem with DNS, masquearde? Or other?
Please, not strongly abuse. I don’t know about more fundamental Network. But try to know.
If your need Logs and another information I give your some late.
Thank you all, and best wishes!
Please help me, anybody.
I have next configuration of router (second Provider):
# jan/02/1970 00:20:21 by RouterOS 6.17
# software id = RCET-6MMR
#
/interface wireless
set [ find default-name=wlan1 ] disabled=no l2mtu=2290 mode=ap-bridge \
radio-name=KOSTYAKHOME2 wireless-protocol=unspecified
/interface ethernet
set [ find default-name=ether1 ] mac-address=00:1D:60:D6:EC:5F
set [ find default-name=ether3 ] master-port=ether2
set [ find default-name=ether4 ] master-port=ether2
set [ find default-name=ether5 ] master-port=ether2
set [ find default-name=sfp1 ] speed=100Mbps
/ip neighbor discovery
set wlan1 discover=no
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk eap-methods="" mode=\
dynamic-keys wpa2-pre-shared-key=**********
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m \
mac-cookie-timeout=3d
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=3des
/ip pool
add name=pool1 ranges=192.168.*.2-192.168.*.30
add name=pool2 ranges=192.168.*.34-192.168.*.62
/ip dhcp-server
add address-pool=pool1 disabled=no interface=ether2 name=server1
add address-pool=pool2 disabled=no interface=wlan1 name=server2
/port
set 0 name=serial0
/routing bgp instance
set default router-id=192.168.*.254
/system logging action
set 0 memory-lines=100
set 1 disk-lines-per-file=100
/ip address
add address=192.168.*.12/24 interface=ether5 network=192.168.*.0
add address=192.168.*.1/24 interface=ether2 network=192.168.*.0
add address=192.168.*.33/24 interface=wlan1 network=192.168.*.0
/ip dhcp-client
add default-route-distance=0 dhcp-options=hostname,clientid disabled=no \
interface=ether1
/ip dhcp-server network
add address=192.168.*.0/27 dns-server=192.168.*.107,192.168.*.108 gateway=\
192.168.*.1
add address=192.168.*.32/27 dns-server=192.168.*.107,192.168.*.108 gateway=\
192.168.*.33
/ip dns
set allow-remote-requests=yes servers=192.168.*.107,192.168.*.108
/ip dns static
add address=192.168.*.107 disabled=yes name=base
add address=192.168.*.108 disabled=yes name=base2
/ip firewall nat
add action=masquerade chain=srcnat src-address=192.168.*.0/24
/ip ipsec policy