Static IP

hi…i got a vodafone connection..my modem setup on roof..and i have a static ip provide by vodafone …i have only one cable coming true from roof…
my ip adress is 79.xxx.34.121
netmask 255.255.255.0
gateway is 79.xxx.34.1
dns 79.xxx.34.3 and 4

this setting if i enter Manuel my pc on network card i have connection…

any how how can enter this setting in my mikrotik routherOS pc …any help pls…i have all ready setup serial connection to my routher connection fine…what will be the cmd to setup this static ip on the routher

waiting your helps

http://wiki.mikrotik.com/wiki/Manual:IP/Address

/ip address add interface=interfaceName address=79.xxx.34.121/24

http://wiki.mikrotik.com/wiki/Manual:IP/Route#Default_route

/ip route add dst-address=0.0.0.0/0 gateway=79.xxx.34.1

http://wiki.mikrotik.com/wiki/Manual:IP/DNS

/ip dns set allow-remote-requests=yes servers=79.xxx.34.3,79.xxx.34.4

Then you’ll also have to add an IP address on your inside interface, probably add a DHCP server (http://wiki.mikrotik.com/wiki/Manual:IP/DHCP_Server), and configure NAT from the LAN out via the WAN interface (http://wiki.mikrotik.com/wiki/Manual:IP/Firewall/NAT#Source_NAT).

many thx for the replay..it’s done..also i setup the dhcp and pools …

now when i go to winbox i cant login if i put the my static ip >>>>connect to..

i all ready setup the 8291 port enabled in services …and i setup admin and my pass in..

but i cant connect from out side to microtik true winbox
..any idea pls

Check your firewall rules in the input chain.
http://wiki.mikrotik.com/wiki/Manual:IP/Firewall/Filter

thx again…i got input firewall rule 0.0.0.0/0->0.0.0.0/0:8291 6tcp action accept ..

is it good or i need to setup extra..can you help pls

Depends - do you want everyone to be able to try usernames and passwords? If yes, that’s fine. If not, it’s not.

hi again…for now i just want to test…if you explain how to make adminis…network ..??

anyhow i just left like this…but i still cant connect from out side …i have other usbstick from vodafone totaly different internet when i plug to my pc i open the winbox i enter my 79.xxx.34.121 fixip where say connect to admin and my pass no connection …

did i do same where wrong ..??

/ip firewall address-list
add list=admin-networks address=1.1.1.0/24
add list=admin-networks address=2.2.2.0/24
/ip firewall filter
add chain=input src-address=admin-networks protocol=tcp dst-port=8291 action=accept
add chain=input protocol=tcp dst-port-8291 action=drop

I can’t tell you if you did anything wrong - I don’t have access to your router, and I am not clairvoyant. If you need help reviewing the configuration you applied you’re going to have to post it here.

i understand that..i can give you i access ..but i dont know is my routher is connect to internet even…can i see my routher is connect to internet how can i ping like google or other ip to see if i’m online…

i have this

Flags: X - disabled, I - invalid, D - dynamic
0 chain=input action=accept src-address=0.0.0.0/0 dst-address=79.xxx.34.121
protocol=gre

1 chain=input action=accept src-address=0.0.0.0/0 dst-address=0.0.0.0/0
dst-port=8291 protocol=tcp

2 chain=input action=accept src-address=0.0.0.0/0 dst-address=79.xxx.34.121
dst-port=1723 protocol=tcp

3 chain=forward action=accept src-address=10.20.10.0/24
dst-address=10.10.10.2

4 chain=forward action=accept src-address=10.10.10.2
dst-address=10.20.10.0/24

/ping www.google.com

Please try and find basic things in the manual.

The firewall rules you have look good.

@fewi this i did just now…i look on wiki… regarding ping i’m trying what ever i can i found here http://www.mikrotik.com/testdocs/ros/2.9/root/ping.php




ping
address: www.google.com
interrupted
invalid value for argument address


i really dont get it what this is…

i read on same routher os version cant do this…i really dont mind this ping or not…how can i know my routher is online have access to internet ..cos i cant even access from out side network…

now i did a cross cable to my mikrotik …i can see the mac address and 10.10.10.1 and i can connect admin with my pass no problem…but no access out side …pls can you help…

It probably can’t resolve the name. Try and ping your gateway.

it’s funny giving me ping on my gateway >>>>>ping timeout ..my god i all ready smoke i paket nearly…u like to come on msn…if yes pls let me know..if u help me i can give present for your work …pls

I don’t do real time help outside of the forum. Try calling your provider if you can’t even get to their router.

ok i understand…i dont thing there will be a problem on there side…cos how i said..if i plug direct to the my pc lan..i setup manuel …i have internet…but anyhow dont work in this mikrotik or there’s same where problem in setting

Maybe your provider caches MAC addresses, and remembers your PCs MAC address. Have you tried power cycling all equipment on your premises? Turn it all off, then turn on whatever the provider cable plugs into, wait until it has booted, and move further up the chain turning everything back on.

ok..i will power of everything now …and on again …also

i ping my fix ip i have replay

64 byte ping: ttl=64 time<1 ms

i dont know if same thing good of it…at-least

That doesn’t mean anything other than that the interface is up. The router can always ping its own interfaces.

ok thx…now i connect every thing again still the same ..i cant ping the default gateway..now i was looking true again …in mikrotik ..

in Address list i see this …
asdress>>>>>>>>network>>>>>>>>boardcast
79.xxx.34.121/24… 79.xxx.34.0… 79.xxx.34.255

i dont thing this normal…problem can be here ..i hope