Community discussions

MikroTik App
 
Konrad
just joined
Topic Author
Posts: 18
Joined: Wed Feb 01, 2017 10:01 pm

Assign LAN port to WAN

Mon Feb 20, 2017 7:11 pm

Hi,

like in topic, I need assign LAN physical port to the WAN port for other PC with external ISP address, rest of connections will be inside of NAT from another internal ISP address.

How to do this via WebFig v6.38.1 (stable) ?

Regards,
Konrad.
 
User avatar
dgnevans
Member
Member
Posts: 469
Joined: Fri Mar 08, 2013 11:24 am
Location: Zimbabwe
Contact:

Re: Assign LAN port to WAN

Mon Feb 20, 2017 7:26 pm

This can all be done with nat.
 
Konrad
just joined
Topic Author
Posts: 18
Joined: Wed Feb 01, 2017 10:01 pm

Re: Assign LAN port to WAN

Mon Feb 20, 2017 7:44 pm

This can all be done with nat.
How, I need to have external IP on one of my PC on interface how to do this via NAT ?
 
User avatar
dgnevans
Member
Member
Posts: 469
Joined: Fri Mar 08, 2013 11:24 am
Location: Zimbabwe
Contact:

Re: Assign LAN port to WAN

Mon Feb 20, 2017 7:53 pm

have a look at this
http://forum.mikrotik.com/viewtopic.php?f=2&t=52997
srcnat should do it for you. if you can give a basic diagram with how you would like it to work we can help a bit further.
 
Konrad
just joined
Topic Author
Posts: 18
Joined: Wed Feb 01, 2017 10:01 pm

Re: Assign LAN port to WAN

Mon Feb 20, 2017 8:23 pm

have a look at this
http://forum.mikrotik.com/viewtopic.php?f=2&t=52997
srcnat should do it for you. if you can give a basic diagram with how you would like it to work we can help a bit further.
Like I wrote: I want use direct forward IP to other port not use NAT translation, only simple assign one LAN port to WAN (WAN switch), nothing more.
 
User avatar
soonwai
Member Candidate
Member Candidate
Posts: 186
Joined: Mon Feb 06, 2012 10:50 pm
Location: Kuala Lumpur

Re: Assign LAN port to WAN

Mon Feb 20, 2017 8:29 pm

I'm assuming you have 2 external IP address from your ISP. Your router uses one. The second one you assign to your PC with gateway = router's external IP address.
 
User avatar
dgnevans
Member
Member
Posts: 469
Joined: Fri Mar 08, 2013 11:24 am
Location: Zimbabwe
Contact:

Re: Assign LAN port to WAN

Mon Feb 20, 2017 8:32 pm

Create a bridge between 2 ports.
 
Konrad
just joined
Topic Author
Posts: 18
Joined: Wed Feb 01, 2017 10:01 pm

Re: Assign LAN port to WAN

Mon Feb 20, 2017 8:38 pm

I'm assuming you have 2 external IP address from your ISP. Your router uses one. The second one you assign to your PC with gateway = router's external IP address.
Yes,

[STORY]
ISP give me 2 IPs:
  • internal,
  • external.

I can do this via standard switch device (not with my router) - connect ISP cable directly to one port on switch, connect cable from router (WAN port) to switch and connect cable from PC with external IP to switch. In this configuration I'll get 2 ISP IP's on my home "newtork" - separated devices.

[Questins]
How to do this when I have only Microtik router, how to assign only eth2(LAN) to eth1(WAN) ?

Regards,
Konrad.
 
User avatar
dgnevans
Member
Member
Posts: 469
Joined: Fri Mar 08, 2013 11:24 am
Location: Zimbabwe
Contact:

Re: Assign LAN port to WAN

Mon Feb 20, 2017 8:40 pm

What model mikrotik are you using?
 
Konrad
just joined
Topic Author
Posts: 18
Joined: Wed Feb 01, 2017 10:01 pm

Re: Assign LAN port to WAN

Mon Feb 20, 2017 8:56 pm

What model mikrotik are you using?
960PGS
 
User avatar
dgnevans
Member
Member
Posts: 469
Joined: Fri Mar 08, 2013 11:24 am
Location: Zimbabwe
Contact:

Re: Assign LAN port to WAN

Mon Feb 20, 2017 9:18 pm

You can either add two ports to the switch or add two ports to a bridge. if you add ports to bridge assign ip for router to bridge port. plug wan connection into one of the 2 ports and server into other. configure gateway of wan on server and default route on router.

Who is online

Users browsing this forum: Bing [Bot], patrikg and 50 guests