mk won't grasp dhcp ip from cable provider ???

excuse my ignore if i’ve missed something i’m a newbie to mikrotik software …

for some reason my p4 computer with version 4.3 software installed won’t grab an ip by dhcp from my cable provider … what could be wrong or have i not setup correctly …

I got my mk software installed and running on a older p4 puter, ( lost count of how many times it re-installed thinking there was an error) fine persay, but for some reason it won’t pick up a dynamic ip address from cable provider … everything else seems to work fine as far as it goes…

it’s wierd becuz when i plug the linksys router back in it grabs it instantly but mk keeps saying it’s searching .. i followed the instructions on this page exactly …


/ip dhcp-client add interface=Public disabled=no

•Add your private network address to ether2(local1) interface, for example:

/ip address add address=192.168.1.1/24 interface=Local1

/ip address add address=192.168.2.1/24 interface=Local2

•Configure masquerading for your local network:

/ip firewall nat add chain=srcnat src-address=192.168.1.0/24 action=masquerade

/ip firewall nat add chain=srcnat src-address=192.168.2.0/24 action=masquerade


/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=Local1 src-address=192.168.1.0/24 comment=“From our LAN” action=accept
add chain=input in-interface=Local2 src-address=192.168.2.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”


/ip dhcp-server setup

192.168.1.1


just can’t get out to the interent becuz dhcp won’t work …

i would appreciate any help

thanks

S. Steele

Most cable modems lock to a single MAC address. Chances are you just need to:

  1. Turn off DHCP client in the 'tik
  2. power cycle your cable modem, wait for it to come completely back up and lock into the upstream/downstream
  3. Turn DHCP client back on.

Wada.

ok thanks i’ll give that a try, i even talked to cable provider and they said nothing special in their setup …

That is typical for all cable companies I know of. So no, nothing special :slight_smile: